From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26599 invoked by alias); 24 Nov 2010 21:19:13 -0000 Received: (qmail 26589 invoked by uid 22791); 24 Nov 2010 21:19:12 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_XG 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; Wed, 24 Nov 2010 21:19:08 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/46528] [4.6 Regression] profiledbootstrap failure X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: 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: Wed, 24 Nov 2010 21:51: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-11/txt/msg03041.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46528 --- Comment #8 from Richard Guenther 2010-11-24 21:18:43 UTC --- I can't reproduce it on x86_64-unknown-linux-gnu with ./configure --disable-checking --enable-languages=c or with ./configure --enable-languages=c,c++,fortran I can reproduce it with the attached testcase and stage1 xgcc though: > ./xgcc -B. -O2 -g -fprofile-use -c macro.i ../../gcc-svn/trunk/libcpp/macro.c: In function 'cpp_macro_definition': ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: profile data is not flow-consistent ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 45-59 thought to be -104 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 45-1 thought to be 104 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 55-56 thought to be 10 ../../gcc-svn/trunk/libcpp/macro.c:2123:1: error: corrupted profile info: number of executions for edge 55-57 thought to be -5 would be nice to know if BOOT_CFLAGS="-O2 -g -fno-inline" ./configure --enable-languages=c make profiledbootstrap BOOT_CFLAGS="-O2 -g -fno-inline" also fails, alternatively s/-g -fno-inline/-g0/ or s/-fno-inline/-fno-partial-inlining.