re PR c++/4206 (ICE with switch in while)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 13 Nov 2001 21:05:57 +0000 (21:05 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 13 Nov 2001 21:05:57 +0000 (21:05 +0000)
commitb02922a4e3bcbb73a8c223a2a89ebc82f70314ab
tree7070a235359e569768ce78545f09ea5a0d1efab7
parent4a4ae922546d1108be6301a155a86627911d4da4
re PR c++/4206 (ICE with switch in while)

cp:
PR g++/4206
* parse.y (already_scoped_stmt): Remove.
(simple_stmt, WHILE & FOR): Use implicitly_scoped_stmt.
testsuite:
* g++.dg/other/forscope1.C: New test.
* g++.dg/ext/forscope1.C: New test.
* g++.dg/ext/forscope2.C: New test.

From-SVN: r46992
gcc/cp/ChangeLog
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/forscope1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/forscope2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/forscope1.C [new file with mode: 0644]