aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-12-22 09:52:13 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-12-22 09:52:13 +0000
commit18fccdb440fff68ec10ec448261efaa3cd1d01d7 (patch)
treedbf683dbea710ef7cd556f2b952e5af4a5c59e69 /gcc/testsuite
parentf4fd20a2f05bc06a6eae5d5cbf8e03c33c8b80a2 (diff)
downloadgcc-18fccdb440fff68ec10ec448261efaa3cd1d01d7.zip
gcc-18fccdb440fff68ec10ec448261efaa3cd1d01d7.tar.gz
gcc-18fccdb440fff68ec10ec448261efaa3cd1d01d7.tar.bz2
* gcc.dg/torture/pr68264.c: Tweak for Solaris.
From-SVN: r231898
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr68264.c16
2 files changed, 17 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 14f048d..04d48b8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-22 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.dg/torture/pr68264.c: Tweak for Solaris.
+
2015-12-21 David Malcolm <dmalcolm@redhat.com>
* g++.dg/diagnostic/bad-binary-ops.C: New test case.
diff --git a/gcc/testsuite/gcc.dg/torture/pr68264.c b/gcc/testsuite/gcc.dg/torture/pr68264.c
index a13dbf4..4a8863b 100644
--- a/gcc/testsuite/gcc.dg/torture/pr68264.c
+++ b/gcc/testsuite/gcc.dg/torture/pr68264.c
@@ -68,14 +68,24 @@ test (void)
TEST (cosh (d), LARGE_ERANGE);
TEST (sinh (d), LARGE_ERANGE);
TEST (log (d), LARGE_NEG_EDOM);
- TEST (log2 (d), LARGE_NEG_EDOM);
+#if defined (__sun__) && defined (__unix__)
+ /* Disabled due to a bug in Solaris libm. */
+ if (0)
+#endif
+ TEST (log2 (d), LARGE_NEG_EDOM);
TEST (log10 (d), LARGE_NEG_EDOM);
/* Disabled due to glibc PR 6792, fixed in Apr 2015. */
if (0)
TEST (log1p (d), LARGE_NEG_EDOM);
TEST (exp (d), POWER_ERANGE);
- TEST (exp2 (d), POWER_ERANGE);
- TEST (expm1 (d), POWER_ERANGE);
+#if defined (__sun__) && defined (__unix__)
+ /* Disabled due to a bug in Solaris libm. */
+ if (0)
+#endif
+ {
+ TEST (exp2 (d), POWER_ERANGE);
+ TEST (expm1 (d), POWER_ERANGE);
+ }
TEST (sqrt (d), LARGE_NEG_EDOM);
TEST (pow (100.0, d), POWER_ERANGE);
TEST (pow (i, d), POWER_ERANGE);