[Bug c/49779] Wrong code generated for while loop with guard containing continue

bagnara at cs dot unipr.it gcc-bugzilla@gcc.gnu.org
Wed Jul 20 06:46:00 GMT 2011


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

--- Comment #4 from bagnara at cs dot unipr.it 2011-07-20 06:44:25 UTC ---
Well...  do you agree that the condition of a while loop has to be
evaluated at each iteration?  If so, then we agree that the condition
is inside the while loop, not outside.  Hence, if the condition
contains unnested breaks or continues these have to refer to the while
loop in question, not to the while/for/do/switch construction that may
(or may not) contain it.



More information about the Gcc-bugs mailing list