This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/79428] [6/7 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770
- 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: Thu, 09 Feb 2017 10:18:53 +0000
- Subject: [Bug c/79428] [6/7 Regression] ICE in c_parser_consume_token, at c/c-parser.c:770
- Auto-submitted: auto-generated
- References: <bug-79428-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79428
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The weird thing is that this occurs for many pragmas, but only #pragma omp
ordered seems to ICE:
for i in pr79428-*.c; do echo ===$i===; cat $i; done
===pr79428-1.c===
/* { dg-options "-fopenacc" } */
void
foo ()
{
#pragma acc routine
===pr79428-2.c===
/* { dg-options "-fopenmp" } */
void
foo ()
{
#pragma omp sections
#pragma omp section
===pr79428-3.c===
int i;
#pragma GCC pch_preprocess
===pr79428-4.c===
/* { dg-options "-fcilkplus" } */
#pragma cilk grainsize
===pr79428-5.c===
/* { dg-options "-fopenmp" } */
#pragma omp ordered
===pr79428-6.c===
/* { dg-options "-fopenmp" } */
#pragma omp target
===pr79428-7.c===
/* { dg-options "-fcilkplus" } */
#pragma simd