aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr68264.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8b73430..7e9fc7f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-11 John David Anglin <danglin@gcc.gnu.org>
+
+ PR tree-optimization/68356
+ * gcc.dg/torture/pr68264.c: Disable exp2 ERANGE test on hppa unix.
+
2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
Jim Wilson <jim.wilson@linaro.org>
diff --git a/gcc/testsuite/gcc.dg/torture/pr68264.c b/gcc/testsuite/gcc.dg/torture/pr68264.c
index 4a8863b..8396b34 100644
--- a/gcc/testsuite/gcc.dg/torture/pr68264.c
+++ b/gcc/testsuite/gcc.dg/torture/pr68264.c
@@ -78,8 +78,9 @@ test (void)
if (0)
TEST (log1p (d), LARGE_NEG_EDOM);
TEST (exp (d), POWER_ERANGE);
-#if defined (__sun__) && defined (__unix__)
- /* Disabled due to a bug in Solaris libm. */
+#if (defined (__sun__) || defined(__hppa__)) && defined (__unix__)
+ /* Disabled due to a bug in Solaris libm. HP PA-RISC libm doesn't support
+ ERANGE for exp2. */
if (0)
#endif
{