From 86145a19abf39f611f88026eb48dd1d67d5f4ee7 Mon Sep 17 00:00:00 2001 From: Bill Seurer Date: Tue, 30 Jan 2018 16:51:14 +0000 Subject: [PATCH] [PATCH, rs6000] pr58684, pr83759 xfail test cases that fail on powerpc64. This patch xfails a few test cases on powerpc64 that fail after r256380 due to a longstanding issue with floating-point compares. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58684 for more information. 2018-01-30 Bill Seurer PR 58684 * gcc/testsuite/gcc.dg/torture/inf-compare-1.c: Add xfail. * gcc/testsuite/gcc.dg/torture/inf-compare-2.c: Add xfail. * gcc/testsuite/gcc.dg/torture/inf-compare-3.c: Add xfail. * gcc/testsuite/gcc.dg/torture/inf-compare-4.c: Add xfail. From-SVN: r257190 --- gcc/testsuite/ChangeLog | 8 ++++++++ gcc/testsuite/gcc.dg/torture/inf-compare-1.c | 3 ++- gcc/testsuite/gcc.dg/torture/inf-compare-2.c | 3 ++- gcc/testsuite/gcc.dg/torture/inf-compare-3.c | 3 ++- gcc/testsuite/gcc.dg/torture/inf-compare-4.c | 3 ++- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c348529ea9b..0eac0733043 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2018-01-30 Bill Seurer + + PR 58684 + * gcc/testsuite/gcc.dg/torture/inf-compare-1.c: Add xfail. + * gcc/testsuite/gcc.dg/torture/inf-compare-2.c: Add xfail. + * gcc/testsuite/gcc.dg/torture/inf-compare-3.c: Add xfail. + * gcc/testsuite/gcc.dg/torture/inf-compare-4.c: Add xfail. + 2018-01-30 Jakub Jelinek PR tree-optimization/84111 diff --git a/gcc/testsuite/gcc.dg/torture/inf-compare-1.c b/gcc/testsuite/gcc.dg/torture/inf-compare-1.c index 0f4510829b5..a4b44d6a3d7 100644 --- a/gcc/testsuite/gcc.dg/torture/inf-compare-1.c +++ b/gcc/testsuite/gcc.dg/torture/inf-compare-1.c @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* { dg-do run { xfail { powerpc*-*-* } } } */ +/* remove the xfail for powerpc when pr58684 is fixed */ /* { dg-add-options ieee } */ /* { dg-require-effective-target fenv_exceptions } */ diff --git a/gcc/testsuite/gcc.dg/torture/inf-compare-2.c b/gcc/testsuite/gcc.dg/torture/inf-compare-2.c index ba7339586a4..8ee932c4dd9 100644 --- a/gcc/testsuite/gcc.dg/torture/inf-compare-2.c +++ b/gcc/testsuite/gcc.dg/torture/inf-compare-2.c @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* { dg-do run { xfail { powerpc*-*-* } } } */ +/* remove the xfail for powerpc when pr58684 is fixed */ /* { dg-add-options ieee } */ /* { dg-require-effective-target fenv_exceptions } */ diff --git a/gcc/testsuite/gcc.dg/torture/inf-compare-3.c b/gcc/testsuite/gcc.dg/torture/inf-compare-3.c index e545d3b620c..c8605ad1aa7 100644 --- a/gcc/testsuite/gcc.dg/torture/inf-compare-3.c +++ b/gcc/testsuite/gcc.dg/torture/inf-compare-3.c @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* { dg-do run { xfail { powerpc*-*-* } } } */ +/* remove the xfail for powerpc when pr58684 is fixed */ /* { dg-add-options ieee } */ /* { dg-require-effective-target fenv_exceptions } */ diff --git a/gcc/testsuite/gcc.dg/torture/inf-compare-4.c b/gcc/testsuite/gcc.dg/torture/inf-compare-4.c index fca6cbf6d94..55a0dfcdcf9 100644 --- a/gcc/testsuite/gcc.dg/torture/inf-compare-4.c +++ b/gcc/testsuite/gcc.dg/torture/inf-compare-4.c @@ -1,4 +1,5 @@ -/* { dg-do run } */ +/* { dg-do run { xfail { powerpc*-*-* } } } */ +/* remove the xfail for powerpc when pr58684 is fixed */ /* { dg-add-options ieee } */ /* { dg-require-effective-target fenv_exceptions } */ -- 2.30.2