re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via...
authorJanis Johnson <janis187@us.ibm.com>
Thu, 9 Apr 2009 16:58:34 +0000 (16:58 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Thu, 9 Apr 2009 16:58:34 +0000 (16:58 +0000)
PR libobjc/36610
* objc/execute/forward-1.x: New.

From-SVN: r145849

gcc/testsuite/ChangeLog
gcc/testsuite/objc/execute/forward-1.x [new file with mode: 0644]

index 145880d..7ecdfd2 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-09  Janis Johnson  <janis187@us.ibm.com>
+
+       PR libobjc/36610
+       * objc/execute/forward-1.x: New.
+
 2009-04-09  Paolo Bonzini  <bonzini@gnu.org>
 
         * gcc.dg/pr27150-1.c: Change to a link test.
diff --git a/gcc/testsuite/objc/execute/forward-1.x b/gcc/testsuite/objc/execute/forward-1.x
new file mode 100644 (file)
index 0000000..a549274
--- /dev/null
@@ -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