Skip to content

Commit 1ae7808

Browse files
committed
[dmd-testsuite]: compilable/stdcheaders: Reenable math.h on linux aarch64
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent e5c33a1 commit 1ae7808

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/dmd/compilable/stdcheaders.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121
#include <limits.h>
2222
#include <locale.h>
2323

24-
#if !(defined(__linux__) && defined(__aarch64__)) // /usr/include/bits/math-vector.h(162): Error: undefined identifier `__Float32x4_t`
2524
#include <math.h>
2625
#ifndef _MSC_VER // C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\corecrt_math.h(93): Error: reinterpretation through overlapped field `f` is not allowed in CTFE
2726
float x = NAN;
2827
#endif
29-
#endif
3028

3129
#ifndef _MSC_VER // setjmp.h(51): Error: missing tag `identifier` after `struct
3230
#include <setjmp.h>
@@ -66,11 +64,9 @@ float x = NAN;
6664
// Apple: /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/tgmath.h(39): Error: named parameter required before `...`
6765
// OpenBSD: /usr/lib/clang/13.0.0/include/tgmath.h(34): Error: named parameter required before `...`
6866
// Linux: /tmp/clang/lib/clang/15.0.3/include/tgmath.h(34): Error: named parameter required before `...`
69-
#if !(defined(__linux__) && defined(__aarch64__)) // /usr/include/bits/math-vector.h(162): Error: undefined identifier `__Float32x4_t`
7067
#include <tgmath.h>
7168
#endif
7269
#endif
73-
#endif
7470

7571
#ifndef __linux__
7672
#ifndef __APPLE__

0 commit comments

Comments
 (0)