aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-05-14 10:44:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-05-14 10:44:44 +0000
commit412a1d9e4ae76edc14fa4ad4489cd7ea130e90c2 (patch)
tree2e7d3b86f96d03d6946781a077f575669fee9667 /gcc/gimplify.c
parent9cbbba287d1ca590c503682d72df99fa2800b985 (diff)
downloadgcc-412a1d9e4ae76edc14fa4ad4489cd7ea130e90c2.zip
gcc-412a1d9e4ae76edc14fa4ad4489cd7ea130e90c2.tar.gz
gcc-412a1d9e4ae76edc14fa4ad4489cd7ea130e90c2.tar.bz2
gimplify.c (gimplify_expr): Remove odd code.
2012-05-14 Richard Guenther <rguenther@suse.de> * gimplify.c (gimplify_expr): Remove odd code. From-SVN: r187453
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index ca38a0e..63195ae 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -7947,19 +7947,7 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p, gimple_seq *post_p,
TMP. First, make sure that the expression has a type so that
it can be assigned into a temporary. */
gcc_assert (!VOID_TYPE_P (TREE_TYPE (*expr_p)));
-
- if (!gimple_seq_empty_p (internal_post) || (fallback & fb_lvalue))
- /* The postqueue might change the value of the expression between
- the initialization and use of the temporary, so we can't use a
- formal temp. FIXME do we care? */
- {
- *expr_p = get_initialized_tmp_var (*expr_p, pre_p, post_p);
- if (TREE_CODE (TREE_TYPE (*expr_p)) == COMPLEX_TYPE
- || TREE_CODE (TREE_TYPE (*expr_p)) == VECTOR_TYPE)
- DECL_GIMPLE_REG_P (*expr_p) = 1;
- }
- else
- *expr_p = get_formal_tmp_var (*expr_p, pre_p);
+ *expr_p = get_formal_tmp_var (*expr_p, pre_p);
}
else
{