[Bug c/59017] Infinite loop introduced in program with -O2 or -O3 on Mageia Linux x86-64 Cauldron with gcc-4.8.2

shlomif at shlomifish dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 6 10:04:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59017

--- Comment #1 from Shlomi Fish <shlomif at shlomifish dot org> ---
Created attachment 31171
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31171&action=edit
The .c file

This is the offending .c file . I forgot to note that the problem is that the
executable gets stuck after the first printf(...) due to a jmp instruction. It
works fine if no optimisation flags are applied.



More information about the Gcc-bugs mailing list