aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-03-20 23:14:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-03-20 23:14:35 +0000
commitad6003f260068a46bd378c5601604bc1cf077e74 (patch)
tree1118cd00df41aae6eb9b333544d174fc12d3fc3f /gcc/tree-ssa-pre.c
parent2acdc1fb2d1f9b72672256ba3aa5fd74d1436223 (diff)
downloadgcc-ad6003f260068a46bd378c5601604bc1cf077e74.zip
gcc-ad6003f260068a46bd378c5601604bc1cf077e74.tar.gz
gcc-ad6003f260068a46bd378c5601604bc1cf077e74.tar.bz2
tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): Use is_gimple_min_invariant instead of TREE_INVARIANT.
2008-03-21 Richard Guenther <rguenther@suse.de> * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): Use is_gimple_min_invariant instead of TREE_INVARIANT. * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise. * tree-ssa-dom.c (record_equality): Likewise. * tree-inline.c (copy_body_r): Likewise. * tree-ssa-pre.c (make_values_for_stmt): Remove test for TREE_INVARIANT. From-SVN: r133403
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index e6a931d..13c4e97 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -3369,7 +3369,6 @@ make_values_for_stmt (tree stmt, basic_block block)
&& !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (rhs))
|| is_gimple_min_invariant (rhs)
|| TREE_CODE (rhs) == ADDR_EXPR
- || TREE_INVARIANT (rhs)
|| DECL_P (rhs))
{