re PR c/68090 (VLA compound literal -- "confused by earlier errors, bailing out")
authorMarek Polacek <polacek@redhat.com>
Thu, 5 Nov 2015 18:21:30 +0000 (18:21 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 5 Nov 2015 18:21:30 +0000 (18:21 +0000)
commitbfcfbfa0d18abea5f6ced6ec4de409aa3810733e
treeef71137066f2639805c87c5bb97d6e1665cf4a6f
parent5d819bb7c82fa999fd4a1da2a3afdf715667859c
re PR c/68090 (VLA compound literal  -- "confused by earlier errors, bailing out")

PR c/68090
* c-parser.c (c_parser_postfix_expression_after_paren_type): Don't
deal with pre-evaluation on invalid types.

* gcc.dg/pr68090.c: New test.

From-SVN: r229823
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr68090.c [new file with mode: 0644]