diff options
author | Jan Hubicka <jh@suse.cz> | 2013-09-09 08:13:24 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-09-09 06:13:24 +0000 |
commit | a12cd2db29add721d2124b5cafa1dd44128dd554 (patch) | |
tree | f220659f9b288a12627162e0bb8e20302bc1076b /gcc | |
parent | 856a158865986c86f3dc7bdac0a66720e70de980 (diff) | |
download | gcc-a12cd2db29add721d2124b5cafa1dd44128dd554.zip gcc-a12cd2db29add721d2124b5cafa1dd44128dd554.tar.gz gcc-a12cd2db29add721d2124b5cafa1dd44128dd554.tar.bz2 |
ipa-prop.c (try_make_edge_direct_simple_call): Do not special case speculative edges.
* ipa-prop.c (try_make_edge_direct_simple_call): Do not special case
speculative edges.
From-SVN: r202381
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-prop.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b4f6417..38f1e95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2013-09-08 Jan Hubicka <jh@suse.cz> + * ipa-prop.c (try_make_edge_direct_simple_call): Do not special case + speculative edges. + +2013-09-08 Jan Hubicka <jh@suse.cz> + * ipa.c (walk_polymorphic_call_targets): Fix redirection before IPA summary generation. diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index f9f8e2d..67811bb 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -2586,7 +2586,6 @@ try_make_edge_direct_simple_call (struct cgraph_edge *ie, struct cgraph_edge *cs; tree target; bool agg_contents = ie->indirect_info->agg_contents; - bool speculative = ie->speculative; if (ie->indirect_info->agg_contents) target = ipa_find_agg_cst_for_param (&jfunc->agg, @@ -2598,8 +2597,7 @@ try_make_edge_direct_simple_call (struct cgraph_edge *ie, return NULL; cs = ipa_make_edge_direct_to_target (ie, target); - /* FIXME: speculative edges can be handled. */ - if (cs && !agg_contents && !speculative) + if (cs && !agg_contents) { bool ok; gcc_checking_assert (cs->callee |