https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126556
--- Comment #10 from Igor Shevlyakov <ishevlyakov at gcc dot gnu.org> --- The fix for this PR (r17-6822) introduced PR129216, a wrong-code bug: subst ran combine's simplifier on the CC user with stale reg_stat. Patch, which also adds an RTL testcase for this PR: https://inbox.sourceware.org/gcc-patches/gcc-upstream.upstream-bugfix-pr129216.v1.20261202t0832...@gmail.com/ Backports of r17-6822 to 16 and 15 should include that fix as well.
