https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80339
Bug ID: 80339 Summary: internal compiler error: in int_mode_for_mode, at stor-layout.c:406 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: m...@sven-woop.de Target Milestone: --- Here some internal compiler error I just got. Will work an a reproducer and submit later. Looks like this issue was reported already several times, but could never get reproduced (bugs 79733, 79808). /home/swoop/projects/gcc/latest/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.0.1/include/avx512fintrin.h:10087:48: internal compiler error: in int_mode_for_mode, at stor-layout.c:406 return (__mmask16) __builtin_ia32_kortestzhi ((__mmask16) __A, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ (__mmask16) __B); ~~~~~~~~~~~~~~~~ 0xd2544b int_mode_for_mode(machine_mode) ../../gcc/stor-layout.c:406 0xa007ae emit_move_via_integer ../../gcc/expr.c:3289 0xa0d175 emit_move_insn_1(rtx_def*, rtx_def*) ../../gcc/expr.c:3670 0xa0d454 emit_move_insn(rtx_def*, rtx_def*) ../../gcc/expr.c:3738 0x9f0582 copy_to_reg(rtx_def*) ../../gcc/explow.c:585 0x109e6a7 ix86_expand_builtin ../../gcc/config/i386/i386.c:37854 0x8d3eb7 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/builtins.c:6362 0xa09c2d expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:10822 0xa15303 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) ../../gcc/expr.c:5552 0xa16b07 expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.c:5321 0x8f8776 expand_call_stmt ../../gcc/cfgexpand.c:2656 0x8f8776 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3571 0x8f8776 expand_gimple_stmt ../../gcc/cfgexpand.c:3737 0x8fa1ff expand_gimple_basic_block ../../gcc/cfgexpand.c:5744 0x8ffcf6 execute ../../gcc/cfgexpand.c:6357 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.