(push_secondary_reload): Don't strip paradoxical SUBREG if

reload_class is CLASS_CANNOT_CHANGE_SIZE.

From-SVN: r10782
This commit is contained in:
Richard Kenner 1995-12-17 06:36:47 -05:00
parent db3ec607e7
commit 4bcdd4d0b2
1 changed files with 3 additions and 0 deletions

View File

@ -360,6 +360,9 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
/* If X is a paradoxical SUBREG, use the inner value to determine both the
mode and object being reloaded. */
if (GET_CODE (x) == SUBREG
#ifdef CLASS_CANNOT_CHANGE_SIZE
&& reload_class != CLASS_CANNOT_CHANGE_SIZE
#endif
&& (GET_MODE_SIZE (GET_MODE (x))
> GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))))
{