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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 25, 2008 at 12:09 PM, Maik Beckmann
<beckmann.maik@xxxxxxxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux