This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]