diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-02-05 00:32:31 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-02-04 23:32:31 +0000 |
commit | 73d098df1f48db47e6fb2a840913fc05202378a0 (patch) | |
tree | 9d19f4a3cae86a3e45337247ab43d95e70c9242c /gcc/ipa-prop.c | |
parent | 88d677443ae317f074b990e4213851dfd27367d4 (diff) | |
download | gcc-73d098df1f48db47e6fb2a840913fc05202378a0.zip gcc-73d098df1f48db47e6fb2a840913fc05202378a0.tar.gz gcc-73d098df1f48db47e6fb2a840913fc05202378a0.tar.bz2 |
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
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |