https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127244
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-09-15
Ever confirmed|0 |1
--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to GCC Commits from comment #5)
> The master branch has been updated by Vladimir Makarov
> <[email protected]>:
>
> https://gcc.gnu.org/g:cf6605e1e4a1ab76a09f96635b919e53aaf48af1
>
> commit r17-4179-gcf6605e1e4a1ab76a09f96635b919e53aaf48af1
> Author: Vladimir N. Makarov <[email protected]>
> Date: Fri Sep 11 09:44:22 2026 -0400
Yes, this fix removes unwanted stack spill, but it still leaves:
34a50: 9c pushf
34a51: 58 pop %rax
34a52: 48 89 c3 mov %rax,%rbx
34a55: fa cli
where intermediate register is not needed. I will attach a testcase.