From 64cd238b35cb8c96ef5be2e4775cb0e8aaa3e45f Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Mon, 4 Feb 2019 13:26:14 +0100 Subject: [PATCH] Bail out when ipa_fn_summaries does not contain entry for callee (PR ipa/88985). gcc/ChangeLog: 2019-01-24 Martin Liska PR ipa/88985 * ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail out when ipa_fn_summaries does not contain entry for callee. gcc/testsuite/ChangeLog: 2019-01-24 Martin Liska PR ipa/88985 * gcc.dg/ipa/pr88985.c: New test. From-SVN: r268518 --- gcc/ChangeLog | 2 +- gcc/testsuite/ChangeLog | 4 ++-- gcc/testsuite/gcc.dg/ipa/{pr88958.c => pr88985.c} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename gcc/testsuite/gcc.dg/ipa/{pr88958.c => pr88985.c} (100%) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f55dfcd39fb..8f2a05d6275 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,6 @@ 2019-02-04 Martin Liska - PR ipa/88958 + PR ipa/88985 * ipa-fnsummary.c (estimate_edge_devirt_benefit): Bail out when ipa_fn_summaries does not contain entry for callee. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 231cd55ca30..7886a12ddf8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,7 @@ 2019-02-04 Martin Liska - PR ipa/88958 - * gcc.dg/ipa/pr88958.c: New test. + PR ipa/88985 + * gcc.dg/ipa/pr88985.c: New test. 2019-02-04 Jakub Jelinek diff --git a/gcc/testsuite/gcc.dg/ipa/pr88958.c b/gcc/testsuite/gcc.dg/ipa/pr88985.c similarity index 100% rename from gcc/testsuite/gcc.dg/ipa/pr88958.c rename to gcc/testsuite/gcc.dg/ipa/pr88985.c -- 2.30.2