[gcc-4.3.1][c++] weird segfault with -O3 in constructor of a global object
Maik Beckmann
beckmann.maik@googlemail.com
Wed Jun 25 23:53:00 GMT 2008
Am Donnerstag 26 Juni 2008 01:19:37 schrieb Tom Browder:
> 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
g++-4.3.1, compiled with the attached PKBUILD on my arch linux system. Hm, I
bumped the version number of the 4.3.0 PKBUILD to build 4.3.1 . Tomorrow
I'll do a vanilla build.
Thanks,
-- Maik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PKGBUILD
Type: application/x-shellscript
Size: 2469 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20080625/bf813781/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_pure64.patch
Type: text/x-diff
Size: 1195 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20080625/bf813781/attachment-0003.bin>
More information about the Gcc-help
mailing list