https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:09b7993ab6d93716f77c03ff9a9165fa4b579f0d commit r13-4227-g09b7993ab6d93716f77c03ff9a9165fa4b579f0d Author: Richard Biener <rguent...@suse.de> Date: Tue Nov 22 09:03:53 2022 +0100 tree-optimization/107672 - avoid vector mode type_for_mode call The following avoids using type_for_mode on vector modes which might not work for all frontends. Instead we look for the inner mode type and use build_vector_type_for_mode instead. PR tree-optimization/107672 * tree-vect-stmts.cc (supportable_widening_operation): Avoid type_for_mode on vector modes.