On Jun 12, 2024, Jonathan Wakely <jwakely....@gmail.com> wrote: > On Wed, 12 Jun 2024, 02:17 Alexandre Oliva, <ol...@adacore.com> 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? Some are present on the target, but the <cmath> implementation doesn't bring them into std because the detection for them in libc concludes the feature is not available. Should they be declared even if using them would cause link errors? Or should libstdc++ offer additional fallback implementations? -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer More tolerance and less prejudice are key for inclusion and diversity Excluding neuro-others for not behaving ""normal"" is *not* inclusive