Re: [PATCH] [libstdc++] [testsuite] require cmath for c++23 cmath tests

2024-06-13 Thread Jonathan Wakely
On Wed, 12 Jun 2024 at 23:44, Alexandre Oliva wrote: > > On Jun 12, 2024, Jonathan Wakely wrote: > > > On Wed, 12 Jun 2024, 02:17 Alexandre Oliva, wrote: > >> > >> Some c++23 tests fail on targets that don't satisfy dg-require-cmath, > >> because referenced math functions don't get declared in s

Re: [PATCH] [libstdc++] [testsuite] require cmath for c++23 cmath tests

2024-06-12 Thread Alexandre Oliva
On Jun 12, 2024, Jonathan Wakely wrote: > On Wed, 12 Jun 2024, 02:17 Alexandre Oliva, wrote: >> >> Some c++23 tests fail on targets that don't satisfy dg-require-cmath, >> because referenced math functions don't get declared in std. > Are they present on the target at all? Is not declaring the

Re: [PATCH] [libstdc++] [testsuite] require cmath for c++23 cmath tests

2024-06-12 Thread Jonathan Wakely
On Wed, 12 Jun 2024, 02:17 Alexandre Oliva, wrote: > > Some c++23 tests fail on targets that don't satisfy dg-require-cmath, > because referenced math functions don't get declared in std. Are they present on the target at all? Is not declaring them in std the underlying bug here? Add the >

[PATCH] [libstdc++] [testsuite] require cmath for c++23 cmath tests

2024-06-11 Thread Alexandre Oliva
Some c++23 tests fail on targets that don't satisfy dg-require-cmath, because referenced math functions don't get declared in std. Add the missing requirement. Regstrapping on x86_64-linux-gnu. Already successfully tested with gcc-13 on aarch64-rtems, where it avoids the errors that come up be