[Bug target/64790] gcc generates unreliable code on arm with -mstructure-size-boundary=32

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 25 20:44:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64790

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
From
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/ARM-Options.html#index-mstructure-size-boundary-1270:

"Different values are potentially incompatible. Code compiled with one value
cannot necessarily expect to work with code or libraries compiled with another
value, if they exchange information using structures or unions. "



So not a bug as mentioned in the documentation already.  You need to rebuild
everything to be compatible at all.



More information about the Gcc-bugs mailing list