re PR c/28280 (bogus "statement with no effect" warning with VLA and typeof)
authorMike Stump <mrs@apple.com>
Tue, 15 Aug 2006 18:01:19 +0000 (18:01 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Tue, 15 Aug 2006 18:01:19 +0000 (18:01 +0000)
commit4adb785d4481822edd5350f38b3fd2d3bcbfddca
treec67b6c012b86ed35cb28402e0f422833b7295e5f
parentd47e3adf1d1100661aa25c0668575c649a690b4a
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: r116163
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/gcc.dg/vla-9.c [new file with mode: 0644]