------- Comment #3 from pluto at agmk dot net  2006-08-03 20:39 -------
now i'm sure that `-O2 -fwrapv` causes wrong-code in stage2 binaries.

to reproduce this failure try to build gcc with:
STAGE1_CFLAGS="-O1" 
BOOT_CFLAGS="-O2 -fwrapv"

$ xgcc -v
Using built-in specs.
Target: x86_64-pld-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--libdir=/usr/lib64 --libexecdir=/usr/lib64 --infodir=/usr/share/info
--mandir=/usr/share/man --x-libraries=/usr/lib64 --enable-shared
--enable-threads=posix --enable-languages=c --enable-c99
--enable-long-long --enable-multilib --enable-nls --disable-werror
--with-gnu-as --with-gnu-ld --with-demangler-in-ld --with-system-zlib
--with-slibdir=/lib64 --without-system-libunwind --without-x
--with-long-double-128 --enable-bootstrap x86_64-pld-linux
Thread model: posix
gcc version 4.2.0 20060803 (experimental) (PLD-Linux)


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
            Summary|ICE during bootstrap        |ICE during bootstrap (-O2 -
                   |(possible wrong code at -   |fwrapv issue)
                   |O2).                        |


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

Reply via email to