http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55051
--- Comment #7 from Jan Hubicka <hubicka at ucw dot cz> 2012-11-14 15:35:26 UTC --- > --- Comment #6 from Markus Trippelsdorf <markus at trippelsdorf dot de> > 2012-11-14 15:13:08 UTC --- > (In reply to comment #5) > > There are > > > > badness = (relative_time_benefit (callee_info, edge, edge_time) > > * (INT_MIN / 16 / RELATIVE_TIME_BENEFIT_RANGE)); > > badness /= (growth * MAX (1, callee_info->growth)); > > gcc_checking_assert (badness <=0 && badness >= INT_MIN / 16); > > Yes, badness is 1 in this case... > I'm reducing the issue right now. Thanks, I was just about to start looking into FDO inlining re-tunning. relative_time_benefit should be in range 0...INT_MAX / 64 so it should end up in multipling -4 times that should be safe. I am going to try to reproduce it now. /bin/bash: ./:q: Permission denied