public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* smart gcc inliner...
@ 2007-03-27 15:07 Paweł Sikora
  2007-03-27 16:55 ` Andi Kleen
  2007-03-28  2:05 ` Jan Engelhardt
  0 siblings, 2 replies; 6+ messages in thread
From: Paweł Sikora @ 2007-03-27 15:07 UTC (permalink / raw)
  To: Linux Kernel list

Hi,

The recent gcc (3.4/4.x) optimizer inlines functions across
sections which is definitely not we want, e.g. inlining
functions from .init.text section.

I think, the `__init' macro needs `noinline' attribute and all
the `static inline __{dev}init' functions need `inline' attribute
removal to avoid gcc error (inlining failed, function not inlinable).

Full discussion at: http://gcc.gnu.org/PR31362

BR,
Pawel.


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

end of thread, other threads:[~2007-03-30 19:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 15:07 smart gcc inliner Paweł Sikora
2007-03-27 16:55 ` Andi Kleen
2007-03-28  2:55   ` Jeremy Fitzhardinge
2007-03-30 19:32     ` Adrian Bunk
2007-03-30 19:39       ` Jeremy Fitzhardinge
2007-03-28  2:05 ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox