[arch-general] [gcc-4.3] segfault when runnung -O3 compiled c++ code

Maik Beckmann beckmann.maik at googlemail.com
Fri Jun 27 03:18:17 EDT 2008


Am Freitag 27 Juni 2008 08:48:17 schrieb Maik Beckmann:
> Am Donnerstag 26 Juni 2008 10:13:13 schrieb Maik Beckmann:
> > Hi,
> >
> > Can someone confirm that this
> >   http://codepad.org/I313t7BN
> > compiled with
> >   g++ -O3 test.cpp -o test
> > gives a segfault when trying to run it via
> >   ./test
> > ??
> >
> > I mailed to the gcc-help list regarding this issue:
> >   http://thread.gmane.org/gmane.comp.gcc.help/24804
> >
> > Thanks,
> >  -- Maik
> >
> > PS: I'm on arch64, no testing no unstable.
>
> I just managed to debootstrap ubuntu hardy amd64 to a partition.  Same
> segfault! Thank you people for helping me hunting down this bug.  I'll file
> a bug report to gcc.
>
> -- Maik

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36648




More information about the arch-general mailing list