https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98289
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That particular change is of course correct, but all that means that shrink-wrapping at least on this testcase doesn't work with -freorder-blocks-and-partition which is on by default. Compiling it with -O2 -fno-reorder-blocks-and-partition (or -O3 + that option) makes it shrink-wrapped again.