https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119139
--- Comment #14 from Kirill Kryukov <kkryukov at gmail dot com> --- Iain, thanks a lot for the quick fix! The only thing I'm not sure about is how reliable it is in the long term to test this by scanning the tree dump. I'd probably feel safer if there was a test for the actual behavior of the code, like the one I posted (but without the library dependency as you suggested). (If bundled with other tests and not in its own executable, the performance impact should be minuscule). But if you think tree dump is OK, then it's fine. Thanks!!