public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC 3.3 release criteria
@ 2003-02-24 20:33 Andi Kleen
  2003-02-25  0:54 ` Inlining (was: GCC 3.3 release criteria) Matt Austern
  0 siblings, 1 reply; 18+ messages in thread
From: Andi Kleen @ 2003-02-24 20:33 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: gcc

"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

> <tr><td><a href="http://www.kernel.org">Linux kernel</a></td>

gcc 3.3 doesn't compile the linux kernels (2.4 and 2.5) very well
currently because the inlining algorithm is too broken. The Linux
kernel often assumes that functions marked "inline" get inlined and
when they aren't it results in linking errors. In a few rare cases
you also get silent miscompilation (this happened in the x86-64 port,
now fixed)

Only good workaround currently is -Dinline="__attribute__((always_inline))",
just using -finline-limit=hugenumber doesn't help.
 
Better would be likely to fix the inlining heuristics to honor the inline
keyword better.

-Andi

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-02-27 14:44 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <F0B5E2D8-48EA-11D7-A0F6-00039390D9E0@apple.com.suse.lists.egcs>
     [not found] ` <m3wujn90fs.fsf@uniton.integrable-solutions.net.suse.lists.egcs>
     [not found]   ` <20030226044029.A1163@kerberos.ncsl.nist.gov.suse.lists.egcs>
     [not found]     ` <m3isv78gp7.fsf@uniton.integrable-solutions.net.suse.lists.egcs>
2003-02-26 11:47       ` Inlining (was: GCC 3.3 release criteria) Andi Kleen
2003-02-26 11:53         ` Gabriel Dos Reis
2003-02-26 13:44           ` Andi Kleen
2003-02-26 13:58             ` Gabriel Dos Reis
2003-02-26 21:50               ` Matt Austern
2003-02-26 22:04                 ` Andi Kleen
2003-02-24 20:33 GCC 3.3 release criteria Andi Kleen
2003-02-25  0:54 ` Inlining (was: GCC 3.3 release criteria) Matt Austern
2003-02-25  6:43   ` Tolga Dalman
2003-02-25 18:01     ` Matt Austern
2003-02-25 19:51       ` Tolga Dalman
2003-02-25 20:47       ` Michel LESPINASSE
2003-02-25 21:22       ` Timothy J. Wood
2003-02-26  4:29       ` Gabriel Dos Reis
2003-02-26 10:10         ` Olivier Galibert
2003-02-26 11:05           ` Gabriel Dos Reis
2003-02-27 15:26             ` Allan Sandfeld
2003-02-25  8:09   ` Steven Bosscher
2003-02-25  8:31   ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).