https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113700
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The reason tests work is that we default to -static-libgcc in C, which contains the symbols.
jakub at gcc dot gnu.org via Gcc-bugs Fri, 02 Feb 2024 02:24:40 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113700
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The reason tests work is that we default to -static-libgcc in C, which contains the symbols.