From: Iain Sandoe Date: Wed, 7 Oct 2020 15:21:52 +0000 (+0100) Subject: testsuite, objective-c++ : GC is not available from Darwin16. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd36daf64a1596b493d054604dd409bc7506fbfd;p=gcc.git testsuite, objective-c++ : GC is not available from Darwin16. Update the dg-skip to cover newer systems. gcc/testsuite/ChangeLog: * obj-c++.dg/objc-gc-3.mm:i Skip for Darwin >= 16. --- 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 */ /* { 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'" } */