https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81870
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> ---
No the code is still undefined as the type which you are using has an alignment
requirement.
Use a different type like say:
typedef int unaligned_int32_t __attribute__((aligned(1)));