[PATCH] Nuke another 21 .plt slots

Ulrich Drepper drepper@redhat.com
Mon Aug 5 23:43:00 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> 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).

The problem is not loss of optimization.  The semantics f code gets 
changed.  And incorrectly so.  gcc cannot inline a non-static function 
unless its visibility != default.  It might be possible to add a gcc 
option to signal that all functions can be assumed to be non-preemptible.

- -- 
- ---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9T28s2ijCOnn/RHQRAvVsAJ0T3Y7mxqpqNxVndZWjPCZ+hkrSXQCeP9AK
18XrDpDvZ8qqVTAew4Y1cSs=
=7nCZ
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list