https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92462
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Indeed -fno-strict-aliasing might be a workaround (apart from the atomicity
issue). Also using a character type for the access (uint8_t is _not_ a
character type) would make the alias issue go away.