Commit a2a6f3cf by Bernd Schmidt Committed by H.J. Lu

re PR rtl-optimization/38272 (Revision 142207 caused libgomp.fortran/threadprivate2.f90)

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.

From-SVN: r142514
parent d786db7d
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.
2008-12-05 Jakub Jelinek <jakub@redhat.com>
PR c++/35336
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment