On Thu, May 01, 2008 at 03:42:38PM -0700, Andrew Morton wrote:
for (;;); isn't enough, the function would be still considered const and by
4.1.0 and some 4.1.1 incorrectly optimized out, without regard to weak
attribute.
But e.g.
asm ("");
should be enough.
Jakub
--