This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67502] ICE with collapsed for simd loop inside of parallel
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Sep 2015 07:37:31 +0000
- Subject: [Bug c/67502] ICE with collapsed for simd loop inside of parallel
- Auto-submitted: auto-generated
- References: <bug-67502-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67502
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 10 07:37:00 2015
New Revision: 227612
URL: https://gcc.gnu.org/viewcvs?rev=227612&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:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr67502.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog