Fix reload bug that forced earlier x86 LEGITIMATE_CONSTANT_P change.

* reload.c (find_reloads): When force const to memory, put result
	in substed_operand not *recog_operand_loc.

From-SVN: r24064
This commit is contained in:
Jim Wilson 1998-12-02 11:22:06 +00:00 committed by Jim Wilson
parent 1747054ffd
commit 226592de98
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 2 11:23:07 1998 Jim Wilson <wilson@cygnus.com>
* reload.c (find_reloads): When force const to memory, put result
in substed_operand not *recog_operand_loc.
1998-12-02 Ulrich Drepper <drepper@cygnus.com>
* c-lex.c: Fix indentation from last patch.

View File

@ -3586,7 +3586,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
|| no_input_reloads)
&& operand_mode[i] != VOIDmode)
{
*recog_operand_loc[i] = recog_operand[i]
substed_operand[i] = recog_operand[i]
= find_reloads_toplev (force_const_mem (operand_mode[i],
recog_operand[i]),
i, address_type[i], ind_levels, 0, insn);