From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57854 invoked by alias); 12 Jun 2015 13:44:01 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 57843 invoked by uid 89); 12 Jun 2015 13:44:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 12 Jun 2015 13:43:59 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 145CDC2FE6; Fri, 12 Jun 2015 13:43:58 +0000 (UTC) Received: from reynosa.quesejoda.com (vpn-55-150.rdu2.redhat.com [10.10.55.150]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5CDhunI017026; Fri, 12 Jun 2015 09:43:57 -0400 Message-ID: <557AE21C.9050902@redhat.com> Date: Fri, 12 Jun 2015 13:46:00 -0000 From: Aldy Hernandez User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andreas Schwab CC: jason merrill , gcc-patches Subject: Re: [patch] fix darwin bootstrap by avoiding duplicate DIE attributes References: <557995A5.3000203@redhat.com> <5579F1F5.6000108@redhat.com> <874mmdxuft.fsf@igel.home> In-Reply-To: <874mmdxuft.fsf@igel.home> Content-Type: multipart/mixed; boundary="------------010804020104010402070508" X-SW-Source: 2015-06/txt/msg00935.txt.bz2 This is a multi-part message in MIME format. --------------010804020104010402070508 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-length: 199 On 06/12/2015 12:22 AM, Andreas Schwab wrote: > ../../gcc/dwarf2out.c:5693:1: error: 'void check_die(dw_die_ref)' defined but not used [-Werror=unused-function] > > Andreas. > Committed as obvious. --------------010804020104010402070508 Content-Type: text/plain; charset=UTF-8; name="curr" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="curr" Content-length: 749 commit 76da2378b15ad786e8c2c64ddd8b39c132947738 Author: Aldy Hernandez Date: Fri Jun 12 06:42:08 2015 -0700 * dwarf2out.c (check_die): Protect with ENABLE_CHECKING. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 92fa340..d2c516a 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5687,6 +5687,7 @@ debug_dwarf (void) print_die (comp_unit_die (), stderr); } +#ifdef ENABLE_CHECKING /* Sanity checks on DIEs. */ static void @@ -5749,6 +5750,7 @@ check_die (dw_die_ref die) && a->dw_attr != DW_AT_GNU_all_call_sites); } } +#endif /* Start a new compilation unit DIE for an include file. OLD_UNIT is the CU for the enclosing include file, if any. BINCL_DIE is the DW_TAG_GNU_BINCL --------------010804020104010402070508--