This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/2288] Variable declared in for-loop-header is in wrong scope
- From: "bergner at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 May 2011 15:58:12 +0000
- Subject: [Bug c++/2288] Variable declared in for-loop-header is in wrong scope
- Auto-submitted: auto-generated
- References: <bug-2288-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2288
--- Comment #19 from Peter Bergner <bergner at gcc dot gnu.org> 2011-05-23 15:38:11 UTC ---
I applied Janis' patch (modulo a small fixup due to upstream changes) to
current mainline and did a bootstrap and regtest. We bootstrap fine,
unfortunately the patch no longer fixes the new added test case
(g++.dg/parse/pr18770.C) and the modified test case
(g++.old-deja/g++.jason/cond.C) also fails. I'm not really a C++ expert, so
I'm not sure what to do here.