[Bug target/86285] We don't mangle __ieee128 correctly using -mlong-double-64 -mabi=ieeelongdouble
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 2 21:25:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86285
--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Mon Jul 2 21:25:10 2018
New Revision: 262320
URL: https://gcc.gnu.org/viewcvs?rev=262320&root=gcc&view=rev
Log:
rs6000: Set up ieee128_float_type_node correctly (PR86285)
We shouldn't init __ieee128 to be the same as long double if the
latter is not even a 128-bit type.
This also reorders the nearby __ibm128 code so both types use similar
logic.
Backport from trunk
2018-06-26 Segher Boessenkool <segher@kernel.crashing.org>
PR target/86285
* config/rs6000/rs6000.c (rs6000_init_builtins): Do not set
ieee128_float_type_node to long_double_type_node unless
TARGET_LONG_DOUBLE_128 is set.
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/rs6000/rs6000.c
More information about the Gcc-bugs
mailing list