[Bug c++/27316] New: ICE with two ill-placed #pragma omp parallel
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 16:26:00 GMT 2006
The following invalid code snippet causes an ICE when compiled with -fopenmp:
===================================
struct A {};
struct B : A
#pragma omp parallel
{};
struct B : A
#pragma omp parallel
{};
===================================
bug.cc:4: error: '#pragma' is not allowed here
bug.cc:5: error: expected unqualified-id before '{' token
bug.cc:7: internal compiler error: in xref_basetypes, at cp/decl.c:9696
Please submit a full bug report, [etc.]
--
Summary: ICE with two ill-placed #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=27316
More information about the Gcc-bugs
mailing list