diff options
author | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-03 22:15:21 +0000 |
---|---|---|
committer | andreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-03 22:15:21 +0000 |
commit | ad2fe51481a26aad2e35429b6bbd1f834ec9afc8 (patch) | |
tree | 290b62cb14f5fda68bb6e2a0f6dcafa020d2e137 /libgcc/config | |
parent | 0694cef2844753fb80be4f71f7d2eb82eb5ba464 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233111 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/rs6000/sfp-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |