From: Jan Hubicka Date: Wed, 13 Nov 2019 22:14:24 +0000 (+0100) Subject: ipa-inline-analysis.c (do_estimate_edge_time): Relax check for ipa profiles. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=367c959f0303e11e0a6d875abba7d03c72686668;p=gcc.git ipa-inline-analysis.c (do_estimate_edge_time): Relax check for ipa profiles. * ipa-inline-analysis.c (do_estimate_edge_time): Relax check for ipa profiles. From-SVN: r278179 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 42229be0f14..a5d97b896a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-11-13 Jan Hubicka + + * ipa-inline-analysis.c (do_estimate_edge_time): Relax + check for ipa profiles. + 2019-11-13 Jan Hubicka PR c++/92421 diff --git a/gcc/ipa-inline-analysis.c b/gcc/ipa-inline-analysis.c index b45063b224d..bfcd749aac9 100644 --- a/gcc/ipa-inline-analysis.c +++ b/gcc/ipa-inline-analysis.c @@ -210,7 +210,8 @@ do_estimate_edge_time (struct cgraph_edge *edge) time = e->entry.time; nonspec_time = e->entry.nonspec_time; hints = e->entry.hints; - if (flag_checking) + if (flag_checking + && !edge->callee->count.ipa_p ()) { sreal chk_time, chk_nonspec_time; int chk_size, chk_min_size;