https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117304

Zdenek Sojka <zsojka at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: in emit_move_insn, at  |ICE: in emit_move_insn, at
                   |expr.cc:4633 with -mavx10.1 |expr.cc:4633 with -mavx10.1
                   |                            |and
                   |                            |__builtin_ia32_cvtudq2ps512
                   |                            |_mask()

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> ---
It's just enough to pass -mavx10.1:

$ x86_64-pc-linux-gnu-gcc -mavx10.1 testcase.c 
testcase.c: In function 'foo':
testcase.c:7:1: warning: AVX512F vector return without AVX512F enabled changes
the ABI [-Wpsabi]
    7 | {
      | ^
during RTL pass: expand
testcase.c:8:10: internal compiler error: in emit_move_insn, at expr.cc:4633
    8 |   return __builtin_ia32_cvttps2udq512_mask(v, (W){}, 0, 4);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x2c9995e internal_error(char const*, ...)
        /repo/gcc-trunk/gcc/diagnostic-global-context.cc:518

Reply via email to