From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7828 invoked by alias); 13 Jul 2010 21:23:51 -0000 Received: (qmail 7820 invoked by uid 22791); 13 Jul 2010 21:23:50 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Jul 2010 21:23:44 +0000 Received: (qmail 26704 invoked from network); 13 Jul 2010 21:23:42 -0000 Received: from unknown (HELO localhost) (froydnj@127.0.0.2) by mail.codesourcery.com with ESMTPA; 13 Jul 2010 21:23:42 -0000 Date: Tue, 13 Jul 2010 21:23:00 -0000 From: Nathan Froyd To: Richard Henderson Cc: IainS , GCC Patches , Diego Novillo , Jan Hubicka , Jakub Jelinek Subject: Re: [Patch, updated] Make emulated TLS lto-friendly. Message-ID: <20100713212341.GN12333@codesourcery.com> References: <4C3624B2.9070602@redhat.com> <4C3B321F.8080507@redhat.com> <4C3B4B00.1070300@redhat.com> <4C3B7623.2020002@redhat.com> <4C3C8A76.2090307@redhat.com> <4C3CB6E0.2000000@redhat.com> <4C3CC602.8030009@redhat.com> <20100713200438.GM12333@codesourcery.com> <4C3CD87F.9040001@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C3CD87F.9040001@redhat.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes 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 X-SW-Source: 2010-07/txt/msg01109.txt.bz2 On Tue, Jul 13, 2010 at 02:19:59PM -0700, Richard Henderson wrote: > On 07/13/2010 01:04 PM, Nathan Froyd wrote: > >> + x = built_in_decls[BUILT_IN_EMUTLS_REGISTER_COMMON]; > >> + x = build_function_call_expr (UNKNOWN_LOCATION, x, args); > > > > Don't forget to update this for the removal of build_function_call_expr. > > What's the preferred variant now? varasm.c:emutls_common_1 uses build_call_expr now. I'd hesitate to call it "preferred", though. -Nathan