[Bug c++/79512] [6/7 Regression] ICE: Segfault in gimple_build_call_1, at gimple.c:218

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 16 12:03:00 GMT 2017


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 16 12:02:24 2017
New Revision: 245504

URL: https://gcc.gnu.org/viewcvs?rev=245504&root=gcc&view=rev
Log:
        PR c++/79512
c/
        * c-parser.c (c_parser_omp_target): For -fopenmp-simd
        ignore #pragma omp target even when not followed by identifier.
cp/
        * parser.c (cp_parser_omp_target): For -fopenmp-simd
        ignore #pragma omp target even when not followed by identifier.
testsuite/
        * c-c++-common/gomp/pr79512.c: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/gomp/pr79512.c
Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list