https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115972
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The variable on the stack just happens to be aligned before GCC 12. The alignment check is there in GCC 10 and 11, just it does not hit.