[gcc r17-3415] testsuite: narrow the sync-4.C Darwin xfail to the versions that still fail
Iain D Sandoe via Gcc-cvs <[email protected]>
| Newsgroups | gmane.comp.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://gcc.gnu.org/g:cb3f73481fc44ea1440f06eb61fb67069ae5c508 commit r17-3415-gcb3f73481fc44ea1440f06eb61fb67069ae5c508 Author: Iain Sandoe <[email protected]> Date: Wed Aug 12 17:51:28 2026 +0100 testsuite: narrow the sync-4.C Darwin xfail to the versions that still fail 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]> Diff: --- 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 029afb011563..4eafe129b007 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 } } } */