summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/forward-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc/execute/forward-1.x')
-rw-r--r--gcc/testsuite/objc/execute/forward-1.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/forward-1.x b/gcc/testsuite/objc/execute/forward-1.x
new file mode 100644
index 00000000000..a549274b5bc
--- /dev/null
+++ b/gcc/testsuite/objc/execute/forward-1.x
@@ -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