From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10805 invoked by alias); 6 Aug 2002 06:20:44 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 10789 invoked from network); 6 Aug 2002 06:20:43 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 6 Aug 2002 06:20:43 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id g766Jbu07702; Tue, 6 Aug 2002 08:19:37 +0200 Date: Mon, 05 Aug 2002 23:20:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Roland McGrath , Glibc hackers Subject: Re: [PATCH] Nuke another 21 .plt slots Message-ID: <20020806081937.P20867@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20020805222153.2082A1BA1B@perdition.linnaean.org> <3D4EFF01.1080003@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D4EFF01.1080003@redhat.com>; from drepper@redhat.com on Mon, Aug 05, 2002 at 03:41:05PM -0700 X-SW-Source: 2002-08/txt/msg00083.txt.bz2 On Mon, Aug 05, 2002 at 03:41:05PM -0700, Ulrich Drepper wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Roland McGrath wrote: > > > Then we should make -O3 the default, should we not? > > No. See my mail to rth from Sunday or Saturday. > > (There is a bug in gcc where it inlines far too much when -O3 is used.) If -O3 could inline only static or explicit inline routines, it would be far less useful than it currently is (for the applications which benefit from automatic inlining, of course, the majority does not). Aren't we going to have a list of 10 or how many functions which need to go through .plt and the rest does not? If yes, then __attribute__ ((noinline)) for those 10 would suffice. Jakub