From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15741 invoked by alias); 1 Sep 2009 16:22:29 -0000 Received: (qmail 15732 invoked by uid 22791); 1 Sep 2009 16:22:28 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 16:22:18 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n81GMAch002997; Tue, 1 Sep 2009 12:22:10 -0400 Received: from stone.twiddle.home (vpn-8-198.rdu.redhat.com [10.11.8.198]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n81GM9Dd019940; Tue, 1 Sep 2009 12:22:09 -0400 Message-ID: <4A9D4A30.1040706@redhat.com> Date: Tue, 01 Sep 2009 16:22:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Adam Nemet CC: gcc@gcc.gnu.org Subject: Re: Using MEM_EXPR inside a call expression References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-09/txt/msg00016.txt.bz2 On 08/28/2009 12:38 AM, Adam Nemet wrote: > ... To assist the linker we need to annotate the indirect call > with the function symbol. > > Since the call is expanded early... Having experimented with this on Alpha a few years back, the only thing I can suggest is to not expand them early. I use a combination of peep2's and normal splitters to determine if the post-call GP reload is needed, and to expand the call itself. r~