This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27358] New: ICE with invalid variable after #pragma omp parallel
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2006 20:28:24 -0000
- Subject: [Bug c/27358] New: ICE with invalid variable after #pragma omp parallel
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid testcase crashes the C frontend with "-fopenmp":
=======================
void foo(ERROR i)
{
#pragma omp parallel
i=0;
}
=======================
bug.c:1: error: expected ')' before 'i'
bug.c:3: internal compiler error: in c_parser_consume_token, at c-parser.c:639
Please submit a full bug report, [etc.]
--
Summary: ICE with invalid variable after #pragma omp parallel
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored, openmp
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27358