re PR middle-end/22216 (ICE during GC)

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
This commit is contained in:
Andrew Pinski 2005-10-06 22:14:37 +00:00 committed by Andrew Pinski
parent 30d2662cc2
commit 4bb1e03799
2 changed files with 11 additions and 0 deletions

View 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

View 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 =