]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR libfortran/59227
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 08:45:00 +0000 (08:45 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Nov 2013 08:45:00 +0000 (08:45 +0000)
* intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
__float128 is not available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205193 138bc75d-0d04-0410-961f-82ee72b054a4

libgfortran/ChangeLog
libgfortran/intrinsics/erfc_scaled.c

index eeeaa04b3c3ca389e8ce39c7b5476f76ba444a6d..cf39b3ca9f832546eb7a1b032d06df75dea35284 100644 (file)
@@ -1,3 +1,9 @@
+2013-11-20  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR libfortran/59227
+       * intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if
+       __float128 is not available.
+
 2013-11-20  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR libfortran/49024
index 1f8c778eb651b638f7b1a3b5614966537baca19c..f69e1fc7357d7dd58a847d14d98dbd851b9f9b7b 100644 (file)
@@ -52,14 +52,14 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #endif
 
 
+#ifdef GFC_REAL_16_IS_FLOAT128
+
 /* For quadruple-precision (__float128), netlib's implementation is
    not accurate enough.  We provide another one.  */
 
-
 extern GFC_REAL_16 erfc_scaled_r16 (GFC_REAL_16);
 export_proto(erfc_scaled_r16);
 
-
 GFC_REAL_16
 erfc_scaled_r16 (GFC_REAL_16 x)
 {
@@ -101,3 +101,5 @@ erfc_scaled_r16 (GFC_REAL_16 x)
     }
 }
 
+#endif
+