https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126404
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:3cd23c9fd60854cd9d160ce3b341a819025bfeb8 commit r17-2737-g3cd23c9fd60854cd9d160ce3b341a819025bfeb8 Author: Richard Biener <[email protected]> Date: Mon Jul 27 19:24:32 2026 +0200 tree-optimization/126404 - fixup conversion detection in reductions The following makes sure to check the pattern stmt against being a conversion to skip but the original stmt for a mismatch in code. PR tree-optimization/126404 * tree-vect-slp.cc (vect_analyze_slp_reduc_chain): Fixup conversion detection. * gcc.dg/vect/vect-pr126404.c: New testcase.
