https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116179
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu.org --- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> --- So I was just chasing down something similar on the sh4. You might want to check this revision: commit 9f9faebb8ebfc0103461641cc49ba0b21877b2b1 (HEAD) Author: Richard Sandiford <richard.sandif...@arm.com> Date: Tue Jul 16 15:31:17 2024 +0100 rtl-ssa: Enforce earlyclobbers on hard-coded clobbers [PR115891] The asm in the testcase has a memory operand and also clobbers ax. The clobber means that ax cannot be used to hold inputs, which extends to the address of the memory. It's not clear yet what's going on. I can very clearly see a difference in the RTL at the reload phase, it's less clear if there's something goofy in IRA. But anyway, you might bisect around that change first.