https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96262
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>: https://gcc.gnu.org/g:c44c2a3b0559979e3694ee2ab6860ec95fa3068a commit r11-2800-gc44c2a3b0559979e3694ee2ab6860ec95fa3068a Author: liuhongt <hongtao....@intel.com> Date: Wed Jul 22 14:37:24 2020 +0800 Using gen_int_mode instead of GEN_INT to avoid ICE caused by type promotion. 2020-07-22 Hongtao Liu <hongtao....@intel.com> gcc/ PR target/96262 * config/i386/i386-expand.c (ix86_expand_vec_shift_qihi_constant): Refine. gcc/testsuite/ * gcc.target/i386/pr96262-1.c: New test.