diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-28 12:54:14 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-03-28 12:54:14 +0000 |
commit | aeb388611f69682015800744f3e39a4ceab0bb16 (patch) | |
tree | 28aea26dbd75be61ded0d734f6a3fdfbf6c54c03 /gcc/tree-ssa-copy.c | |
parent | 8edeb88bb61fcfb4c20ce37f15946286cc8558fc (diff) | |
download | gcc-aeb388611f69682015800744f3e39a4ceab0bb16.tar.gz |
2009-03-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38458
* tree-ssa-copy.c (copy_prop_visit_phi_node): For the first
argument use the arguments copy-of value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145185 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 64c697a5196..8f060c2b5a2 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -892,7 +892,7 @@ copy_prop_visit_phi_node (gimple phi) memory reference of all the other arguments. */ if (phi_val.value == NULL_TREE) { - phi_val.value = arg; + phi_val.value = arg_val->value; continue; } |