Tried to build the gentoo ebuild for gcc head pulled from CVS on 20050702. Got this error:
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -save-temps -march=athlon-xp -O2 -pipe -fprofile-use -freorder-blocks-and-partitio n -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc -I/var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/. -I/var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/../include -I/var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/../libcpp/include /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c -o dominance.o xgcc: warning: -pipe ignored because -save-temps specified /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c: In function 'calculate_dominance_info': /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 40-98 thought to be -9801 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 40-41 thought to be 14798 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of iterations for basic block 98 thought to be -4804 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 98-103 thought to be -9801 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 98-99 thought to be 4997 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of iterations for basic block 103 thought to be -4804 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 103-110 thought to be -9801 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of executions for edge 103-104 thought to be 4997 /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/gcc/dominance.c:649: error: corrupted profile info: number of iterations for basic block 110 thought to be -4804 make[2]: *** [dominance.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050702/work/build/gcc' make[1]: *** [stagefeedback_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0_beta20050702/work/build/gcc' make: *** [profiledbootstrap] Error 2 # gcc/stage1/xgcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.0_beta20050702/work/gcc-4.1-20050702/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0-beta20050702 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0-beta20050702/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050702 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050702/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20050702/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0-beta20050702/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,java,f95 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.0 20050702 (experimental) gzipped dominance.i attached. -- Summary: ICE in make profiledbootstrap: corrupted profile info for gcc/dominance.c Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: critical Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: greenrd at greenrd dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22314