From a00fe19fa5dcf6fcdf49b179ef027b65f12318cc Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 17 May 2002 00:01:18 -0700 Subject: [PATCH] ia64.c (ia64_reorg): Rebuild bb_for_insn before splitting. * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before splitting. Use split_all_insns; update_life_info_in_dirty_blocks. From-SVN: r53544 --- gcc/ChangeLog | 9 +++++++-- gcc/config/ia64/ia64.c | 13 +++++++------ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d451dc1962b..b89f5c5e22c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-05-16 Richard Henderson + + * config/ia64/ia64.c (ia64_reorg): Rebuild bb_for_insn before + splitting. Use split_all_insns; update_life_info_in_dirty_blocks. + 2002-05-16 Richard Henderson * config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo. @@ -64,7 +69,7 @@ config: Default-define here. (builtin_define_with_value): Can now wrap the expansion in quotation marks if such is wanted. - (cb_register_builtins): Update calls to builtin_define_with_value. + (cb_register_builtins): Update calls to builtin_define_with_value. Define __REGISTER_PREFIX__, __USER_LABEL_PREFIX__, and __VERSION__ here. (c_common_init): Set options->stdc_0_in_system_headers. @@ -89,7 +94,7 @@ config: stdc_0_in_system_headers) too to decide the value of __STDC__. * tradcpp.c (user_label_prefix): Kill. - (main): Remove code handling -f(no-)leading-underscore. + (main): Remove code handling -f(no-)leading-underscore. (initialize_builtins): Don't define __REGISTER_PREFIX__ or __USER_LABEL_PREFIX__. (install_value): Wrap compound statement in dummy loop so the diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 6ff749a2233..562c977f677 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -6713,15 +6713,16 @@ void ia64_reorg (insns) rtx insns; { - /* If optimizing, we'll have split before scheduling. */ - if (optimize == 0) - split_all_insns_noflow (); - /* We are freeing block_for_insn in the toplev to keep compatibility with old MDEP_REORGS that are not CFG based. Recompute it now. */ compute_bb_for_insn (get_max_uid ()); - /* update_life_info_in_dirty_blocks should be enought here. */ - life_analysis (insns, NULL, PROP_DEATH_NOTES); + + /* If optimizing, we'll have split before scheduling. */ + if (optimize == 0) + split_all_insns (0); + + update_life_info_in_dirty_blocks (UPDATE_LIFE_GLOBAL_RM_NOTES, + PROP_DEATH_NOTES); if (ia64_flag_schedule_insns2) { -- 2.30.2