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
This commit is contained in:
Mike Stump 2007-04-13 20:43:22 +00:00 committed by Mike Stump
parent ec3643e8c4
commit a35fc190fb
7 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2007-04-13 Mike Stump <mrs@apple.com>
* 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 <joseph@codesourcery.com>
PR tree-optimization/29598

View File

@ -25,4 +25,3 @@ id<Foo> func(void) {
return o; /* { dg-warning "distinct Objective\\-C type in return" } */
}
@end

View File

@ -11,4 +11,3 @@ static Derived *test(void)
return m;
}

View File

@ -30,4 +30,3 @@ int main(void)
[foo brokenType: (int)d floatingPoint: d];
return 0;
}

View File

@ -1,7 +1,7 @@
/* All calls must be properly stubified. Complain about any "call
_objc_msgSend<end-of-line>" 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 ;

View File

@ -1,6 +1,7 @@
/* Author: Ziemowit Laski <zlaski@apple.com>. */
/* { dg-do run } */
/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
#include <objc/Object.h>
#include <stdarg.h>

View File

@ -25,4 +25,3 @@ id<Foo> func(void) {
return o; /* { dg-warning "distinct Objective\\-C type in return" } */
}
@end