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

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Tue Jun 26 15:16:58 2018
New Revision: 262152

URL: https://gcc.gnu.org/viewcvs?rev=262152&root=gcc&view=rev
Log:
rs6000: Set up ieee128_float_type_node correctly (PR82625)

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.


        PR target/82625
        * 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:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c

Reply via email to