diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-27 00:08:28 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-27 00:08:28 +0000 |
commit | 54f87806c4dc219ee586fe35a1536b1a01429cd4 (patch) | |
tree | c510b84e36ae371eb8991fa3934bb8c3ef43c763 /gcc/testsuite/obj-c++.dg/stubify-1.mm | |
parent | 02dbf6d79deb3a0c6538bdb6ca34610ebaced372 (diff) | |
download | gcc-54f87806c4dc219ee586fe35a1536b1a01429cd4.tar.gz |
2010-04-26 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
PR testsuite/35165
* obj-c++.dg/stubify-2.mm: Restrict to ilp32 targets. Require
Darwin8/OSX10.4 - compatible code generation.
Use scan-rtl-dump.
* obj-c++.dg/stubify-1.mm: Ditto.
* lib/objc-torture.exp: Do not require link success for
"trivial.m" in the runtime checks when dowhat = 'compile'.
* lib/dg-pch.exp: (dg-flags-pch): New Proc.
* objc.dg/stubify-1.m: Restrict to ilp32 targets. Require
Darwin8/OSX10.4 - compatible code generation.
* objc.dg/stubify-2.m: Ditto.
* objc.dg/symtab-1.m: Match '.quad' for m64 code.
* objc.dg/next-runtime-1.m: Ditto.
* objc.dg/stret-2.m: Restrict to ilp32 targets.
* objc.dg/pch/pch.exp: Apply tests to both Gnu and NeXT
runtimes on Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158752 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/obj-c++.dg/stubify-1.mm')
-rw-r--r-- | gcc/testsuite/obj-c++.dg/stubify-1.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/obj-c++.dg/stubify-1.mm b/gcc/testsuite/obj-c++.dg/stubify-1.mm index 0dafa4bcdd1..687739ceccd 100644 --- a/gcc/testsuite/obj-c++.dg/stubify-1.mm +++ b/gcc/testsuite/obj-c++.dg/stubify-1.mm @@ -1,8 +1,10 @@ /* All calls must be properly stubified. Complain about any "call _objc_msgSend<end-of-line>" without the $stub suffix. */ -/* { dg-do compile { target powerpc*-*-darwin* } } */ -/* { dg-options "-Os -mdynamic-no-pic -fno-exceptions" } */ +/* { dg-do compile { target *-*-darwin* } } */ +/* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */ +/* { dg-require-effective-target ilp32 } */ +/* { dg-options "-Os -mdynamic-no-pic -fno-exceptions -mmacosx-version-min=10.4" } */ typedef struct objc_object { } *id ; int x = 41 ; |