This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Tweak stubify-1.mm and template-4.mm


Just some random Objective-C++ tweaks to the testsuite.

Checked into mainline.

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.

Index: objc.dg/comp-types-10.m
===================================================================
--- objc.dg/comp-types-10.m	(revision 123791)
+++ objc.dg/comp-types-10.m	(working copy)
@@ -25,4 +25,3 @@
   return o;  /* { dg-warning "distinct Objective\\-C type in return" } */
 }
 @end
-
Index: obj-c++.dg/template-4.mm
===================================================================
--- obj-c++.dg/template-4.mm	(revision 123791)
+++ obj-c++.dg/template-4.mm	(working copy)
@@ -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>
Index: obj-c++.dg/stubify-1.mm
===================================================================
--- obj-c++.dg/stubify-1.mm	(revision 123791)
+++ obj-c++.dg/stubify-1.mm	(working copy)
@@ -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 ;
Index: obj-c++.dg/method-17.mm
===================================================================
--- obj-c++.dg/method-17.mm	(revision 123791)
+++ obj-c++.dg/method-17.mm	(working copy)
@@ -30,4 +30,3 @@
 	[foo brokenType: (int)d floatingPoint: d];
 	return 0;
 }
-
Index: obj-c++.dg/comp-types-11.mm
===================================================================
--- obj-c++.dg/comp-types-11.mm	(revision 123791)
+++ obj-c++.dg/comp-types-11.mm	(working copy)
@@ -25,4 +25,3 @@
   return o;  /* { dg-warning "distinct Objective\\-C type in return" } */
 }
 @end
-
Index: obj-c++.dg/comp-types-12.mm
===================================================================
--- obj-c++.dg/comp-types-12.mm	(revision 123791)
+++ obj-c++.dg/comp-types-12.mm	(working copy)
@@ -11,4 +11,3 @@
 
    return m;
 }
-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]