From 54f87806c4dc219ee586fe35a1536b1a01429cd4 Mon Sep 17 00:00:00 2001 From: mrs Date: Tue, 27 Apr 2010 00:08:28 +0000 Subject: 2010-04-26 Iain Sandoe 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 --- gcc/testsuite/obj-c++.dg/stubify-1.mm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/testsuite/obj-c++.dg/stubify-1.mm') 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" 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 ; -- cgit v1.2.1