libstdc++: Don't fail if math_errhandling is not defined
authorMatthias Kretz <m.kretz@gsi.de>
Mon, 17 Jan 2022 09:38:29 +0000 (10:38 +0100)
committerMatthias Kretz <m.kretz@gsi.de>
Mon, 17 Jan 2022 10:27:32 +0000 (11:27 +0100)
commit84eb13b9d6a9979825f5deaa1c17762bf8c8ef9f
tree2b8b7000339e29131bac36e49a32b4415a657d84
parent57cfcb3eb280421d7e2c97fca3ab372e50d19545
libstdc++: Don't fail if math_errhandling is not defined

Older glibc does not define math_errhandling with -ffast-math, in which
case floating-point exceptions are not used.

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:

* include/experimental/bits/simd.h (__floating_point_flags): Do
not rely on the presence of the math_errhandling macro.
libstdc++-v3/include/experimental/bits/simd.h