https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128187
--- Comment #4 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:a057d429ba49a2ad991a3e5931e5508c3035e9af commit r17-5642-ga057d429ba49a2ad991a3e5931e5508c3035e9af Author: Richard Biener <[email protected]> Date: Tue Oct 27 16:04:22 2026 +0100 tree-optimization/128187 - vector reductions with single cycle The following fixes the conditional/masked call code generation when vectorizing a reduction forced to a single cycle. The code was not really prepared for operations with not exactly two operands, for the testcase that is FMA. PR tree-optimization/128187 * tree-vect-loop.cc (vect_transform_reduction): Handle both two and three argument masked internal functions. * gcc.dg/vect/vect-pr128187.c: New testcase.
