Fix reload problem found by thumb port.
* reload.c (find_reloads_toplev): Pass &x instead of NULL_PTR in find_reloads_address call. From-SVN: r23697
This commit is contained in:
parent
f3f2255a8c
commit
10352226d4
@ -1,3 +1,8 @@
|
||||
Wed Nov 18 16:31:28 1998 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* reload.c (find_reloads_toplev): Pass &x instead of NULL_PTR in
|
||||
find_reloads_address call.
|
||||
|
||||
Wed Nov 18 22:13:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* expr.c (store_expr): Don't generate load-store pair
|
||||
|
@ -4472,7 +4472,7 @@ find_reloads_toplev (x, opnum, type, ind_levels, is_set_dest, insn)
|
||||
addr = plus_constant (addr, offset);
|
||||
x = gen_rtx_MEM (GET_MODE (x), addr);
|
||||
RTX_UNCHANGING_P (x) = RTX_UNCHANGING_P (regno_reg_rtx[regno]);
|
||||
find_reloads_address (GET_MODE (x), NULL_PTR,
|
||||
find_reloads_address (GET_MODE (x), &x,
|
||||
XEXP (x, 0),
|
||||
&XEXP (x, 0), opnum, type, ind_levels, insn);
|
||||
/* If this is not a toplevel operand, find_reloads doesn't see this
|
||||
|
Loading…
Reference in New Issue
Block a user