https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106470
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You are violating C aliasing rules.
You need a uint16_t type which is marked as may_alias. Or use memcpy or use
-fno-strict-aliasing etc.
