https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123301
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robin Dapp <[email protected]>: https://gcc.gnu.org/g:0616834fef6dd7c3e5f81909368f30aa27a5f815 commit r16-6741-g0616834fef6dd7c3e5f81909368f30aa27a5f815 Author: Robin Dapp <[email protected]> Date: Fri Jan 9 21:57:49 2026 +0100 if-conv: Prevent vector types in scalar cond reduction [PR123301]. Currently we allow vector types in scalar conditional reductions by accident (via the GNU vector extension). This patch prevents that. PR tree-optimization/123301 gcc/ChangeLog: * tree-if-conv.cc (convert_scalar_cond_reduction): Disallow vector types. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/autovec/pr123301.c: New test.
