From 73d098df1f48db47e6fb2a840913fc05202378a0 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 5 Feb 2015 00:32:31 +0100 Subject: [PATCH] ipa-prop.c (update_indirect_edges_after_inlining): By more careful about not letting any speculative edges unupdated. * ipa-prop.c (update_indirect_edges_after_inlining): By more careful about not letting any speculative edges unupdated. From-SVN: r220425 --- gcc/ChangeLog | 5 +++++ gcc/ipa-prop.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81b59c84787..f9726fcf26f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 Jan Hubicka + + * ipa-prop.c (update_indirect_edges_after_inlining): By more careful + about not letting any speculative edges unupdated. + 2015-02-04 Jan Hubicka PR gcov/64123 diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 5f8e461d88f..878e94f826f 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -3118,7 +3118,8 @@ update_indirect_edges_after_inlining (struct cgraph_edge *cs, new_direct_edge->indirect_inlining_edge = 1; top = IPA_EDGE_REF (cs); res = true; - continue; + if (!new_direct_edge->speculative) + continue; } else if (new_direct_edge) { -- 2.30.2