https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69123
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- (insn:TI 248 289 246 8 (set (reg:V2DI 21 xmm0 [130]) (mem/c:V2DI (plus:DI (reg/f:DI 7 sp) (const_int 16 [0x10])) [9 %sfp+-32 S16 A128])) /tmp/x.ii:24 1215 {*movv2di_internal} (nil)) ... (insn:TI 250 118 120 9 (set (mem/c:DI (plus:DI (reg/f:DI 7 sp) (const_int 16 [0x10])) [9 %sfp+-32 S8 A128]) (reg/v/f:DI 0 ax [orig:120 base ] [120])) /tmp/x.ii:33 85 {*movdi_internal} (nil)) seem to confuse canonicalize_values_star and lead to infinite loop.