From patchwork Mon Jun 17 08:43:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1116883 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-503056-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="V9R3Xq22"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45S4WL2Hs9z9s3l for ; Mon, 17 Jun 2019 18:43:57 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:cc:message-id:date:mime-version:content-type; q=dns; s=default; b=bWyyWKdVNLBwXMCDTm7cKwqFCTUQL4wacncz5IiowrlRbXUZG4 0SKNuzXfAkzpy/nfGABV10TPk176+GRqrqliFuBcP4bQLq/cEkQqWhKPYUI8Tdbv yVdGbaQDiX8xkNOQSSsYsu2nR1ILDfl8g6FPO7Olb0JsVGMTPpM5mONcg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:cc:message-id:date:mime-version:content-type; s= default; bh=qRM+tNc6yZTU9OvmTZJ6y/BU4yo=; b=V9R3Xq22bENZq+PS7Wbr 2VKwsl34SUSWbLDewm3qMCDR4the7dvPItLQzHKmYGjjcGWziJKyRalrGVcSS+nK VVl3gSzn+HmqqOmXdCN2bM0/iS93QuizUee+/TJl+7h2SSi/2sFLB7w/7K3/aX6S f5kLgQePgoFyGMrHnN6FxJI= Received: (qmail 5743 invoked by alias); 17 Jun 2019 08:43:51 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 5483 invoked by uid 89); 17 Jun 2019 08:43:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Jun 2019 08:43:50 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 02D0BAFEA; Mon, 17 Jun 2019 08:43:48 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] Remove dead code (PR ipa/90874). To: gcc-patches@gcc.gnu.org Cc: Jan Hubicka Message-ID: Date: Mon, 17 Jun 2019 10:43:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi. After r272037 change we have a leftover dead code in odr_type_p. Ready to be installed? Thanks, Martin gcc/ChangeLog: 2019-06-17 Martin Liska PR ipa/90874 * ipa-utils.h (odr_type_p): Remove dead code. --- gcc/ipa-utils.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 5903da5840d..3e582f45283 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -240,7 +240,6 @@ odr_type_p (const_tree t) gcc_checking_assert (in_lto_p || flag_lto); return TYPE_NAME (t) && TREE_CODE (TYPE_NAME (t)) == TYPE_DECL && DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (t)); - return false; } #endif /* GCC_IPA_UTILS_H */