Provide _M_2_SQRTPI if missing.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Fri, 6 Dec 2013 10:04:05 +0000 (10:04 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 6 Dec 2013 10:04:05 +0000 (10:04 +0000)
* intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.

From-SVN: r205731

libgfortran/ChangeLog
libgfortran/intrinsics/erfc_scaled.c

index a428205..02524ad 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing.
+
 2013-12-01  Uros Bizjak  <ubizjak@gmail.com>
 
        PR libfortran/59313
index 0498508..02a2c15 100644 (file)
@@ -61,6 +61,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #else
 
 # define _THRESH -106.566990228185312813205074546585730L
+# ifndef M_2_SQRTPIl
+#  define M_2_SQRTPIl 1.128379167095512573896158903121545172L
+# endif
 # define _M_2_SQRTPI M_2_SQRTPIl
 # define _INF __builtin_infl()
 # ifdef HAVE_ERFCL