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
This commit is contained in:
parent
134efa8248
commit
58b59d5ee7
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* configure.host: Remove extra brackets for sh.
|
||||
|
@ -494,7 +494,13 @@ void ffi_call(ffi_cif *cif,
|
||||
#define FFI_TYPE_COMPLEX 15
|
||||
|
||||
/* 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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user