summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-16 20:28:24 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-16 20:28:24 +0000
commitd603fd8614a143dec3d639929c643c3a58997717 (patch)
treeb613cb96f9e46d11a55db54614f8cf5c97ff9c91 /gcc/tree-inline.c
parent3c69f996e14ba8d73e87db34091cbf899ee403bd (diff)
downloadgcc-d603fd8614a143dec3d639929c643c3a58997717.tar.gz
2010-06-16 Richard Guenther <rguenther@suse.de>
* tree-inline.c (remap_gimple_op_r): Recurse using remap_gimple_op_r. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160860 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 72bef2189da..2ee34c87c60 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -892,7 +892,7 @@ remap_gimple_op_r (tree *tp, int *walk_subtrees, void *data)
int invariant = is_gimple_min_invariant (*tp);
tree block = id->block;
id->block = NULL_TREE;
- walk_tree (&TREE_OPERAND (*tp, 0), copy_tree_body_r, id, NULL);
+ walk_tree (&TREE_OPERAND (*tp, 0), remap_gimple_op_r, data, NULL);
id->block = block;
/* Handle the case where we substituted an INDIRECT_REF