https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287
--- Comment #11 from Andrew Macleod <amacleod at redhat dot com> --- Created attachment 60905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60905&action=edit potential patch (In reply to Sam James from comment #10) > The testcase from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117287#c0 > still fails for me on releases/gcc-13. Is the change back portable there too? There are some issues previous to GCC 14. It requires the new lazy_ssa_cache from GCC 14, which is dependent on some other changes in range storage allocators. I did convert the new cache code and isolated it all to the new assume pass file, tree-assume.cc. This should, in theory, not impact any other part of the compiler. I've attached the patch. I will also submit it, although I debated not doing so. I will leave it up to the release managers whether they want this added to GCC 13 or not. Feel free to use it on your own compiler however, it *should* work :-)