diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81b59c8..f9726fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2015-02-04 Jan Hubicka <hubicka@ucw.cz> + * ipa-prop.c (update_indirect_edges_after_inlining): By more careful + about not letting any speculative edges unupdated. + +2015-02-04 Jan Hubicka <hubicka@ucw.cz> + PR gcov/64123 * gcov-io.c (gcov_var): Export. diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index 5f8e461..878e94f 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) { |