aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-02-05 00:32:31 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-02-04 23:32:31 +0000
commit73d098df1f48db47e6fb2a840913fc05202378a0 (patch)
tree9d19f4a3cae86a3e45337247ab43d95e70c9242c
parent88d677443ae317f074b990e4213851dfd27367d4 (diff)
downloadgcc-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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-prop.c3
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)
{