Hi,
this patch makes static profile to be in range 0...2^30 rather than
0...10000. This is safe now as profile-counts are taking care of
possible overflow when the profile ends up cummulating too high after
inlining.
MThere are two testcases that needs adusting. dump-2.c simply checks
for specific value of counter that is now different. pr77445-2
now gets one extra mismatch reported. The mismatch was present before
too but due to low precision it was not visible.
Bootstrapped/regtested x86_64-linux, comitted.
Honza
* predict.c (determine_unlikely_bbs): Set cgraph node count to 0
when entry block was promoted unlikely.
(estimate_bb_frequencies): Increase frequency scale.
* profile-count.h (profile_count): Export precision info.
* gcc.dg/tree-ssa/dump-2.c: Fixup template for profile precision
changes.
* gcc.dg/tree-ssa/pr77445-2.c: Fixup template for profile precision
changes.