Commit 1650fcad by Richard Henderson Committed by Richard Henderson

* emit-rtl.c (adjust_address): Fix mode for LO_SUM.

From-SVN: r45495
parent 5bb08c84
2001-09-09 Richard Henderson <rth@redhat.com>
* emit-rtl.c (adjust_address): Fix mode for LO_SUM.
Sun Sep 9 10:43:17 CEST 2001 Jan Hubicka <jh@suse.cz>
* loop.c (combine_givs): Fix computing of benefit once giv is combined.
......
......@@ -1633,7 +1633,7 @@ adjust_address (memref, mode, offset)
&& offset >= 0
&& (unsigned HOST_WIDE_INT) offset
< GET_MODE_ALIGNMENT (GET_MODE (memref)) / BITS_PER_UNIT)
addr = gen_rtx_LO_SUM (mode, XEXP (addr, 0),
addr = gen_rtx_LO_SUM (Pmode, XEXP (addr, 0),
plus_constant (XEXP (addr, 1), offset));
else
addr = plus_constant (addr, offset);
......
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