diff options
author | Vladimir Makarov <vmakarov@toke.toronto.redhat.com> | 2001-04-11 14:13:13 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2001-04-11 14:13:13 +0000 |
commit | 550d7942979e6c4cb110978096f1c86cb99098a3 (patch) | |
tree | 803f89801ea2cdf5a8b6c8f0d504454031590752 | |
parent | 8fe879c7ad6ef2addd166920d177d91c29b74db9 (diff) | |
download | gcc-550d7942979e6c4cb110978096f1c86cb99098a3.zip gcc-550d7942979e6c4cb110978096f1c86cb99098a3.tar.gz gcc-550d7942979e6c4cb110978096f1c86cb99098a3.tar.bz2 |
reload.c (push_reload): Add condition missed in SUBREG byte offset patch.
2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
* reload.c (push_reload): Add condition missed in SUBREG byte
offset patch.
From-SVN: r41253
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/reload.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 383e0f0..c6311ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-11 Vladimir Makarov <vmakarov@toke.toronto.redhat.com> + + * reload.c (push_reload): Add condition missed in SUBREG byte + offset patch. + Wed Apr 4 00:28:23 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * sparc/sol2-sld-64.h (STARTFILE_SPEC): Added missing blank. diff --git a/gcc/reload.c b/gcc/reload.c index ea5bea6..2244e0d 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -944,6 +944,7 @@ push_reload (in, out, inloc, outloc, class, no choice, so we hope we do get the right register class there. */ if (in != 0 && GET_CODE (in) == SUBREG + && (SUBREG_BYTE (in) == 0 || strict_low) #ifdef CLASS_CANNOT_CHANGE_MODE && (class != CLASS_CANNOT_CHANGE_MODE || ! CLASS_CANNOT_CHANGE_MODE_P (GET_MODE (SUBREG_REG (in)), inmode)) |