From f2ac4fc035b327ab8ccf562a7667f6d13758c72b Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 4 Oct 2020 00:05:17 +0100 Subject: [PATCH] testsuite, Objective-C : Update a test for newer OS versions. Objective-C GC is not available for any recent Darwin version, nor is it available for the upcoming release of Darwin20. gcc/testsuite/ChangeLog: * objc.dg/objc-gc-4.m: Disable for macOS 10.15 and 11.x. --- gcc/testsuite/objc.dg/objc-gc-4.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/objc.dg/objc-gc-4.m b/gcc/testsuite/objc.dg/objc-gc-4.m index 96c32788dfe..8102a5a532f 100644 --- a/gcc/testsuite/objc.dg/objc-gc-4.m +++ b/gcc/testsuite/objc.dg/objc-gc-4.m @@ -3,7 +3,7 @@ /* Contributed by Ziemowit Laski */ /* { dg-do compile } */ -/* { dg-skip-if "GC API is an error from Darwin16." { *-*-darwin1[6-8]* } { "-fnext-runtime" } { "" } } */ +/* { dg-skip-if "GC API is an error from Darwin16." { *-*-darwin1[6-9]* *-*-darwin2[0-9]* } { "-fnext-runtime" } { "" } } */ /* { dg-options "-fobjc-gc" } */ /* { dg-prune-output "cc1obj: warning: '-fobjc-gc' is ignored for '-fgnu-runtime'" } */