https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87025
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think the note in question is from: if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "------>vectorizing phi: %G", phi); and the failed assertion is that m_scopes is empty. David, can you please have a look?