https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120900
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Are you sure it is just where the aligned attribute is located? Because I get a warning for both the C and C++ if I use the following definition: typedef struct __attribute__((aligned(32))) c1 { long double a; long double b; } c1 ;