https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117201
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- It's very sensitive to test_iterate2 being included and it having an external reference. Having QRinput_new be defined in the same TU w/ noinline or noipa doesn't help. Removing test_iterate2 fixes the test.