re PR c++/50114 (ICE with declaration inside for statement)
authorJason Merrill <jason@redhat.com>
Tue, 30 Aug 2011 21:27:18 +0000 (17:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 30 Aug 2011 21:27:18 +0000 (17:27 -0400)
commit971df06b2f4cd9335b34d087f82ec7a471b5871d
treed9de46214c4c4d3cb72fb6187739caaf7c63aaea
parentc683a53ae1ce9f41e96074a1695d5f3c8a03d8d8
re PR c++/50114 (ICE with declaration inside for statement)

PR c++/50114
* decl.c (poplevel): Disable for scope compatibility hack
in C++11 mode.

From-SVN: r178338
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-for.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/forscope2.C