This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49779] Wrong code generated for while loop with guard containing continue
- From: "bagnara at cs dot unipr.it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Jul 2011 17:42:43 +0000
- Subject: [Bug c/49779] Wrong code generated for while loop with guard containing continue
- Auto-submitted: auto-generated
- References: <bug-49779-4@http.gcc.gnu.org/bugzilla/>
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;
}