* emit-rtl.c (adjust_address): Fix mode for LO_SUM.
From-SVN: r45495
This commit is contained in:
parent
5bb08c847f
commit
1650fcade9
@ -1,3 +1,7 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user