From d1c1397eebc39be331ab210b57ade79bf51ced73 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 4 Jun 1992 21:50:56 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r1161 --- gcc/reload1.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gcc/reload1.c b/gcc/reload1.c index 79540efb432..526e7db1328 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 -- 2.30.2