re PR target/19421 (ICE with soft-float on m68k)
authorJan Hubicka <jh@suse.cz>
Wed, 26 Jan 2005 08:07:02 +0000 (09:07 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 26 Jan 2005 08:07:02 +0000 (08:07 +0000)
PR tree-optimization/19421
* tree-inline.c (copy_body_r): Do not walk subtrees after substituting.

From-SVN: r94254

gcc/ChangeLog
gcc/tree-inline.c

index 145cc2d0bf404e58bf39a225c92a39f9ab60352b..41af552bb6693e67955c2eaca6df92328e04105f 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-26  Jan Hubicka  <jh@suse.cz>
+
+       PR tree-optimization/19421
+       * tree-inline.c (copy_body_r): Do not walk subtrees after substituting.
+
 2005-01-26  Hans-Peter Nilsson  <hp@axis.com>
 
        * config/cris/cris.h (LIB_SPEC) <sim*>: Use -lsyslinux, not
index eca80c3c8a4c886167955c26afbffa6f1a35b555..4827fa203588c44b52a9ce5742ce77e439686336 100644 (file)
@@ -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);