[pushed] testsuite: narrow the sync-4.C Darwin xfail to the versions that still fail

Iain Sandoe <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <[email protected]>
Tested on i686-darwin9, x86_64-darwin24, pushed to trunk, thanks
Iain

--- 8< ---

This test always failed on powerpc-darwin9, but not for x86.

From darwin10, a new unwind library was introduced that also failed this
test for x86.  It seems that, finally, that unwinder has been fixed and
this test is now passing on modern Darwin.

Adjust the xfail to only the cases we cannot amend.

gcc/testsuite/ChangeLog:

	* g++.dg/ext/sync-4.C: Adjust XFAIL to reflect that this issue
	is now fixed on modern Darwin.

Signed-off-by: Iain Sandoe <[email protected]>
---
 gcc/testsuite/g++.dg/ext/sync-4.C | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.dg/ext/sync-4.C b/gcc/testsuite/g++.dg/ext/sync-4.C
index 029afb01156..4eafe129b00 100644
--- a/gcc/testsuite/g++.dg/ext/sync-4.C
+++ b/gcc/testsuite/g++.dg/ext/sync-4.C
@@ -1,6 +1,5 @@
 /* { dg-do run { target hppa*-*-hpux* *-*-linux* *-*-gnu* powerpc*-*-darwin* *-*-darwin[912]* *-*-uclinux* } } */
-/* FIXME The following additional option should be removed after the fix for radr://19802258.
-/* { dg-xfail-run-if "PR60563 radr://19802258" { *-*-darwin* } } */
+/* { dg-xfail-run-if "PR60563 radr://19802258" { *-*-darwin1* *-*-darwin2[0-3]* powerpc-*-darwin* } } */
 /* { dg-require-effective-target sync_long_long_runtime } */
 /* { dg-options "-fexceptions -fnon-call-exceptions -O2" } */
 /* { dg-additional-options "-march=pentium" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
-- 
2.50.1 (Apple Git-155)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.