https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71695
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-06-29 Ever confirmed|0 |1 --- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> --- Worksforme with gcc 7: clr.l %d2 moveq #10,%d3 .L3: move.l %d2,%d1 muls.l %d3,%d1 add.l %d1,%d1 mulu.l %d3,%d2:%d3 add.l %d1,%d2 addq.l #1,%a0 cmp.l %d0,%a0 jne .L3 Please check that there is no local patch that breaks that.