This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32885] Internal compiler error when using -fopenmp -O3 -fno-unit-at-a-time option
- 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 16:40:13 -0000
- Subject: [Bug middle-end/32885] Internal compiler error when using -fopenmp -O3 -fno-unit-at-a-time option
- References: <bug-32885-14901@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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