https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122301
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- So the issue is another t.c:6:21: note: extra pattern stmt: patt_18 = MIN_EXPR <_4, patt_23>; t.c:6:21: note: failed to update reduction index. without the rev. we'd later fail t.c:6:21: note: ==> examining statement: seg_id_21 = PHI <seg_id_14(10), 8(8)> t.c:6:21: missed: reduction chain broken by patterns. t.c:3:6: missed: not vectorized: relevant stmt not supported: seg_id_21 = PHI <seg_id_14(10), 8(8)> SLP discovery fails to create a reduction info, the asserts I put there do not catch this. I'll keep the whack-a-mole on the pattern recognition code, let's see what's wrong in this case.
