[Bug target/80339] internal compiler error: in int_mode_for_mode, at stor-layout.c:406
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 6 11:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80339
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc75 ~ % cat test3.ii
int a = __builtin_ia32_kortestzhi(0, 0);
trippels@gcc75 ~ % g++ -mavx512f -c test3.ii
test3.ii: In function ‘void __static_initialization_and_destruction_0(int,
int)’:
test3.ii:1:34: internal compiler error: in int_mode_for_mode, at
stor-layout.c:406
int a = __builtin_ia32_kortestzhi(0, 0);
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
0x117cbd1 int_mode_for_mode(machine_mode)
../../gcc/gcc/stor-layout.c:406
0xd3757f emit_move_via_integer
../../gcc/gcc/expr.c:3289
0xd384a7 emit_move_insn_1(rtx_def*, rtx_def*)
../../gcc/gcc/expr.c:3670
0xd38763 emit_move_insn(rtx_def*, rtx_def*)
../../gcc/gcc/expr.c:3738
0xd18283 copy_to_reg(rtx_def*)
../../gcc/gcc/explow.c:585
0x15ef232 ix86_expand_builtin
../../gcc/gcc/config/i386/i386.c:37854
0xba1538 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
../../gcc/gcc/builtins.c:6362
0xd53a89 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/gcc/expr.c:10822
0xd47728 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**, bool)
../../gcc/gcc/expr.c:8072
0xd3e744 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
../../gcc/gcc/expr.c:5552
0xd3d199 expand_assignment(tree_node*, tree_node*, bool)
../../gcc/gcc/expr.c:5321
0xbd9f18 expand_call_stmt
../../gcc/gcc/cfgexpand.c:2656
0xbdd13c expand_gimple_stmt_1
../../gcc/gcc/cfgexpand.c:3571
0xbdd832 expand_gimple_stmt
../../gcc/gcc/cfgexpand.c:3737
0xbe5092 expand_gimple_basic_block
../../gcc/gcc/cfgexpand.c:5744
0xbe6b42 execute
../../gcc/gcc/cfgexpand.c:6357
More information about the Gcc-bugs
mailing list