This is the mail archive of the
mailing list for the GCC project.
Re: [patch] Update profile in loop versioning and unrolling
> scale_bbs_frequencies_int does not like numerator to be greater than
> 65536, the magic constants on both places ensure that we do not pass it
> invalid inputs.
I see, it is even asserted there. Can't just scale_bbs_frequencies_int
care itself to scale down num/den to stay within range rather than
forcing users to add such interesting checks?