summaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index f64b1cbc8a8..8f951273b70 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -4056,15 +4056,6 @@ gimplify_target_expr (tree *expr_p, tree *pre_p, tree *post_p)
if (init)
{
- /* Try to avoid the temporary if possible. */
- if (TREE_CODE (init) == INDIRECT_REF
- && !TREE_SIDE_EFFECTS (init)
- && !TARGET_EXPR_CLEANUP (targ))
- {
- *expr_p = init;
- return GS_OK;
- }
-
/* TARGET_EXPR temps aren't part of the enclosing block, so add it
to the temps list. */
gimple_add_tmp_var (temp);