http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56824
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-12 09:12:32 UTC --- Probably the while loop is looping forever in the continue. I don't have time to investigate this, but I am pretty sure that the bug is somewhere there. If you use gdb to investigate both testcases, it should be easy to figure out what the correct behaviour should be.