[Bug middle-end/32885] Internal compiler error when using -fopenmp -O3 -fno-unit-at-a-time option
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 28 16:40:00 GMT 2007
------- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-28 16:40 -------
Confirmed. Here's a reduced testcase that segfaults when compiled with
"-O -fopenmp -fno-unit-at-a-time":
========================
inline void foo()
{
#pragma omp parallel
for (;;) ;
}
void bar()
{
foo();
}
========================
Although the bug is still present on the 4.2 branch, it seems to be fixed
on mainline. So closing, since this is not a regression.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-valid-code
Known to fail| |4.2.0 4.2.1 4.2.2
Known to work| |4.3.0
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32885
More information about the Gcc-bugs
mailing list