http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46029
Zdenek Sojka <zsojka at seznam dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #22048|0 |1 is obsolete| | --- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2010-10-15 09:52:00 UTC --- Created attachment 22049 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22049 more reduced testcase Interestingly, when the code is moved out of the explicit anonymous namespace, it works. The difference is asm is same as in previous testcase. This one should be just more readable.