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

RedShift redshift at pandora.be
Thu Jun 26 06:12:24 EDT 2008


Maik Beckmann wrote:
> 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.
> 
> 
> 

Any optimizations beyond -O2 is known to give problems. Post a bugreport at gcc.gnu.org.

Glenn




More information about the arch-general mailing list