aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2002-05-17 00:01:18 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-17 00:01:18 -0700
commita00fe19fa5dcf6fcdf49b179ef027b65f12318cc (patch)
tree085cef4429b780c00bdbf49efd7cd098ac6cfec9 /gcc
parent068d7739b9bb9e001d407a2d108846326aa13547 (diff)
downloadgcc-a00fe19fa5dcf6fcdf49b179ef027b65f12318cc.zip
gcc-a00fe19fa5dcf6fcdf49b179ef027b65f12318cc.tar.gz
gcc-a00fe19fa5dcf6fcdf49b179ef027b65f12318cc.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/ia64/ia64.c13
2 files changed, 14 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d451dc1..b89f5c5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-05-16 Richard Henderson <rth@redhat.com>
+ * 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 <rth@redhat.com>
+
* config/alpha/unicosmk.h (TARGET_OS_CPP_BUILTINS): Fix typo.
* config/ia64/ia64.c (saveable_obstack): Do not declare.
@@ -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 6ff749a..562c977 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)
{