re PR c/35447 (ICE with broken statement expression)
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 Feb 2009 00:38:28 +0000 (00:38 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 18 Feb 2009 00:38:28 +0000 (00:38 +0000)
commit5600f233ef5f740908f0480b76936e503b1d4cda
treeb808756b4789718dbb49b44aabd79d616d50a129
parentafd1efee35d08f8807f02ce15eddae717c935047
re PR c/35447 (ICE with broken statement expression)

PR c/35447
* c-parser.c (c_parser_compound_statement): Always enter and leave
a scope.

testsuite:
* gcc.dg/noncompile/pr35447-1.c: New test.

From-SVN: r144256
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/pr35447-1.c [new file with mode: 0644]