From 367c959f0303e11e0a6d875abba7d03c72686668 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 13 Nov 2019 23:14:24 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/ipa-inline-analysis.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.30.2