aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.c
diff options
context:
space:
mode:
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 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))