re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof)
authorMike Stump <mrs@apple.com>
Wed, 12 Jul 2006 13:12:08 +0000 (13:12 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 12 Jul 2006 13:12:08 +0000 (13:12 +0000)
commit8b907df422779e4e8e8c45c108d977c438596a0a
tree50c5349162dd02d3c472fa9ef829d8c3ee475883
parent4b641750827a22aa0335f52c8319808acf3f6217
re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof)

PR c/28280
* c-parser.c (c_parser_typeof_specifier): Don't use
c_finish_expr_stmt, open code desired semantics instead.

From-SVN: r115369
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/gcc.dg/vla-9.c [new file with mode: 0644]