https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85473
Bug ID: 85473 Summary: internal compiler error: in emit_move_insn, at expr.c:3722 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: sebastian.peryt at intel dot com Target Milestone: --- Target: x86-64 [hjl@gnu-cfl-1 gcc]$ cat /tmp/x.i extern void _movdir64b (void * __P, const void * __Q) { __builtin_ia32_movdir64b (__P, __Q); } [hjl@gnu-cfl-1 gcc]$ ./xgcc -B./ -mx32 -mmovdir64b -mmovdiri -O2 -S /tmp/x.i during RTL pass: expand /tmp/x.i: In function ‘_movdir64b’: /tmp/x.i:4:3: internal compiler error: in emit_move_insn, at expr.c:3722 __builtin_ia32_movdir64b (__P, __Q); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xb1c92d emit_move_insn(rtx_def*, rtx_def*) /export/gnu/import/git/sources/gcc/gcc/expr.c:3721 0xaeef45 force_reg(machine_mode, rtx_def*) /export/gnu/import/git/sources/gcc/gcc/explow.c:666 0x14716b3 ix86_expand_builtin /export/gnu/import/git/sources/gcc/gcc/config/i386/i386.c:37146 0x962514 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) /export/gnu/import/git/sources/gcc/gcc/builtins.c:6648 0xb3d2f4 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /export/gnu/import/git/sources/gcc/gcc/expr.c:11004 0xb2fa7d expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /export/gnu/import/git/sources/gcc/gcc/expr.c:8231 0x9988c9 expand_expr /export/gnu/import/git/sources/gcc/gcc/expr.h:280 0x9a13a2 expand_call_stmt /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:2690 0x9a482d expand_gimple_stmt_1 /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3624 0x9a4f23 expand_gimple_stmt /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3790 0x9a5022 expand_gimple_tailcall /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:3836 0x9ad61d expand_gimple_basic_block /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:5796 0x9af0ba execute /export/gnu/import/git/sources/gcc/gcc/cfgexpand.c:6425 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. [hjl@gnu-cfl-1 gcc]$