Silence overactive sanity check with -fpartial-profile-training
authorJan Hubicka <hubicka@ucw.cz>
Sun, 8 Dec 2019 14:02:43 +0000 (15:02 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Dec 2019 14:02:43 +0000 (14:02 +0000)
commita63574d7ed2b09a161ae9182936bd06cf5aef7b4
treeac2a879cc437164e8df3beffcdabdd26631f11e8
parentad74bc8ca4095e4bf58a4069105469e1c6a620f8
Silence overactive sanity check with -fpartial-profile-training

do_estimate_edge_time tests that cached and real values matches. This test
is not working precisely for global profiles because of roundoff issues when
profile of clones is subtracted from profile of offline body.  This is checked
by presence of ipa counter. This breaks with partial profile training because
we turn IPA profiles to local when they drop to 0.

* ipa-inline-analysis.c (do_estimate_edge_time): Silence overactive
sanity check.

From-SVN: r279090
gcc/ChangeLog
gcc/ipa-inline-analysis.c