https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69174
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I see also the second ICE rather than the first one. dr_chain is created for ncopies == 3, but then we attempt to access indexes 2 and 3 in it. Richard, can you please have a look?