https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104054
--- Comment #11 from Uroš Bizjak <ubizjak at gmail dot com> --- The testcase now PASSes compare-debug with: gcc version 13.0.1 20230203 (experimental) [master r13-5678-g167b04b9b8a] (GCC) ... but passes due to different register allocation, where regrename is not triggered. The core of the problem (See Comment #8) remains unfixed, and it will require some deep surgery into regrename pass.