This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/59073] [4.9/4.10 Regression] ICE with missing increment in OpenMP for-loop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]