diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 6641e3fb4dc..0371d9818fd 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -25269,7 +25269,7 @@ arm_hard_regno_mode_ok (unsigned int regno, machine_mode mode) return false; if (IS_VPR_REGNUM (regno)) - return true; + return mode == HImode; if (TARGET_THUMB1) /* For the Thumb we only allow values bigger than SImode in