http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972
--- Comment #4 from Paulius Zaleckas <paulius.zaleckas at gmail dot com> 2010-12-19 16:07:15 UTC --- Created attachment 22823 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22823 diff with and without -fsection-anchors I have found out that it is -fsection-anchors optimization causing this bug. Attached -S assembler output diff with and without this option.