From: andreast Date: Wed, 3 Feb 2016 22:15:21 +0000 (+0000) Subject: 2016-02-03 Andreas Tobler X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad2fe51481a26aad2e35429b6bbd1f834ec9afc8;p=thirdparty%2Fgcc.git 2016-02-03 Andreas Tobler PR bootstrap/69611 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with __FLOAT128__ to compile only for __float128 capable targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233111 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 49c7929a5da7..8c0cb2d6fe3c 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2016-02-03 Andreas Tobler + + PR bootstrap/69611 + * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with + __FLOAT128__ to compile only for __float128 capable targets. + 2016-01-25 Jakub Jelinek PR target/69444 diff --git a/libgcc/config/rs6000/sfp-machine.h b/libgcc/config/rs6000/sfp-machine.h index b4f354261959..75d5e1a2d522 100644 --- a/libgcc/config/rs6000/sfp-machine.h +++ b/libgcc/config/rs6000/sfp-machine.h @@ -110,7 +110,7 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__))); floating point on pre-ISA 3.0 machines without the IEEE 128-bit floating point support. */ -#ifndef __NO_FPRS__ +#ifdef __FLOAT128__ #define ISA_BIT(x) (1LL << (63 - x)) /* Use the same bits of the FPSCR. */ @@ -151,7 +151,7 @@ void __sfp_handle_exceptions (int); } while (0) # define FP_ROUNDMODE (_fpscr & FP_RND_MASK) -#endif /* !__NO_FPRS__ */ +#endif /* !__FLOAT128__ */ /* Define ALIASNAME as a strong alias for NAME. */ # define strong_alias(name, aliasname) _strong_alias(name, aliasname)