rs6000.c (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define as rs6000_mangle_decl_assembler_...
authorMichael Meissner <meissner@linux.ibm.com>
Wed, 24 Oct 2018 20:16:31 +0000 (20:16 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 24 Oct 2018 20:16:31 +0000 (20:16 +0000)
commitf78f04627d5805bbcc07e05a41352b0de36f3dba
treefcdccbdd90f627454a160f3c0bb42b84965d0b9e
parentdf51934dcee2328fb6a257bdda7e177f8b2cc6a2
rs6000.c (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define as rs6000_mangle_decl_assembler_name.

[gcc]
2018-10-24  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/rs6000.c (TARGET_MANGLE_DECL_ASSEMBLER_NAME):
Define as rs6000_mangle_decl_assembler_name.
(rs6000_mangle_decl_assembler_name): If the user switched from IBM
long double to IEEE long double, switch the names of the long
double built-in functions to be <func>f128 instead of <func>l.

[gcc/testsuite]
2018-10-24  Michael Meissner  <meissner@linux.ibm.com>

* gcc.target/powerpc/float128-math.c: New test to make sure the
long double built-in function names use the f128 form if the user
switched from IBM long double to IEEE long double.
* gcc.target/powerpc/ppc-fortran/ieee128-math.f90: Likewise.

From-SVN: r265471
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/float128-math.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ppc-fortran/ieee128-math.f90 [new file with mode: 0644]