[Bug c/49779] Wrong code generated for while loop with guard containing continue
bagnara at cs dot unipr.it
gcc-bugzilla@gcc.gnu.org
Mon Jul 18 17:42:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49779
--- Comment #2 from bagnara at cs dot unipr.it 2011-07-18 17:42:39 UTC ---
An extension that is still supported by GCC, right?
Here is another testcase showing the same phenomenon with `break':
int main() {
do {
while (({ break; 1; })) {
;
}
return 0;
} while (0);
return 1;
}
More information about the Gcc-bugs
mailing list