This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47686] scope of variables declared within a nested for loop is trivial
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Feb 2011 19:41:16 +0000
- Subject: [Bug c++/47686] scope of variables declared within a nested for loop is trivial
- Auto-submitted: auto-generated
- References: <bug-47686-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47686
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-10 19:41:12 UTC ---
the code has undefined behaviour