From patchwork Sat May 9 13:49:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aldy Hernandez X-Patchwork-Id: 470326 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 65E9B140281 for ; Sat, 9 May 2015 23:50:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=BOZd7+GE; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=j+4a746rv9rtzmuu5 gDyawlOy/3c4F/HpuuCwF9nYme+MHc4n/5ozqN8ly5hRJnegfsXHDntJTviCxIjR 2bJ70IlJFPGNWNsgDn9sUj/BvEjwiNy5xrJeTjfBQyXdmaCjzGe0yk09RZ4KCPS0 CRcw8pl4WdjmsMAlfPyOT5QPSM= 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 :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=eklLlDcgsgdQFMYoeIHR/da Ocpk=; b=BOZd7+GE5ibhqmFjqZrfvSd/5pnRJCDeMgFx+vwbdxp8FI0+PCStSOS eI9TQoac7cJ+XeuZTxU2sm+wNSScQH67SFeKJaqWNY+FCXoKtc0RMNMzFWs1Lrsz 6C7IfoPzNCgP3wAALuT7AHantQjQ+WZiS+X/hniOkPnVkDUg8CKw= Received: (qmail 64826 invoked by alias); 9 May 2015 13:50:00 -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 64811 invoked by uid 89); 9 May 2015 13:49:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=no 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; Sat, 09 May 2015 13:49:58 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 09A838E787; Sat, 9 May 2015 13:49:57 +0000 (UTC) Received: from reynosa.quesejoda.com (vpn-62-210.rdu2.redhat.com [10.10.62.210]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t49Dnt0M002601; Sat, 9 May 2015 09:49:56 -0400 Message-ID: <554E1083.9080002@redhat.com> Date: Sat, 09 May 2015 06:49:55 -0700 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: Dominique Dhumieres CC: gcc-patches@gcc.gnu.org Subject: Re: [patch] defer C++ mangling aliases References: <20150509095339.58B2A105@mailhost.lps.ens.fr> In-Reply-To: <20150509095339.58B2A105@mailhost.lps.ens.fr> On 05/09/2015 02:53 AM, Dominique Dhumieres wrote: >> ... >> I have tested it independently of everything else, >> and would like permission to commit it to mainline. >> ... > > This caused https://gcc.gnu.org/ml/gcc-bugs/2015-05/msg00748.html > > Dominique > Fixed with the following patch. Committed as obvious. commit 3e820aa6675e608371ccf4f2ae691baa15a4be7f Author: Aldy Hernandez Date: Sat May 9 06:47:33 2015 -0700 PR bootstrap/66085 * decl2.c (note_mangling_alias): Declare arguments as unused. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 6101301..27bacab 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -4327,7 +4327,7 @@ generate_mangling_alias (tree decl, tree id2) implementation. */ void -note_mangling_alias (tree decl, tree id2) +note_mangling_alias (tree decl ATTRIBUTE_UNUSED, tree id2 ATTRIBUTE_UNUSED) { #ifdef ASM_OUTPUT_DEF if (at_eof)