aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-04 21:50:56 +0000
committerRichard Stallman <rms@gnu.org>1992-06-04 21:50:56 +0000
commitd1c1397eebc39be331ab210b57ade79bf51ced73 (patch)
tree0639dc67759ffe2d4ad2eeb4756341d06d1977c5 /gcc
parenta9d91d6f8515e5327a22147aeff313e45840e7c9 (diff)
downloadgcc-d1c1397eebc39be331ab210b57ade79bf51ced73.zip
gcc-d1c1397eebc39be331ab210b57ade79bf51ced73.tar.gz
gcc-d1c1397eebc39be331ab210b57ade79bf51ced73.tar.bz2
*** empty log message ***
From-SVN: r1161
Diffstat (limited to 'gcc')
-rw-r--r--gcc/reload1.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 79540ef..526e7db 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -1220,6 +1220,19 @@ reload (first, global, dumpfile)
if (caller_save_group_size > 1)
insn_total_groups = MAX (insn_total_groups, 1);
+
+
+ /* Show that this basic block will need a register of
+ this class. */
+
+ if (global
+ && ! (basic_block_needs[(int) caller_save_spill_class]
+ [this_block]))
+ {
+ basic_block_needs[(int) caller_save_spill_class]
+ [this_block] = 1;
+ new_basic_block_needs = 1;
+ }
}
#ifdef SMALL_REGISTER_CLASSES