http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48623
Richard Weinberger <richard at nod dot at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | --- Comment #5 from Richard Weinberger <richard at nod dot at> 2011-04-15 17:37:23 UTC --- (In reply to comment #3) It's not that easy. Your trick solves the problem only for the test case. Within the kernel again no code has been produced. I have the objdump of the __local_bh_enable function attached. See line 86. Sorry for not providing a standalone test. Here you can see the source code of __local_bh_enable, it's a pretty simple function. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=kernel/softirq.c;h=174f976c2874a19f1d06fee972468e2c730bc7f9;hb=HEAD#l134 Thanks, //richard