[Bug target/92083] -mlong-double-64 strange results

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 14 02:02:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is only one ABI normally.  If you use -mlong-double-64, you change the
ABI, there are no two ABIs for the glibc.  You need to recompile all of glibc
(or your libc) with that option too.

The documentation is clear here too:

Warning: if you override the default value for your target ABI, this changes
the size of structures and arrays containing long double variables, as well as
modifying the function calling convention for functions taking long double.
Hence they are not binary-compatible with code compiled without that switch.


More information about the Gcc-bugs mailing list