https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86438
--- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- The candidate patch regresses the regression test added along with the fix for bug 49095. At first I thought it should, but there seems to be logic in place to adjust the compare for the flags-clobbering insn.