aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-10-29 16:07:53 -0700
committerJeff Law <law@gcc.gnu.org>1998-10-29 16:07:53 -0700
commit6467c05f009c4711c47cef786530b9fe66253997 (patch)
treecba5d5da2c11e246a9785ef944f2df2a0226cb54
parent00f9f1bc15c35aa4d48cc2e63ce694b21591bdb4 (diff)
downloadgcc-6467c05f009c4711c47cef786530b9fe66253997.zip
gcc-6467c05f009c4711c47cef786530b9fe66253997.tar.gz
gcc-6467c05f009c4711c47cef786530b9fe66253997.tar.bz2
reload1.c (struct elim_table): Delete MAX_OFFSET member.
H * reload1.c (struct elim_table): Delete MAX_OFFSET member. (update_eliminable_offsets): Don't compute it. (set_initial_elim_offsets): Don't initialize it. Break out some code into set_initial_label_offsets so the rest of this function can be called from reload_as_needed. Assume that INITIAL_FRAME_POINTER_OFFSET is defeined when ELIMINABLE_REGS isn't. (set_initial_label_offsets): New function, broken out of set_initial_elim_offsets. (set_offsets_for_label): New function, broken out of set_label_offsets and reload_as_needed. (reload): Call the two new functions. (reload_as_needed): Call set_initial_elim_offsets instead of duplicating the code. Likewise for set_offsets_for_label. From-SVN: r23441
-rw-r--r--gcc/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d1399ad..834468e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,20 @@
Thu Oct 29 23:55:43 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
+ * reload1.c (struct elim_table): Delete MAX_OFFSET member.
+ (update_eliminable_offsets): Don't compute it.
+ (set_initial_elim_offsets): Don't initialize it.
+ Break out some code into set_initial_label_offsets so the rest of
+ this function can be called from reload_as_needed.
+ Assume that INITIAL_FRAME_POINTER_OFFSET is defeined when
+ ELIMINABLE_REGS isn't.
+ (set_initial_label_offsets): New function, broken out of
+ set_initial_elim_offsets.
+ (set_offsets_for_label): New function, broken out of set_label_offsets
+ and reload_as_needed.
+ (reload): Call the two new functions.
+ (reload_as_needed): Call set_initial_elim_offsets instead of
+ duplicating the code. Likewise for set_offsets_for_label.
+
* reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
(emit_reload_insns): Ensure that when we set reg_reloaded_valid for
any hard reg, reg_reloaded_dead contains valid data.