summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-propagate.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-24 14:15:13 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-24 14:15:13 +0000
commita640bb21a9199b6a4cd6d209461ad9186e6e14a8 (patch)
treed39b03eb88580af5d5c56eb4f89cfa856b69909c /gcc/tree-ssa-propagate.c
parentbcde73781af41d2f80c70991cb6c56107bace78e (diff)
downloadgcc-a640bb21a9199b6a4cd6d209461ad9186e6e14a8.tar.gz
* tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use
COMPARISON_CLASS_P. * tree-ssa-pre.c (create_value_expr_from): Use CONSTANT_CLASS_P and REFERENCE_CLASS_P. * tree-ssa-propagate.c (stmt_makes_single_load, stmt_makes_single_store): Use REFERENCE_CLASS_P. * tree-vect-transform.c (vect_is_simple_cond): Use COMPARISON_CLASS_P. * tree-vrp.c (extract_range_from_assert, build_assert_expr_for, fp_predicate, has_assert_expr): Use COMPARISON_CLASS_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98664 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r--gcc/tree-ssa-propagate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index 24e6b4dbeaa..69f41bab91d 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -709,7 +709,7 @@ stmt_makes_single_load (tree stmt)
return (!TREE_THIS_VOLATILE (rhs)
&& (DECL_P (rhs)
- || TREE_CODE_CLASS (TREE_CODE (rhs)) == tcc_reference));
+ || REFERENCE_CLASS_P (rhs)));
}
@@ -735,7 +735,7 @@ stmt_makes_single_store (tree stmt)
return (!TREE_THIS_VOLATILE (lhs)
&& (DECL_P (lhs)
- || TREE_CODE_CLASS (TREE_CODE (lhs)) == tcc_reference));
+ || REFERENCE_CLASS_P (lhs)));
}