[Bug c/67502] ICE with collapsed for simd loop inside of parallel
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 10 07:29:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67502
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:28:27 2015
New Revision: 227605
URL: https://gcc.gnu.org/viewcvs?rev=227605&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/c-c++-common/gomp/pr67502.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-parser.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list