https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107540
--- Comment #3 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:916bec9a05ea522c81381e0c93590d46965d9c7b commit r13-3821-g916bec9a05ea522c81381e0c93590d46965d9c7b Author: liuhongt <hongtao....@intel.com> Date: Mon Nov 7 09:55:25 2022 +0800 Fix incorrect insn type to avoid ICE in memory attr auto-detection. Memory attribute auto detection will check operand 2 for type sselog, and check operand 1 for type sselog1. For below 2 insns, there's no operand 2. Change type to sselog1. gcc/ChangeLog: PR target/107540 * config/i386/sse.md (avx512f_movddup512<mask_name>): Change type from sselog to sselog1. (avx_movddup256<mask_name>): Ditto. gcc/testsuite/ChangeLog: * gcc.target/i386/pr107540.c: New test.