diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2005-10-06 22:14:37 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2005-10-06 15:14:37 -0700 |
commit | 4bb1e03799cec1328ad9e84907ff55cbc4168e58 (patch) | |
tree | 8c43b53f64827ab79b6b01b15b45b84b499f05d0 /gcc/cfgexpand.c | |
parent | 30d2662cc2fb2af90da137e6dfbe2c97c7e9bb50 (diff) | |
download | gcc-4bb1e03799cec1328ad9e84907ff55cbc4168e58.zip gcc-4bb1e03799cec1328ad9e84907ff55cbc4168e58.tar.gz gcc-4bb1e03799cec1328ad9e84907ff55cbc4168e58.tar.bz2 |
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
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index d2c8655..7c58e55 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -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 = |