Message ID | 551A8ECE.6040802@arm.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 48342d0..37662f4 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -6020,7 +6020,7 @@ static bool arm_needs_doubleword_align (machine_mode mode, const_tree type) { return (GET_MODE_ALIGNMENT (mode) > PARM_BOUNDARY - || (type && TYPE_ALIGN (type) > PARM_BOUNDARY)); + || (type && TYPE_ALIGN (TYPE_MAIN_VARIANT (type)) > PARM_BOUNDARY)); } and found no regressions (and yes this fixes the original case). Whether this is