[Bug c/59073] [4.9/4.10 Regression] ICE with missing increment in OpenMP for-loop
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 22 16:26:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59073
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 22 16:25:59 2014
New Revision: 209647
URL: http://gcc.gnu.org/viewcvs?rev=209647&root=gcc&view=rev
Log:
PR c/59073
c/
* c-parser.c (c_parser_omp_parallel): If c_parser_omp_for
fails, don't set OM_PARALLEL_COMBINED and return NULL.
cp/
* parser.c (cp_parser_omp_parallel): If cp_parser_omp_for
fails, don't set OM_PARALLEL_COMBINED and return NULL.
testsuite/
* c-c++-common/gomp/pr59073.c: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/gomp/pr59073.c
Modified:
branches/gcc-4_9-branch/gcc/c/ChangeLog
branches/gcc-4_9-branch/gcc/c/c-parser.c
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/parser.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list