aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c4
1 files changed, 1 insertions, 3 deletions
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