]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/69611 (Bootstrap broken on PowerPC FreeBSD, IEEE 128-bit floating...
authorAndreas Tobler <andreast@gcc.gnu.org>
Wed, 3 Feb 2016 22:15:21 +0000 (23:15 +0100)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 3 Feb 2016 22:15:21 +0000 (23:15 +0100)
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

libgcc/ChangeLog
libgcc/config/rs6000/sfp-machine.h

index 49c7929a5da7bae7a167fe5ae0af29ea89bea4e7..8c0cb2d6fe3c595c60f6cbdee270bd22b8943964 100644 (file)
@@ -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
index b4f354261959913632bddd38079a27f0a476d46e..75d5e1a2d522e0a3d3c5b0463fcfe9b054f7c263 100644 (file)
@@ -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)