[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46093349.7060401@agmk.net>
Date: Tue, 27 Mar 2007 17:07:53 +0200
From: Paweł Sikora <pluto@...k.net>
To: Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: smart gcc inliner...
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists