[pushed] testsuite, objective-c++ : GC is not available from Darwin16.

Message ID A6336259-F4AC-400B-B26E-186AC340259D@sandoe.co.uk
State New
Headers show
Series
  • [pushed] testsuite, objective-c++ : GC is not available from Darwin16.
Related show

Commit Message

Iain Sandoe Oct. 11, 2020, 3:54 p.m.
Hi,

Update the dg-skip to cover newer systems.

tested across the Darwin range, and on x86_64-linux
pushed to master
thanks
Iain

gcc/testsuite/ChangeLog:

	* obj-c++.dg/objc-gc-3.mm:i Skip for Darwin >= 16.
---
 gcc/testsuite/obj-c++.dg/objc-gc-3.mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.24.1

Patch

diff --git a/gcc/testsuite/obj-c++.dg/objc-gc-3.mm b/gcc/testsuite/obj-c++.dg/objc-gc-3.mm
index 68bebf8fc96..45ffbc5553d 100644
--- a/gcc/testsuite/obj-c++.dg/objc-gc-3.mm
+++ b/gcc/testsuite/obj-c++.dg/objc-gc-3.mm
@@ -3,7 +3,7 @@ 
 /* Contributed by Ziemowit Laski <zlaski@apple.com>  */
 
 /* { 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 "cc1objplus: warning: '-fobjc-gc' is ignored for '-fgnu-runtime'" } */