aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2013-12-06 10:04:05 +0000
committerRainer Orth <ro@gcc.gnu.org>2013-12-06 10:04:05 +0000
commit041508a2ec3b8f19e3d46b8925892e9c0cbb4273 (patch)
tree02be057d0665161b6c2fa0ed16400027c561bac9 /libgfortran/intrinsics
parent95b3eff34ea98fcd67460f208004f5baddc29f0b (diff)
downloadgcc-041508a2ec3b8f19e3d46b8925892e9c0cbb4273.zip
gcc-041508a2ec3b8f19e3d46b8925892e9c0cbb4273.tar.gz
gcc-041508a2ec3b8f19e3d46b8925892e9c0cbb4273.tar.bz2
Provide _M_2_SQRTPI if missing.
* intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing. From-SVN: r205731
Diffstat (limited to 'libgfortran/intrinsics')
-rw-r--r--libgfortran/intrinsics/erfc_scaled.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/erfc_scaled.c b/libgfortran/intrinsics/erfc_scaled.c
index 0498508..02a2c15 100644
--- a/libgfortran/intrinsics/erfc_scaled.c
+++ b/libgfortran/intrinsics/erfc_scaled.c
@@ -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