===================================================================
@@ -1,5 +1,24 @@
2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
+ * obj-c++.dg/gnu-api-2-class.mm: Skip for Darwin < 9.
+ * obj-c++.dg/gnu-api-2-ivar.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-method.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-objc.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-object.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-property.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-protocol.mm: Likewise.
+ * obj-c++.dg/gnu-api-2-sel.mm: Likewise.
+ * objc.dg/gnu-api-2-class.m: Likewise.
+ * objc.dg/gnu-api-2-ivar.m: Likewise.
+ * objc.dg/gnu-api-2-method.m: Likewise.
+ * objc.dg/gnu-api-2-objc.m: Likewise.
+ * objc.dg/gnu-api-2-object.m: Likewise.
+ * objc.dg/gnu-api-2-property.m: Likewise.
+ * objc.dg/gnu-api-2-protocol.m: Likewise.
+ * objc.dg/gnu-api-2-sel.m: Likewise.
+
+2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
+
* objc.dg/foreach-1.m: Skip for Darwin < 9.
* objc.dg/objc-foreach-4.m: Likewise.
* objc.dg/objc-foreach-5.m: Skip for Darwin < 9, adjust headers.
===================================================================
@@ -3,6 +3,7 @@
This is test 'class', covering all functions starting with 'class'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'ivar', covering all functions starting with 'ivar'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'method', covering all functions starting with 'method'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'objc', covering all functions starting with 'objc'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'object', covering all functions starting with 'object'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'property', covering all functions starting with 'property'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */
===================================================================
@@ -3,6 +3,7 @@
This is test 'protocol', covering all functions starting with 'protocol'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'sel', covering all functions starting with 'sel'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */
===================================================================
@@ -3,6 +3,7 @@
This is test 'class', covering all functions starting with 'class'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'ivar', covering all functions starting with 'ivar'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'method', covering all functions starting with 'method'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'objc', covering all functions starting with 'objc'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'object', covering all functions starting with 'object'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'property', covering all functions starting with 'property'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */
===================================================================
@@ -3,6 +3,7 @@
This is test 'protocol', covering all functions starting with 'protocol'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
===================================================================
@@ -3,6 +3,7 @@
This is test 'sel', covering all functions starting with 'sel'. */
/* { dg-do run } */
+/* { dg-skip-if "No API#2 pre-Darwin9" { *-*-darwin[5-8]* } { "-fnext-runtime" } { "" } } */
/* To get the modern GNU Objective-C Runtime API, you include
objc/runtime.h. */