diff options
author | Andreas Tobler <andreast@gcc.gnu.org> | 2016-02-03 23:15:21 +0100 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2016-02-03 23:15:21 +0100 |
commit | 68750bce882c03e560345473d2d11a7e617c9067 (patch) | |
tree | 290b62cb14f5fda68bb6e2a0f6dcafa020d2e137 | |
parent | f98dd1a338867a408f7c72d73fbad7fe7fc93e3a (diff) | |
download | gcc-68750bce882c03e560345473d2d11a7e617c9067.zip gcc-68750bce882c03e560345473d2d11a7e617c9067.tar.gz gcc-68750bce882c03e560345473d2d11a7e617c9067.tar.bz2 |
re PR bootstrap/69611 (Bootstrap broken on PowerPC FreeBSD, IEEE 128-bit floating point support.)
2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
PR bootstrap/69611
* config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
__FLOAT128__ to compile only for __float128 capable targets.
From-SVN: r233111
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/rs6000/sfp-machine.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 49c7929..8c0cb2d 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2016-02-03 Andreas Tobler <andreast@gcc.gnu.org> + + 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 <jakub@redhat.com> PR target/69444 diff --git a/libgcc/config/rs6000/sfp-machine.h b/libgcc/config/rs6000/sfp-machine.h index b4f3542..75d5e1a 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) |