[Bug target/79808] New: ICE in int_mode_for_mode, at stor-layout.c:406 with -mavx512pf and -Og
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 2 09:45:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79808
Bug ID: 79808
Summary: ICE in int_mode_for_mode, at stor-layout.c:406 with
-mavx512pf and -Og
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: kyukhin at gcc dot gnu.org
Target Milestone: ---
Target: x86-64-linux-gnu
Starting from when AVX512 was added, we ICE on:
$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-kortestw-1.c
-Og -mavx512pfIn file included from
/home/marxin/bin/gcc3/lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/immintrin.h:45:0,
from
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/avx512f-kortestw-1.c:5:
/home/marxin/bin/gcc3/lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/avx512fintrin.h:
In function ‘avx512f_test’:
/home/marxin/bin/gcc3/lib64/gcc/x86_64-pc-linux-gnu/7.0.1/include/avx512fintrin.h:10095:10:
internal compiler error: in int_mode_for_mode, at stor-layout.c:406
return (__mmask16) __builtin_ia32_kortestchi ((__mmask16) __A,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(__mmask16) __B);
~~~~~~~~~~~~~~~~
0xbf255f int_mode_for_mode(machine_mode)
../../gcc/stor-layout.c:406
0x8c54be emit_move_via_integer
../../gcc/expr.c:3289
0x8d228a emit_move_insn_1(rtx_def*, rtx_def*)
../../gcc/expr.c:3670
0x8d25e4 emit_move_insn(rtx_def*, rtx_def*)
../../gcc/expr.c:3738
0x8b5982 copy_to_reg(rtx_def*)
../../gcc/explow.c:585
0xf77d71 ix86_expand_builtin
../../gcc/config/i386/i386.c:37812
0x79beb6 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
../../gcc/builtins.c:6362
0x8ce224 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/expr.c:10810
0x8da3f6 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
../../gcc/expr.c:5552
0x8dbfe0 expand_assignment(tree_node*, tree_node*, bool)
../../gcc/expr.c:5321
0x7c05aa expand_call_stmt
../../gcc/cfgexpand.c:2656
0x7c05aa expand_gimple_stmt_1
../../gcc/cfgexpand.c:3571
0x7c05aa expand_gimple_stmt
../../gcc/cfgexpand.c:3737
0x7c223e expand_gimple_basic_block
../../gcc/cfgexpand.c:5744
0x7c8306 execute
../../gcc/cfgexpand.c:6357
More information about the Gcc-bugs
mailing list