diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-06-21 23:11:00 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-06-21 23:11:00 -0300 |
commit | 540ae3601e1d2403ae5ba27db36ca75cb1e8d055 (patch) | |
tree | 49533c56d8b9fcc1cb3a17261407c007d5bc6ac1 /libstdc++-v3 | |
parent | 345d69a7de7102bf152b7705d564145a9a1c5b95 (diff) | |
download | gcc-540ae3601e1d2403ae5ba27db36ca75cb1e8d055.zip gcc-540ae3601e1d2403ae5ba27db36ca75cb1e8d055.tar.gz gcc-540ae3601e1d2403ae5ba27db36ca75cb1e8d055.tar.bz2 |
libstdc++: testsuite: require cmath for nexttowardl
nexttowardl is only expected to be available with C99 math, but
20_util/to_chars/long_double.cc uses it unconditionally.
State the cmath requirement in the test.
for libstdc++-v3/ChangeLog
* testsuite/20_util/to_chars/long_double.cc: Require cmath.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/to_chars/long_double.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc b/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc index 94b5b59..0b1c2c2 100644 --- a/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc +++ b/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc @@ -36,6 +36,7 @@ // { dg-require-effective-target ieee_floats } // { dg-require-effective-target size32plus } +// { dg-require-cmath "" } #include <charconv> |