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

Hannes Rist cowider at gmail.com
Thu Jun 26 04:50:06 EDT 2008


Maik Beckmann <beckmann.maik at googlemail.com> writes:

> 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.

Same here with:
     moose at hrist~ %gcc -v
     Using built-in specs.
     Target: x86_64-unknown-linux-gnu
     Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
     Thread model: posix
     gcc version 4.3.1 (GCC)

Arch64

up to date:
[testing]
[core]
[extra]
[community]




More information about the arch-general mailing list