This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: [patch] libffi darwin x86-32bit, fix return_sc testcase.


I committed the attached patch as it causes a failure on x86 linux.

Sorry.

This time tested on linux as well.

Andreas


2008-01-06 Andreas Tobler <a.tobler@schweiz.org>


* src/x86/ffi.c (ffi_prep_cif_machdep): Fix thinko.

Index: src/x86/ffi.c
===================================================================
--- src/x86/ffi.c	(revision 131343)
+++ src/x86/ffi.c	(working copy)
@@ -122,13 +122,12 @@
     case FFI_TYPE_VOID:
 #ifdef X86
     case FFI_TYPE_STRUCT:
-#else
-# if defined(X86) || defined(X86_DARWIN)
+#endif
+#if defined(X86) || defined(X86_DARWIN)
     case FFI_TYPE_UINT8:
     case FFI_TYPE_UINT16:
     case FFI_TYPE_SINT8:
     case FFI_TYPE_SINT16:
-# endif
 #endif

case FFI_TYPE_SINT64:


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