aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-01-26 09:07:02 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2005-01-26 08:07:02 +0000
commite4cf29aea6b576d99b070b3e96d42d6af7e835bc (patch)
tree3164bc3e505164341730f319c73778766bd493b5 /gcc/tree-inline.c
parentfe04ce064a68fb28986a07d1061bdc5cb98e2a89 (diff)
downloadgcc-e4cf29aea6b576d99b070b3e96d42d6af7e835bc.zip
gcc-e4cf29aea6b576d99b070b3e96d42d6af7e835bc.tar.gz
gcc-e4cf29aea6b576d99b070b3e96d42d6af7e835bc.tar.bz2
re PR target/19421 (ICE with soft-float on m68k)
PR tree-optimization/19421 * tree-inline.c (copy_body_r): Do not walk subtrees after substituting. From-SVN: r94254
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index eca80c3..4827fa2 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -504,6 +504,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data)
/* Replace this variable with the copy. */
STRIP_TYPE_NOPS (new_decl);
*tp = new_decl;
+ *walk_subtrees = 0;
}
else if (TREE_CODE (*tp) == STATEMENT_LIST)
copy_statement_list (tp);