re PR c/68320 (internal compiler error: in declspecs_add_type)
authorMarek Polacek <polacek@redhat.com>
Fri, 13 Nov 2015 14:05:59 +0000 (14:05 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 13 Nov 2015 14:05:59 +0000 (14:05 +0000)
commitec8b536ffd7056c0f82c309da713352e6e4deed5
treea1f241dd49d24e20370cd90bdbacb20866c65451
parent20e8b68f101fe3439f5af27a0ac9a7abb805f5c4
re PR c/68320 (internal compiler error: in declspecs_add_type)

PR c/68320
* c-parser.c (c_parser_for_statement): Treat unknown tokens as IDs.

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

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