https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96019
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
See the manual:
Moreover, the use of type punning or aliasing to toggle the
storage order is not supported; that is to say, a given scalar
object cannot be accessed through distinct types that assign a
different storage order to it.