diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-07 15:09:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-11-01 09:46:08 -0300 |
commit | 5c5a8b99cf96b71940e36a9db66d3a61bc315016 (patch) | |
tree | 7396885b3487d9383bf477219a79ebcf68b64d9f /math/libm-test-isnan.inc | |
parent | 6ee5a9767a245455720d39eeaa3ce136825e8a42 (diff) | |
download | glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.gz glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.tar.xz glibc-5c5a8b99cf96b71940e36a9db66d3a61bc315016.zip |
Disable use of -fsignaling-nans if compiler does not support it
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'math/libm-test-isnan.inc')
-rw-r--r-- | math/libm-test-isnan.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/libm-test-isnan.inc b/math/libm-test-isnan.inc index 026b61c216..2edfd7c62d 100644 --- a/math/libm-test-isnan.inc +++ b/math/libm-test-isnan.inc @@ -33,8 +33,10 @@ static const struct test_f_i_data isnan_test_data[] = TEST_f_b (isnan, minus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), TEST_f_b (isnan, qnan_value, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), TEST_f_b (isnan, -qnan_value, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), +#ifdef __SUPPORT_SNAN__ TEST_f_b (isnan, snan_value, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), TEST_f_b (isnan, -snan_value, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), +#endif }; #if TEST_COND_intel96 |