diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-09 02:11:05 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-09-09 02:11:05 -0700 |
commit | 1650fcade99016be5813646d3b10461f1d28bf8b (patch) | |
tree | 4e1733c7a1d501b464399a75b3961c9e9e23eafb /gcc | |
parent | 5bb08c847fa53bc7d6e4c835f4ba4fcf4ca1fdf3 (diff) | |
download | gcc-1650fcade99016be5813646d3b10461f1d28bf8b.zip gcc-1650fcade99016be5813646d3b10461f1d28bf8b.tar.gz gcc-1650fcade99016be5813646d3b10461f1d28bf8b.tar.bz2 |
* emit-rtl.c (adjust_address): Fix mode for LO_SUM.
From-SVN: r45495
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dbf705c..bcf8e62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index d04e3d2..863ad294 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -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); |