https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96700
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- I'm only familiar with LTO at a high level but the test links with -flto on x86_64 and I'd expect that to be independent of the target. The calls to all the test_on_line_xxx functions should be eliminated before LTO. What's different about RISCV that keeps it from happening? (I didn't have LTO in mind when I wrote the test but if it can be tweaked to be usable with it even on RISCV I'm happy to do it.)