https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129052
--- Comment #2 from liu zhenyu <lzy20000419 at outlook dot com> ---
(In reply to Drea Pinski from comment #1)
> I think this is just bad luck. Everyone writing inline-asm with requirements
> of specific registers should just be using the hard register constraints now.
Confirmed: switching the test case to hard register constraints ("{r8}"/"{r9}")
avoids the issue, since the operands are still pseudos when pass_x86_cse runs
before RA.
I will leave it to the x86 maintainers to decide whether this is worth fixing
for local register variables, since it is a GCC 16 regression and code
targeting GCC < 16 cannot use hard register constraints yet.