Message ID | 4DE28F42.2070507@codesourcery.com |
---|---|
State | New |
Headers | show |
Richard Sandiford <rdsandiford@googlemail.com> writes:
> + if (GET_MODE (focus) != SUBREG)
Should of course be GET_CODE.
Richard
Index: config/arm/arm.h =================================================================== --- config/arm/arm.h (revision 174395) +++ config/arm/arm.h (working copy) @@ -1103,6 +1103,9 @@ #define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS) \ (GET_MODE_SIZE (FROM) != GET_MODE_SIZE (TO) \ ? reg_classes_intersect_p (FPA_REGS, (CLASS)) \ + || (reg_classes_intersect_p (VFP_REGS, (CLASS)) \ + && (! HARD_REGNO_MODE_OK (FIRST_VFP_REGNUM, (FROM)) \ + || ! HARD_REGNO_MODE_OK (FIRST_VFP_REGNUM, (TO)))) \ : 0) /* The class value for index registers, and the one for base regs. */