re PR c/67500 (OpenMP ICE with invalid safelen/simdlen/alignment expressions)
authorJakub Jelinek <jakub@redhat.com>
Wed, 9 Sep 2015 07:24:03 +0000 (09:24 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 9 Sep 2015 07:24:03 +0000 (09:24 +0200)
commitfce5e5e35fa397389079203760dd1880fa3edc41
treece2a1fe9ee949f1a0961fb1e5c6df3ceead751c4
parentf4b189d53bbc5def47c17cdc04c1c7fd291f29b1
re PR c/67500 (OpenMP ICE with invalid safelen/simdlen/alignment expressions)

PR c/67500
* c-parser.c (c_parser_omp_clause_aligned,
c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen): Fix up
test for errors.
* c-decl.c (temp_pop_parm_decls): Allow b->decl equal to
error_mark_node.

* gcc.dg/gomp/pr67500.c: New test.

From-SVN: r227577
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr67500.c [new file with mode: 0644]