[Bug c/96019] Optimization forgets non-default scalar_storage_order

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 1 13:36:10 GMT 2020


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.


More information about the Gcc-bugs mailing list