alpha: Add support for complex types

This commit is contained in:
Richard Henderson
2014-11-12 09:31:19 +01:00
parent 5f917371af
commit f41bec3b57
6 changed files with 253 additions and 57 deletions
+1
View File
@@ -27,6 +27,7 @@ run-many-tests $tlist ""
# ??? We really should preprocess ffi.h and grep
# for FFI_TARGET_HAS_COMPLEX_TYPE.
if { [istarget aarch64*]
|| [istarget alpha*]
|| [istarget i?86*]
|| [istarget s390*]
|| [istarget x86_64*] } {
@@ -6,5 +6,11 @@
/* { dg-do run } */
/* Alpha splits _Complex into two arguments. It's illegal to pass
float through varargs, so _Complex float goes badly. In sort of
gets passed as _Complex double, but the compiler doesn't agree
with itself on this issue. */
/* { dg-do run { xfail alpha*-*-* } } */
#include "complex_defs_float.inc"
#include "cls_complex_va.inc"