From 68750bce882c03e560345473d2d11a7e617c9067 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Wed, 3 Feb 2016 23:15:21 +0100 Subject: [PATCH] re PR bootstrap/69611 (Bootstrap broken on PowerPC FreeBSD, IEEE 128-bit floating point support.) 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. From-SVN: r233111 --- libgcc/ChangeLog | 6 ++++++ libgcc/config/rs6000/sfp-machine.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 49c7929a5da..8c0cb2d6fe3 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 b4f35426195..75d5e1a2d52 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)