[PATCH] Nuke another 21 .plt slots

Jakub Jelinek jakub@redhat.com
Mon Aug 5 23:20:00 GMT 2002


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



More information about the Libc-hacker mailing list