https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123626
--- Comment #6 from Jeffrey A. Law <law at gcc dot gnu.org> --- It never even occurred to me that newlib could be in play. But yes, it's a baremetal riscv32-elf toolchain where I'm able to see the problem.
