]> gcc.gnu.org Git - gcc.git/commitdiff
re PR middle-end/22216 (ICE during GC)
authorAndrew Pinski <pinskia@physics.uc.edu>
Thu, 6 Oct 2005 22:14:37 +0000 (22:14 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Thu, 6 Oct 2005 22:14:37 +0000 (15:14 -0700)
2005-10-06  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/22216
        PR middle-end/23651
        * cfgexpand.c (tree_expand_cfg): After expanding the functions, clear
        out return_label and naked_return_label.

From-SVN: r105066

gcc/ChangeLog
gcc/cfgexpand.c

index 3e873e4e6b735eaa3fd62795d48ddb628a0e122b..c7ad196dc77ae1d0fd4a5163f254ef3ffed102a3 100644 (file)
@@ -1,3 +1,10 @@
+2005-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/22216
+       PR middle-end/23651
+       * cfgexpand.c (tree_expand_cfg): After expanding the functions, clear
+       out return_label and naked_return_label.
+
 2005-10-06  Daniel Berlin  <dberlin@dberlin.org>
        
        * tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
index d2c865556afc54c79cd8871a45dce90cae01d917..7c58e556490df83d67a13c24e9d86694346df7c6 100644 (file)
@@ -1578,6 +1578,10 @@ tree_expand_cfg (void)
     (*debug_hooks->outlining_inline_function) (current_function_decl);
 
   TREE_ASM_WRITTEN (current_function_decl) = 1;
+
+  /* After expanding, the return labels are no longer needed. */
+  return_label = NULL;
+  naked_return_label = NULL;
 }
 
 struct tree_opt_pass pass_expand =
This page took 0.07144 seconds and 5 git commands to generate.