From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11394 invoked by alias); 14 Jul 2014 15:14:49 -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 11383 invoked by uid 89); 14 Jul 2014 15:14:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: atrey.karlin.mff.cuni.cz Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Jul 2014 15:14:47 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 8466C81C2C; Mon, 14 Jul 2014 17:14:45 +0200 (CEST) Date: Mon, 14 Jul 2014 15:24:00 -0000 From: Jan Hubicka To: Jason Merrill Cc: Jan Hubicka , gcc-patches@gcc.gnu.org, rguenther@suse.de, mikestump@comcast.net, stanshebs@earthlink.net Subject: Re: Move DECL_ARGUMENTS into tree_function_decl Message-ID: <20140714151445.GC3663@atrey.karlin.mff.cuni.cz> References: <20140625065108.GB27803@kam.mff.cuni.cz> <53C3E1B5.1060708@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53C3E1B5.1060708@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00987.txt.bz2 > On 06/25/2014 02:51 AM, Jan Hubicka wrote: > >@@ -4388,7 +4388,8 @@ build_clone (tree fn, tree name) > > clone = copy_decl (fn); > > /* Reset the function name. */ > > DECL_NAME (clone) = name; > >- SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE); > >+ if (TREE_CODE (clone) != TEMPLATE_DECL) > >+ SET_DECL_ASSEMBLER_NAME (clone, NULL_TREE); > > Instead of this, move the SET_DECL_ASSEMBLER_NAME down below the > template block. > > OK with that change. Thanks a lot! I wonder how necessary are those DECL_RTL/DECL_ASSEMBLER_NAME hacks these days. THeoretically those should be computed only late once clonning is done. Honza > > Jason