aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2009-04-09 16:58:34 +0000
committerJanis Johnson <janis@gcc.gnu.org>2009-04-09 16:58:34 +0000
commit750d4b2e0f98eebbfd12eb8aeb458299da38b5cf (patch)
tree5b11b8b47079102b6b8eea8d578c248431a3d59c
parentb45f0e58d72a6ea2f54d007152b55fc44311359f (diff)
downloadgcc-750d4b2e0f98eebbfd12eb8aeb458299da38b5cf.zip
gcc-750d4b2e0f98eebbfd12eb8aeb458299da38b5cf.tar.gz
gcc-750d4b2e0f98eebbfd12eb8aeb458299da38b5cf.tar.bz2
re PR libobjc/36610 (objc_msg_sendv is broken for targets which pass argument via registers)
PR libobjc/36610 * objc/execute/forward-1.x: New. From-SVN: r145849
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/objc/execute/forward-1.x18
2 files changed, 23 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 145880d..7ecdfd2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000..a549274
--- /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