summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-propagate.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-23 19:11:05 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-23 19:11:05 +0000
commita33fd0672bdf552f9f733b4839feb2c6f531fbe1 (patch)
tree338355292d83ecb7875770e475efb5f27a8dff59 /gcc/tree-ssa-propagate.c
parent4f7bb9ec4dddf4dffbf4cd19b6dcf2290e76a5fb (diff)
downloadgcc-a33fd0672bdf552f9f733b4839feb2c6f531fbe1.tar.gz
2007-07-23 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-propagate.c (valid_gimple_expression_p): Match up with ccp_min_invariant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126857 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r--gcc/tree-ssa-propagate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index 4803362aef5..fb627c3e2dd 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -617,7 +617,7 @@ valid_gimple_expression_p (tree expr)
return false;
t = TREE_OPERAND (t, 0);
}
- if (!is_gimple_addressable (t))
+ if (!is_gimple_id (t))
return false;
break;
}