http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51648
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-21 19:01:22 UTC --- So, shorter/faster reproducer, using a snapshot from ~ today (tried with r182599) on x86_64-linux: ../configure --enable-languages=c --disable-bootstrap \ --disable-libitm make -j8 cd gcc ./cc1 -fpreprocessed -quiet -quiet -dumpbase gcc.c \ -g -O2 -fexceptions -fprofile-generate /tmp/gcc.i -o /tmp/gcc.s gcc -c -o gcc.o /tmp/gcc.s gcc -g -pedantic -fno-common -o xgccmy gccmy.o ggc-none.o \ gccspec.o driver-i386.o libcommon-target.a libcommon.a \ ../libcpp/libcpp.a ../libiberty/libiberty.a \ ../libdecnumber/libdecnumber.a libgcov.a rm -f gcc.gcda ./xgccmy -qversion ./cc1 -fpreprocessed -quiet -quiet -dumpbase gcc.c \ -g -O2 -fexceptions -fprofile-use /tmp/gcc.i -o /tmp/gcc.s The steps before cd gcc could be left out if you have the tree built with other options already, all it matters is if more-less similar *.o/*.a listed on the command line are built, including libgcov.a. /tmp/gcc.i contains the copy of the first attachment here.