https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117304
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> --- Created attachment 59523 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59523&action=edit testcase using __builtin_ia32_cvttpd2udq512_mask() $ x86_64-pc-linux-gnu-gcc -mavx10.1 testcase.c during RTL pass: expand testcase.c: In function 'foo': testcase.c:8:8: internal compiler error: in emit_move_insn, at expr.cc:4633 8 | v ^= __builtin_ia32_cvttpd2udq512_mask(d, v, 0, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x2c9c5fe internal_error(char const*, ...) /repo/gcc-trunk/gcc/diagnostic-global-context.cc:518 0xe8453b fancy_abort(char const*, int, char const*) /repo/gcc-trunk/gcc/diagnostic.cc:1696 0x797434 emit_move_insn(rtx_def*, rtx_def*) /repo/gcc-trunk/gcc/expr.cc:4633 0x114ebf1 copy_to_reg(rtx_def*) /repo/gcc-trunk/gcc/explow.cc:630 0x1ad9587 ix86_expand_round_builtin /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:12945 ...