https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124569
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #6 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I believe this might be a duplicate of PR123853.
The effect of the pending fix in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123853#c18 on this test case is:
--- pr124569.s.old 2026-06-07 16:41:52.717123055 +0200
+++ pr124569.s.new 2026-06-07 16:46:52.586488957 +0200
@@ -31429,7 +31429,8 @@
subq.l #4,%d0
sub.l %a3,%d0
.L8525:
- move.l (%a1)+,(%a1,%d0.l)
+ lea (%a1,%d0.l),%a2
+ move.l (%a1)+,(%a2)
cmp.l %a4,%a1
jcs .L8525
move.l %a4,%d0
It would help to have a standalone executable test case.