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: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Jul 2011 07:11:36 +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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-20 07:09:56 UTC ---
The break/continue/goto out of the condition in the do/while/for condition (or
for increment or for init) might very well be considered undefined behavior,
the statement expression extension isn't specified precisely enough to say what
exactly happens.