Commit 58b59d5e by Richard Henderson Committed by Richard Henderson

re PR libffi/64572 (r219477 breaks bootstrap on x86_64 darwin)

PR libffi/64572

        * include/ffi.h.in (FFI_TYPE_LAST): Set to COMPLEX only if complex
        numbers are supported by the backend.

From-SVN: r219688
parent 134efa82
2015-01-15 Richard Henderson <rth@redhat.com>
PR libffi/64572
* include/ffi.h.in (FFI_TYPE_LAST): Set to COMPLEX only if complex
numbers are supported by the backend.
2015-01-13 Kaz Kojima <kkojima@gcc.gnu.org> 2015-01-13 Kaz Kojima <kkojima@gcc.gnu.org>
* configure.host: Remove extra brackets for sh. * configure.host: Remove extra brackets for sh.
......
...@@ -494,7 +494,13 @@ void ffi_call(ffi_cif *cif, ...@@ -494,7 +494,13 @@ void ffi_call(ffi_cif *cif,
#define FFI_TYPE_COMPLEX 15 #define FFI_TYPE_COMPLEX 15
/* This should always refer to the last type code (for sanity checks) */ /* This should always refer to the last type code (for sanity checks) */
#define FFI_TYPE_LAST FFI_TYPE_COMPLEX /* ??? Ideally, anyway. There are assembly files that still depend
on this not including COMPLEX. */
#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
# define FFI_TYPE_LAST FFI_TYPE_COMPLEX
#else
# define FFI_TYPE_LAST FFI_TYPE_POINTER
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment