From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1493 invoked by alias); 3 Aug 2006 20:39:19 -0000 Received: (qmail 1432 invoked by uid 48); 3 Aug 2006 20:39:11 -0000 Date: Thu, 03 Aug 2006 20:39:00 -0000 Message-ID: <20060803203911.1431.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/28230] ICE during bootstrap (-O2 -fwrapv issue) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pluto at agmk dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg00186.txt.bz2 List-Id: ------- 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