summaryrefslogtreecommitdiff
path: root/gcc/reload1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r--gcc/reload1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 2f95fa55aa2..ac1e874b124 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -6362,6 +6362,7 @@ choose_reload_regs (struct insn_chain *chain)
int nr = hard_regno_nregs[regno][rld[r].mode];
int k;
rld[r].reg_rtx = equiv;
+ reload_spill_index[r] = regno;
reload_inherited[r] = 1;
/* If reg_reloaded_valid is not set for this register,