This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]