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

           Summary: [4.6 Regression] LTO failed to bootstrap-profiled
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: hjl.to...@gmail.com


On Linux/Intel64, revision 168948 failed to bootstrap-profiled
with LTO:

http://gcc.gnu.org/ml/gcc-regression/2011-01/msg00279.html

/export/gnu/import/svn/gcc-test-profile/bld/./prev-gcc/xgcc
-B/export/gnu/import/svn/gcc-test-profile/bld/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include      -g -O2 -flto=jobserver
-frandom-seed=1 -fprofile-use -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 -fno-common  -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  -o gfortran \
  gcc.o opts-common.o gcc-options.o diagnostic.o pretty-print.o input.o vec.o
ggc-none.o gfortranspec.o version.o prefix.o intl.o driver-i386.o 
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
../../src-trunk/gcc/config/i386/i386.md: In function 'bypass_p':
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
profile data is not flow-consistent
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 715-900 thought to be -2012
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 715-716 thought to be 469950
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 717-900 thought to be -1190
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 717-718 thought to be 353590
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 734-900 thought to be -1875
../../src-trunk/gcc/config/i386/i386.md:20383:1: error: corrupted profile info:
number of executions for edge 734-735 thought to be 1875
make[6]: *** [insn-attrtab.o] Error 1

Revision 168944 is OK.  I didn't see checkins between revision 168944
and revision 168948 can cause this.

Reply via email to