From a35fc190fb3fd8b042a0b3fd7ca0b67da3fc0510 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Fri, 13 Apr 2007 20:43:22 +0000 Subject: [PATCH] stubify-1.mm: Only run on powerpc. * obj-c++.dg/stubify-1.mm: Only run on powerpc. * obj-c++.dg/template-4.mm: Don't run when 64-bit. From-SVN: r123798 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/obj-c++.dg/comp-types-11.mm | 1 - gcc/testsuite/obj-c++.dg/comp-types-12.mm | 1 - gcc/testsuite/obj-c++.dg/method-17.mm | 1 - gcc/testsuite/obj-c++.dg/stubify-1.mm | 2 +- gcc/testsuite/obj-c++.dg/template-4.mm | 1 + gcc/testsuite/objc.dg/comp-types-10.m | 1 - 7 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c514a3eeda7..2b0d8803232 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-04-13 Mike Stump + + * obj-c++.dg/stubify-1.mm: Only run on powerpc. + * obj-c++.dg/template-4.mm: Don't run when 64-bit. + 2007-04-13 Joseph Myers PR tree-optimization/29598 diff --git a/gcc/testsuite/obj-c++.dg/comp-types-11.mm b/gcc/testsuite/obj-c++.dg/comp-types-11.mm index 8cd53404f52..c28a2a55a9e 100644 --- a/gcc/testsuite/obj-c++.dg/comp-types-11.mm +++ b/gcc/testsuite/obj-c++.dg/comp-types-11.mm @@ -25,4 +25,3 @@ id func(void) { return o; /* { dg-warning "distinct Objective\\-C type in return" } */ } @end - diff --git a/gcc/testsuite/obj-c++.dg/comp-types-12.mm b/gcc/testsuite/obj-c++.dg/comp-types-12.mm index b041759ca65..00e6e3af100 100644 --- a/gcc/testsuite/obj-c++.dg/comp-types-12.mm +++ b/gcc/testsuite/obj-c++.dg/comp-types-12.mm @@ -11,4 +11,3 @@ static Derived *test(void) return m; } - diff --git a/gcc/testsuite/obj-c++.dg/method-17.mm b/gcc/testsuite/obj-c++.dg/method-17.mm index a7f27f86459..a9b74bed8d0 100644 --- a/gcc/testsuite/obj-c++.dg/method-17.mm +++ b/gcc/testsuite/obj-c++.dg/method-17.mm @@ -30,4 +30,3 @@ int main(void) [foo brokenType: (int)d floatingPoint: d]; return 0; } - diff --git a/gcc/testsuite/obj-c++.dg/stubify-1.mm b/gcc/testsuite/obj-c++.dg/stubify-1.mm index dd7ce3badc7..0dafa4bcdd1 100644 --- a/gcc/testsuite/obj-c++.dg/stubify-1.mm +++ b/gcc/testsuite/obj-c++.dg/stubify-1.mm @@ -1,7 +1,7 @@ /* All calls must be properly stubified. Complain about any "call _objc_msgSend" without the $stub suffix. */ -/* { dg-do compile { target *-*-darwin* } } */ +/* { dg-do compile { target powerpc*-*-darwin* } } */ /* { dg-options "-Os -mdynamic-no-pic -fno-exceptions" } */ typedef struct objc_object { } *id ; diff --git a/gcc/testsuite/obj-c++.dg/template-4.mm b/gcc/testsuite/obj-c++.dg/template-4.mm index 6500cfff17b..25a1df990b4 100644 --- a/gcc/testsuite/obj-c++.dg/template-4.mm +++ b/gcc/testsuite/obj-c++.dg/template-4.mm @@ -1,6 +1,7 @@ /* Author: Ziemowit Laski . */ /* { dg-do run } */ +/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */ #include #include diff --git a/gcc/testsuite/objc.dg/comp-types-10.m b/gcc/testsuite/objc.dg/comp-types-10.m index 8cd53404f52..c28a2a55a9e 100644 --- a/gcc/testsuite/objc.dg/comp-types-10.m +++ b/gcc/testsuite/objc.dg/comp-types-10.m @@ -25,4 +25,3 @@ id func(void) { return o; /* { dg-warning "distinct Objective\\-C type in return" } */ } @end -