This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34610] New: [4.3 regression] ICE with "-fprofile-arcs -fopenmp"
- 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: 28 Dec 2007 19:46:31 -0000
- Subject: [Bug c++/34610] New: [4.3 regression] ICE with "-fprofile-arcs -fopenmp"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled
with "-fprofile-arcs -fopenmp":
=======================================================
void foo()
{
#pragma omp for
for (int i=0; i<10; ++i)
;
}
=======================================================
bug.cc: In function 'void foo()':
bug.cc:3: internal compiler error: in expand_omp_for_static_nochunk, at
omp-low.c:2916
Please submit a full bug report, [etc.]
If I add "schedule(dynamic)", I get a slightly different error:
=======================================================
void foo()
{
#pragma omp for schedule(dynamic)
for (int i=0; i<10; ++i)
;
}
=======================================================
bug.cc: In function 'void foo()':
bug.cc:3: internal compiler error: in expand_omp_for_generic, at omp-low.c:2714
Please submit a full bug report, [etc.]
--
Summary: [4.3 regression] ICE with "-fprofile-arcs -fopenmp"
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, 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=34610