Add long double test (#492)

Required to fix build error on macos with gcc-9
This commit is contained in:
zhanhb
2019-10-09 06:59:32 -04:00
committed by Anthony Green
parent 09f9d85611
commit c4f61240ab
+2
View File
@@ -451,9 +451,11 @@ ffi_prep_cif_machdep (ffi_cif *cif)
case FFI_TYPE_DOUBLE:
flags = UNIX64_RET_XMM64;
break;
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
case FFI_TYPE_LONGDOUBLE:
flags = UNIX64_RET_X87;
break;
#endif
case FFI_TYPE_STRUCT:
n = examine_argument (cif->rtype, classes, 1, &ngpr, &nsse);
if (n == 0)