https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112615
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> ---
Well the x86_64 SYSV ABI says:
An array uses the same alignment as its elements, except that a local or
global array variable that requires at least 16 bytes, or a C99 local or
global variable-length array variable, always has alignment of at least 16
bytes.[4]
So I think this is not a bug in GCC or glibc but rather `Oracle 21c`.
Notice how it says global array variable.