re PR c/67502 (ICE with collapsed for simd loop inside of parallel)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Sep 2015 07:28:27 +0000 (09:28 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Sep 2015 07:28:27 +0000 (09:28 +0200)
commita8a098acfcfc0b59ddbbec9075ffb195c3e63b3e
tree26dc40f5eb481db44e34a8ea084d15971d27e065
parent609df8a305e7d4a8325348078ba8d71638a3db25
re PR c/67502 (ICE with collapsed for simd loop inside of parallel)

PR c/67502
* c-parser.c (c_parser_omp_for_loop): Emit DECL_EXPR stmts
into OMP_FOR_PRE_BODY rather than before the loop.

* c-c++-common/gomp/pr67502.c: New test.

From-SVN: r227605
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr67502.c [new file with mode: 0644]