diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-06 03:18:15 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-12-06 03:18:15 +0000 |
commit | 143af097b1e869081aa8e917a9c06cabbba40fb2 (patch) | |
tree | 39bf01196c48c56c69df955d284b2d69af561845 /gcc/reload1.c | |
parent | e400740855fdbf9db08c77f8ba7ae54022cacd97 (diff) | |
download | gcc-143af097b1e869081aa8e917a9c06cabbba40fb2.tar.gz |
2008-12-05 Bernd Schmidt <bernd.schmidt@analog.com>
PR rtl-optimization/38272
* reload1.c (choose_reload_regs): Keep reload_spill_index correct
in all cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 1 |
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, |