aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-12-04 14:08:12 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2010-12-04 14:08:12 +0100
commitf3007348c3fdb811969f942a6b3466f372067fda (patch)
tree5b584f9225c60e25a0c2f0cc1e8ff6c4e5133773 /gcc
parent995d4d1cb5556ae6355234619cfbe187b2ec8d30 (diff)
downloadgcc-f3007348c3fdb811969f942a6b3466f372067fda.zip
gcc-f3007348c3fdb811969f942a6b3466f372067fda.tar.gz
gcc-f3007348c3fdb811969f942a6b3466f372067fda.tar.bz2
re PR libfortran/46584 (FAIL: gfortran.dg/quad_1.f90 -O (test for excess errors))
2010-12-04 Tobias Burnus <burnus@net-b.de> PR fortran/46584 * gfortran.dg/quad_1.f90: Remove some complex math checks as they fail on some non-libquadmath systems. From-SVN: r167455
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gfortran.dg/quad_1.f9010
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e48bf78..2cea754 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2010-12-04 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/46584
+ * gfortran.dg/quad_1.f90: Remove some complex
+ math checks as they fail on some non-libquadmath
+ systems.
+
2010-12-04 Daniel Kraft <d@domob.eu>
PR fortran/46794
diff --git a/gcc/testsuite/gfortran.dg/quad_1.f90 b/gcc/testsuite/gfortran.dg/quad_1.f90
index 7d4322e..e75faac 100644
--- a/gcc/testsuite/gfortran.dg/quad_1.f90
+++ b/gcc/testsuite/gfortran.dg/quad_1.f90
@@ -27,9 +27,11 @@ program test_qp
print *, z
print *, PI*cmplx(0.0_qp, 1.0_qp)
- print *, 16*atan(0.2_QP)-4*atan(Z1/239)
- print *, sin(z)
- print *, cos(z)
- print *, sinh(z) ! asinh not implemented, cf. PR 46416
+! Disable the complex functions as not all "long-double" systems have
+! a libm with those C99 functions. (libquadmath had), cf. PR 46584
+! print *, 16*atan(0.2_QP)-4*atan(Z1/239)
+! print *, sin(z)
+! print *, cos(z)
+! print *, sinh(z) ! asinh not implemented in libquadmath, cf. PR 46416
print *, precision(z)
end program test_qp