This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/25527] [gomp] segfault in main.omp_fn.0 with -O2
- 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: 27 Jan 2006 16:25:57 -0000
- Subject: [Bug other/25527] [gomp] segfault in main.omp_fn.0 with -O2
- References: <bug-25527-11916@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-01-27 16:25 -------
I can reproduce the problem on x86_64-unknown-linux-gnu
with the following testcase:
=======================================
#include<iostream>
#include<complex>
int main()
{
std::complex<int> c;
std::cout << c << std::endl;
}
=======================================
It crashes when compiled with "-fopenmp -O -m32",
but runs fine if I leave out any of these options.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored, wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25527