This is the mail archive of the gcc-bugs@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]

[Bug libobjc/36610] objc_msg_sendv is broken for targets which pass argument via registers



------- Comment #12 from janis at gcc dot gnu dot org  2009-03-31 20:28 -------
The objc/execute directory can process .x files like the one added here, which
I've tested on powerpc64-linux with -m32/-m64:

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,8 @@
+load_lib target-supports.exp
+
+if { ([istarget x86_64-*-linux*] && [is_effective_target_lp64])
+     || [istarget powerpc*-*-linux*] } {
+    set torture_execute_xfail "*-*-*"
+}
+
+return 0

As Andrew said, the list of affected targets is longer than this.  I don't
think it's worth adding an effective-target keyword, people can just add new
targets to this list.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36610


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