]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: testsuite: require cmath for exp simd
authorAlexandre Oliva <oliva@adacore.com>
Mon, 27 Jun 2022 13:34:19 +0000 (10:34 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Mon, 27 Jun 2022 13:34:19 +0000 (10:34 -0300)
commit8fce31f69bc6800b81eb7f274d6128162f5ec8b1
treeee1ce054ec99a526f8f1996e3f23e8b1d7ae480c
parent3e3744d37e001999fadb90e2d69173ec1b259869
libstdc++: testsuite: require cmath for exp simd

simd_math.h assumes declarations for many C99 functions to be present,
that libstdc++ doesn't add to target systems that don't have them in
the C library.

Add the C99 math requirement to tests for simd features, so that they
don't fail because of limitations of the target C library.

for  libstdc++-v3/ChangeLog

* testsuite/experimental/simd/standard_abi_usable.cc: Require
cmath support.
* testsuite/experimental/simd/standard_abi_usable_2.cc:
Likewise.
libstdc++-v3/testsuite/experimental/simd/standard_abi_usable.cc
libstdc++-v3/testsuite/experimental/simd/standard_abi_usable_2.cc