https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-03-22 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is this RTL which is causing the issue: (insn 31 27 29 4 (set (reg:V2DI 125 [ ivtmp.27 ]) (subreg:V2DI (reg/f:DI 31 sp) 0)) 1163 {*aarch64_simd_movv2di} (expr_list:REG_DEAD (reg:TI 32 v0) (nil))) Which was created while expanding (well sp is not there right away, it is done later on): _42 = (sizetype) buf.1_10; _43 = _42 + 1; _44 = {_42, _43};