rs6000: Set up ieee128_float_type_node correctly (PR82625)
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 26 Jun 2018 15:16:58 +0000 (17:16 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 26 Jun 2018 15:16:58 +0000 (17:16 +0200)
commit54647e7b7284885e9eb3eda5854942fa8df4f93c
tree5814d73ce9dd9cdc3a6509b19a581baeb52365e5
parent4f5b9c803ac4edc639d8bf4a827ba40e4dab4db0
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.

From-SVN: r262152
gcc/ChangeLog
gcc/config/rs6000/rs6000.c