This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object
- From: "Tom Browder" <tom dot browder at gmail dot com>
- To: "Maik Beckmann" <beckmann dot maik at googlemail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 25 Jun 2008 18:19:37 -0500
- Subject: Re: [gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object
- References: <200806251909.14066.beckmann.maik@googlemail.com>
On Wed, Jun 25, 2008 at 12:09 PM, Maik Beckmann
<beckmann.maik@googlemail.com> wrote:
> Hello,
>
> This code
...
> compiled with
> g++ -O3 test.cpp -o test
> segaults on my x86-64 linux box.
It works OK for me.
> I compiled it with -g
> g++ -O3 -g test.cpp -o test
Ditto.
Using g++-4.3.1. What are you using?
-Tom
Tom Browder
Niceville, Florida
USA