------- Comment #1 from pluto at agmk dot net 2006-02-02 14:15 ------- on x86-64 I get:
f: movl i.0(%rip), %eax testl %eax, %eax jne .L2 movb $2, %al movl $2, i.0(%rip) .L2: rep ; ret $ pr24647.c.t97.final_cleanup f() { static int i; int i1; static int i; <bb 0>: i1 = i; if (i1 == 0) goto <L0>; else goto <L1>; <L0>:; i = 2; i1 = 2; <L1>:; return i1; } -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24647