This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79512] [6 Regression] ICE: Segfault in gimple_build_call_1, at gimple.c:218
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 May 2017 21:23:41 +0000
- Subject: [Bug c++/79512] [6 Regression] ICE: Segfault in gimple_build_call_1, at gimple.c:218
- Auto-submitted: auto-generated
- References: <bug-79512-4@http.gcc.gnu.org/bugzilla/>
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