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++/79512] [6 Regression] ICE: Segfault in gimple_build_call_1, at gimple.c:218


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May  5 21:23:09 2017
New Revision: 247667

URL: https://gcc.gnu.org/viewcvs?rev=247667&root=gcc&view=rev
Log:
        Backported from mainline
        2017-02-16  Jakub Jelinek  <jakub@redhat.com>

        PR c++/79512
        * c-parser.c (c_parser_omp_target): For -fopenmp-simd
        ignore #pragma omp target even when not followed by identifier.

        * parser.c (cp_parser_omp_target): For -fopenmp-simd
        ignore #pragma omp target even when not followed by identifier.

        * c-c++-common/gomp/pr79512.c: New test.

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

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