diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-28 12:28:38 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-28 12:28:38 +0000 |
commit | f2e585c380000bafdb7d53579c7d29bf3c5a0676 (patch) | |
tree | a02bfe355d1247a9090ca1d70daef1707220b4fc /gcc/tree-ssa-copy.c | |
parent | 2fb613297fa11fd584034d834c785ebe84aac045 (diff) | |
download | gcc-f2e585c380000bafdb7d53579c7d29bf3c5a0676.tar.gz |
2009-05-28 Benjamin Kosnik <bkoz@redhat.com>
* tree-ssa-copy.c (replace_exp_1): Move op for warning-free use
with checking disabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147952 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index bbfc977fa94..d919681fb1a 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -160,9 +160,8 @@ static void replace_exp_1 (use_operand_p op_p, tree val, bool for_propagation ATTRIBUTE_UNUSED) { - tree op = USE_FROM_PTR (op_p); - #if defined ENABLE_CHECKING + tree op = USE_FROM_PTR (op_p); gcc_assert (!(for_propagation && TREE_CODE (op) == SSA_NAME && TREE_CODE (val) == SSA_NAME |