summaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@toke.toronto.redhat.com>2001-04-11 14:13:13 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2001-04-11 14:13:13 +0000
commit550d7942979e6c4cb110978096f1c86cb99098a3 (patch)
tree803f89801ea2cdf5a8b6c8f0d504454031590752 /gcc/reload.c
parent8fe879c7ad6ef2addd166920d177d91c29b74db9 (diff)
downloadgcc-550d7942979e6c4cb110978096f1c86cb99098a3.tar.gz
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
Diffstat (limited to 'gcc/reload.c')
-rw-r--r--gcc/reload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index ea5bea62331..2244e0d8ec4 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))