https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115669

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
OK, so the issue is the SLP child order is different than the scalar stmt
operand order and inconsistent with what we have recorded in reduc_idx.
Likely because we do

t.c:6:23: note:   pre-sorted chains of plus_expr
plus_expr -1 plus_expr b.2_7 minus_expr _5 

and that requires -fwrapv.  I think this is a latent issue possibly triggerable
with a masked SLP reduction.

Reply via email to