https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109807
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>: https://gcc.gnu.org/g:10a0d98356680a387b69f8659099450f7af86d9f commit r14-713-g10a0d98356680a387b69f8659099450f7af86d9f Author: Uros Bizjak <ubiz...@gmail.com> Date: Thu May 11 20:54:24 2023 +0200 i386: Handle V4HI and V2SImode in ix86_widen_mult_cost [PR109807] Do not crash when asking ix86_widen_mult_cost for the cost of a widening mul operation to V4HI or V2SImode. gcc/ChangeLog: PR target/109807 * config/i386/i386.cc (ix86_widen_mult_cost): Handle V4HImode and V2SImode. gcc/testsuite/ChangeLog: PR target/109807 * gcc.target/i386/pr109807.c: New test.