https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So it looks like __atomic_load assumes the type is _Atomic which has the right alignment to it.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 07 Nov 2021 12:29:32 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So it looks like __atomic_load assumes the type is _Atomic which has the right alignment to it.