http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55121
--- Comment #9 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-29 23:54:10 UTC --- Can you please also attach the output of -fdump-ipa-profile-all which should be eval.c.041i.profile. I have my dump here, it should be the same as yours. Are you working on a 32-bit host? The counts are quite high, there are some places where the count is multiplied by REG_BR_PROB_BASE which is 10000. The highest count in my .profile dump is 42974935, if such high counts are multiplied somewhere for scaling then this may be an overflow issue that I can't see on powerpc64.