This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46791] [4.6 Regression] GCC fails on "for(struct { } f;;) ;", incorrectly treating it as a range-based for loop
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jan 2011 23:54:17 +0000
- Subject: [Bug c++/46791] [4.6 Regression] GCC fails on "for(struct { } f;;) ;", incorrectly treating it as a range-based for loop
- Auto-submitted: auto-generated
- References: <bug-46791-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46791
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution| |FIXED
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-12 23:54:07 UTC ---
Fixed by the patch from Rodrigo I just checked in.