aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/multiarch/float_helpers.c
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2019-11-17 17:14:25 -0600
committerAlex Bennée <alex.bennee@linaro.org>2019-11-20 10:53:31 +0000
commit22c30b2d20e828edadbd992c1d4c4bfd0f3433ba (patch)
treec2030ed5d64fd80067203d4e3fe87fd582dba55d /tests/tcg/multiarch/float_helpers.c
parent6e98888041db350b9dbd347d885368e3802227d2 (diff)
tests/tcg: modify multiarch tests to work with clang
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1574032465-12186-1-git-send-email-tsimpson@quicinc.com> [AJB: tweak header line] Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/multiarch/float_helpers.c')
-rw-r--r--tests/tcg/multiarch/float_helpers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tcg/multiarch/float_helpers.c b/tests/tcg/multiarch/float_helpers.c
index 8ee7903c78..bc530e5732 100644
--- a/tests/tcg/multiarch/float_helpers.c
+++ b/tests/tcg/multiarch/float_helpers.c
@@ -79,11 +79,9 @@ char *fmt_16(uint16_t num)
#ifndef SNANF
/* Signaling NaN macros, if supported. */
-# if __GNUC_PREREQ(3, 3)
# define SNANF (__builtin_nansf (""))
# define SNAN (__builtin_nans (""))
# define SNANL (__builtin_nansl (""))
-# endif
#endif
static float f32_numbers[] = {