From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31591 invoked by alias); 12 Oct 2010 12:28:27 -0000 Received: (qmail 31581 invoked by uid 22791); 12 Oct 2010 12:28:26 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID,TW_CX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Oct 2010 12:28:23 +0000 From: "aanisimov at inbox dot ru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/43085] Make profiledbootstrap fails with cc1plus catching SIGSEGV X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aanisimov at inbox dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 12 Oct 2010 12:28:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg00986.txt.bz2 Message-ID: <20101012122800.nOgSiK8JAPCJuoXG_qjpJ4Va3LYdxWHtYegGVQnY7BI@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43085 --- Comment #9 from Artem Anisimov 2010-10-12 12:28:10 UTC --- (In reply to comment #7) It's interesting to note that profiledbootstrap break amd64 build too, though for different reason: /home/artem/testing/gcc-build/./prev-gcc/xgcc -B/home/artem/testing/gcc-build/./prev-gcc/ -B/home/artem/testing/gcc46/x86_64-slackware-linux/bin/ -B/home/artem/testing/gcc46/x86_64-slackware-linux/bin/ -B/home/artem/testing/gcc46/x86_64-slackware-linux/lib/ -isystem /home/artem/testing/gcc46/x86_64-slackware-linux/include -isystem /home/artem/testing/gcc46/x86_64-slackware-linux/sys-include -c -DIN_GCC_FRONTEND -g -O2 -gtoggle -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I../../gcc-current/gcc -I../../gcc-current/gcc/. -I../../gcc-current/gcc/../include -I../../gcc-current/gcc/../libcpp/include -I../../gcc-current/gcc/../libdecnumber -I../../gcc-current/gcc/../libdecnumber/bid -I../libdecnumber -I/usr/include/libelf ../../gcc-current/gcc/c-parser.c -o c-parser.o ../../gcc-current/gcc/c-parser.c: In function 'c_parser_for_statement': ../../gcc-current/gcc/c-parser.c:4672:19: error: 'incr' may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors For amd64 I configured with these settings: ../gcc-current/configure --prefix=/home/artem/testing/gcc46 --enable-shared --enable-bootstrap --enable-languages=c,c++ --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --with-lto --disable-nls --verbose --with-arch=athlon64 --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux --disable-multilib --enable-checking=release Doing normal (not profiled) build with these settings succeeds for me.