From: Olivier Hainque Date: Fri, 12 Oct 2018 21:25:46 +0000 (+0000) Subject: tighten the toplevel guard on ibm-ldouble.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87f918e3803ff83d672b4b5272dcb1264409ad7c;p=gcc.git tighten the toplevel guard on ibm-ldouble.c 2018-10-12 Olivier Hainque * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__). From-SVN: r265135 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index bfdefb61f37..1883640915a 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-12 Olivier Hainque + + * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with + defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__). + 2018-10-08 Paul Koning * config/pdp11/t-pdp11: Remove -mfloat32 switch. diff --git a/libgcc/config/rs6000/ibm-ldouble.c b/libgcc/config/rs6000/ibm-ldouble.c index 9b9e94c0e8f..29f26c04052 100644 --- a/libgcc/config/rs6000/ibm-ldouble.c +++ b/libgcc/config/rs6000/ibm-ldouble.c @@ -46,7 +46,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see the lower numbered register or lower addressed memory. */ #if (defined (__MACH__) || defined (__powerpc__) || defined (_AIX)) \ - && !defined (__rtems__) + && !defined (__rtems__) \ + && (defined (__LONG_DOUBLE_128__) || defined (__FLOAT128_TYPE__)) #define fabs(x) __builtin_fabs(x) #define isless(x, y) __builtin_isless (x, y)