Commit a35fc190 by Mike Stump Committed by Mike Stump

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
parent ec3643e8
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
......@@ -25,4 +25,3 @@ id<Foo> func(void) {
return o; /* { dg-warning "distinct Objective\\-C type in return" } */
}
@end
......@@ -11,4 +11,3 @@ static Derived *test(void)
return m;
}
......@@ -30,4 +30,3 @@ int main(void)
[foo brokenType: (int)d floatingPoint: d];
return 0;
}
/* 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 ;
......
/* Author: Ziemowit Laski <zlaski@apple.com>. */
/* { dg-do run } */
/* { dg-skip-if "" { *-*-darwin* } { "-m64" } { "" } } */
#include <objc/Object.h>
#include <stdarg.h>
......
......@@ -25,4 +25,3 @@ id<Foo> func(void) {
return o; /* { dg-warning "distinct Objective\\-C type in return" } */
}
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment