http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51648
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-21 15:18:57 UTC --- Created attachment 26163 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26163 gcc.i /some/path/gcc/cc1 -fpreprocessed -quiet -quiet -dumpbase gcc.c -mtune=generic -march=x86-64 -g -O2 -fexceptions -fstack-protector -fprofile-use --param ssp-buffer-size=4 /tmp/gcc.i -o /tmp/gcc.s reproduces this with the attached gcc.i and gcc.gcda. Of course the problem might be already at the -fprofile-generate phase or at runtime when generating the gcc.gcda file.