[Bug gcov-profile/30650] [4.3 Regression] ICE with -fprofile-use

hubicka at ucw dot cz gcc-bugzilla@gcc.gnu.org
Sat Feb 3 21:55:00 GMT 2007



------- Comment #6 from hubicka at ucw dot cz  2007-02-03 21:55 -------
Subject: Re:  [4.3 Regression] ICE with -fprofile-use

>       size = ((histogram->hvalue.counters[0]
>               + histogram->hvalue.counters[0] / 2)
> -              / histogram->hvalue.counters[0]);
> +              / histogram->hvalue.counters[1]);
> 
> micha suggested you meant 
> 
>       size = ((histogram->hvalue.counters[0]
>               + histogram->hvalue.counters[1] / 2)
>                / histogram->hvalue.counters[1]);
> 
> (upward rounding)

Ah, yes, thanks!  I probably should've scheduled updating this patch for
mainline after the trip as I didn't do particularly good work on it just
before leaving :(


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30650



More information about the Gcc-bugs mailing list