This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]