https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96262
Bug ID: 96262
Summary: [11 Regression] ICE: in decompose, at rtl.h:2280 with
-O -mavx512bw
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 48903
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48903&action=edit
reduced testcase
Compiler output:
$ x86_64-pc-linux-gnu-gcc -O -mavx512bw testcase.c
during RTL pass: combine
testcase.c: In function 'foo':
testcase.c:7:1: internal compiler error: in decompose, at rtl.h:2280
7 | }
| ^
0x7267b9 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
/repo/gcc-trunk/gcc/rtl.h:2280
0x7267b9 wide_int_ref_storage<false,
true>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode>
>(std::pair<rtx_def*, machine_mode> const&)
/repo/gcc-trunk/gcc/wide-int.h:1024
0x7267b9 generic_wide_int<wide_int_ref_storage<false, true>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&)
/repo/gcc-trunk/gcc/wide-int.h:782
0x7267b9 simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
/repo/gcc-trunk/gcc/simplify-rtx.c:1793
0x10ad410 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
/repo/gcc-trunk/gcc/simplify-rtx.c:868
0x10b0c6e simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
/repo/gcc-trunk/gcc/simplify-rtx.c:1765
0x10ad410 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
/repo/gcc-trunk/gcc/simplify-rtx.c:868
0x1af73b5 combine_simplify_rtx
/repo/gcc-trunk/gcc/combine.c:5785
0x1afa007 subst
/repo/gcc-trunk/gcc/combine.c:5725
0x1afa16e subst
/repo/gcc-trunk/gcc/combine.c:5658
0x1afa16e subst
/repo/gcc-trunk/gcc/combine.c:5658
0x1afc126 try_combine
/repo/gcc-trunk/gcc/combine.c:3451
0x1b04f14 combine_instructions
/repo/gcc-trunk/gcc/combine.c:1324
0x1b04f14 rest_of_handle_combine
/repo/gcc-trunk/gcc/combine.c:15068
0x1b04f14 execute
/repo/gcc-trunk/gcc/combine.c:15113
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.
$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r11-2246-20200721142816-gc850a642e1d-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r11-2246-20200721142816-gc850a642e1d-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200721 (experimental) (GCC)