From: Jan Hubicka Date: Wed, 4 Feb 2015 23:32:31 +0000 (+0100) Subject: ipa-prop.c (update_indirect_edges_after_inlining): By more careful about not letting... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d098df1f48db47e6fb2a840913fc05202378a0;p=gcc.git 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 --- 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) {