http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54487
Bug #: 54487 Summary: [4.8 Regression] profiledbootstrap broken by r190952 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile AssignedTo: unassig...@gcc.gnu.org ReportedBy: mar...@trippelsdorf.de Breakage varies from bootstrap to bootstrap. Here is an example: ... In file included from ../../gcc/gcc/config/i386/i386.c:40910:0: ./gt-i386.h: In function ‘ix86_set_reg_reg_cost(machine_mode)’: ./gt-i386.h:168:2: error: corrupted profile info: edge from 39 to 40 exceeds maximal count }; ^ ./gt-i386.h:168:2: error: corrupted profile info: edge from 40 to 41 exceeds maximal count ./gt-i386.h:168:2: error: corrupted profile info: edge from 41 to 43 exceeds maximal count ./gt-i386.h:168:2: error: corrupted profile info: edge from 42 to 43 exceeds maximal count ./gt-i386.h:168:2: error: corrupted profile info: profile data is not flow-consistent ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 30-42 thought to be -133660 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 30-31 thought to be 133660 ./gt-i386.h:168:2: error: corrupted profile info: number of iterations for basic block 31 thought to be 267320 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 31-32 thought to be 133660 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 31-34 thought to be 133660 ./gt-i386.h:168:2: error: corrupted profile info: number of iterations for basic block 34 thought to be 244050 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 34-35 thought to be 110390 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 34-38 thought to be 133660 ./gt-i386.h:168:2: error: corrupted profile info: number of iterations for basic block 38 thought to be 226620 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 38-39 thought to be 92960 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 38-43 thought to be 133660 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 39-42 thought to be 92960 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 39-40 thought to be 0 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 40-42 thought to be 0 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 40-41 thought to be 0 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 41-42 thought to be 0 ./gt-i386.h:168:2: error: corrupted profile info: number of executions for edge 41-43 thought to be 0 make[3]: *** [i386.o] Error Happens with (I'm a Gentoo ricer): make -j4 BOOT_CFLAGS="-march=native -O3 -pipe" STAGE1_CFLAGS="-march=native -O3 -pipe" CFLAGS_FOR_TARGET="-march=native -O3 -pipe" CXXFLAGS_FOR_TARGET="-march=native -O3 -pipe" profiledbootstrap (and ../gcc/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-initfini-array --with-gold --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --disable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.0/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-build-config=bootstrap-lto --with-boot-ldflags="-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=safe,--icf-iterations=3" --enable-version-specific-runtime-libs --disable-libstdcxx-pch --enable-libstdcxx-time=yes )