[Bug c/67500] OpenMP ICE with invalid safelen/simdlen/alignment expressions

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 9 07:31:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67500

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Sep  9 07:30:42 2015
New Revision: 227581

URL: https://gcc.gnu.org/viewcvs?rev=227581&root=gcc&view=rev
Log:
        PR c/67500
        * c-parser.c (c_parser_omp_clause_aligned,
        c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen): Fix up
        test for errors.
        * c-decl.c (temp_pop_parm_decls): Allow b->decl equal to
        error_mark_node.

        * gcc.dg/gomp/pr67500.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/gomp/pr67500.c
Modified:
    branches/gcc-5-branch/gcc/c/ChangeLog
    branches/gcc-5-branch/gcc/c/c-decl.c
    branches/gcc-5-branch/gcc/c/c-parser.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list