(push_secondary_reload): Use TYPE for secondary type if it is
RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS. From-SVN: r7211
This commit is contained in:
parent
17a0a76dd4
commit
d94d2abc86
|
@ -343,11 +343,15 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
|
|||
enum reg_class t_class = NO_REGS;
|
||||
enum machine_mode t_mode = VOIDmode;
|
||||
enum insn_code t_icode = CODE_FOR_nothing;
|
||||
enum reload_type secondary_type
|
||||
= in_p ? RELOAD_FOR_INPUT_ADDRESS : RELOAD_FOR_OUTPUT_ADDRESS;
|
||||
enum reload_type secondary_type;
|
||||
int i;
|
||||
int s_reload, t_reload = -1;
|
||||
|
||||
if (type == RELOAD_FOR_INPUT_ADDRESS || type == RELOAD_FOR_OUTPUT_ADDRESS)
|
||||
secondary_type = type;
|
||||
else
|
||||
secondary_type = in_p ? RELOAD_FOR_INPUT_ADDRESS : RELOAD_FOR_OUTPUT_ADDRESS;
|
||||
|
||||
*picode = CODE_FOR_nothing;
|
||||
|
||||
/* If X is a pseudo-register that has an equivalent MEM (actually, if it
|
||||
|
|
Loading…
Reference in New Issue