https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122723
--- Comment #5 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:596b4fde343b4e89ba627b3c1f02c09b50307e57 commit r16-5371-g596b4fde343b4e89ba627b3c1f02c09b50307e57 Author: Richard Biener <[email protected]> Date: Tue Nov 18 08:12:33 2025 +0100 tree-optimization/122723 - fix multi-step mask conversion The following fixes the logic in multi-step mask conversions with respect to the case where we need to resort to the sbool variant of the unpack optabs. We were testing a wrong condition on when that would apply in the multi-step case. PR tree-optimization/122723 * tree-vect-stmts.cc (supportable_widening_operation): Correct optab to query in the multi-step case when it is supposed to hit the sbool case.
