http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47896
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-02-26 23:16:32 UTC --- Created attachment 23481 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23481 reduced testcase $ g++ -O -fno-early-inlining -fipa-pta -fno-tree-dominator-opts -fno-tree-forwprop pr47896.C $ ./a.out Aborted At the assembly level, the problematic line seems to be: mov DWORD PTR [rsp+32], 9 # i9, which directly stores the constant 9, instead of the updated value 8. It doesn't seem to crash when compiled as C code.