This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[4.4 testsuite] xfail objc/execute/forward-1.m
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 08 Apr 2009 16:26:22 -0700
- Subject: [4.4 testsuite] xfail objc/execute/forward-1.m
- Reply-to: janis187 at us dot ibm dot com
Test objc/execute/forward-1.m fails on targets that pass arguments via
registers. This patch XFAILs the test for the failures I found in the
test archives. Tested for powerpc64-linux with -m32/-m64.
If there are no objections I'll apply this to the 4.4 branch in a day
or two.
2009-04-08 Janis Johnson <janis187@us.ibm.com>
PR libobjc/36610
* objc/execute/forward-1.x: New.
Index: gcc/testsuite/objc/execute/forward-1.x
===================================================================
--- gcc/testsuite/objc/execute/forward-1.x (revision 0)
+++ gcc/testsuite/objc/execute/forward-1.x (revision 0)
@@ -0,0 +1,18 @@
+load_lib target-supports.exp
+
+# XFAIL: PR libobjc/36610, for targets which pass arguments via registers
+# For powerpc-darwin it fails with -fgnu-runtime, passes with -fnext-runtime,
+# but that would be too ugly to handle; let it fail there.
+
+if { ([istarget x86_64-*-linux] && [is_effective_target_lp64] )
+ || [istarget powerpc*-*-linux*]
+ || [istarget powerpc*-*-aix*]
+ || [istarget s390*-*-*-linux*]
+ || [istarget sh4-*-linux*]
+ || [istarget hppa*-*-linux*]
+ || [istarget hppa*-*-hpux*]
+ || [istarget ia64-*-linux*] } {
+ set torture_execute_xfail "*-*-*"
+}
+
+return 0