Re: [PATCH] libstdc++: testsuite: require cmath for nexttowardl

2022-06-21 Thread Jonathan Wakely via Gcc-patches
On Tue, 21 Jun 2022 at 06:36, Alexandre Oliva via Libstdc++ wrote: > > > 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. > > Regstrapped on x86_64-linux-gnu, also tested with a c

[PATCH] libstdc++: testsuite: require cmath for nexttowardl

2022-06-20 Thread Alexandre Oliva via Gcc-patches
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. Regstrapped on x86_64-linux-gnu, also tested with a cross to aarch64-rtems6. Ok to install? for libstdc++-v3/ChangeLog *