[Bug target/107271] New: [13 Regression] ICE: in expand_vec_perm_shufps_shufps, at config/i386/i386-expand.cc:19676 with __builtin_shuffle()
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sat Oct 15 12:21:45 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107271
Bug ID: 107271
Summary: [13 Regression] ICE: in expand_vec_perm_shufps_shufps,
at config/i386/i386-expand.cc:19676 with
__builtin_shuffle()
Product: gcc
Version: 13.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 53707
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53707&action=edit
reduced testcase
Compiler output:
$ x86_64-pc-linux-gnu-gcc testcase.c
during RTL pass: expand
In function 'bar',
inlined from 'foo' at testcase.c:12:10:
testcase.c:6:10: internal compiler error: in expand_vec_perm_shufps_shufps, at
config/i386/i386-expand.cc:19676
6 | return __builtin_shuffle ((V){}, v128u32_0, v128u32_0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x8505c7 expand_vec_perm_shufps_shufps
/repo/gcc-trunk/gcc/config/i386/i386-expand.cc:19676
0x8505c7 ix86_expand_vec_perm_const_1
/repo/gcc-trunk/gcc/config/i386/i386-expand.cc:22268
0x185bebb ix86_vectorize_vec_perm_const(machine_mode, machine_mode, rtx_def*,
rtx_def*, rtx_def*, vec_perm_indices const&)
/repo/gcc-trunk/gcc/config/i386/i386-expand.cc:22598
0x1286429 expand_vec_perm_const(machine_mode, rtx_def*, rtx_def*,
int_vector_builder<poly_int<1u, long> > const&, machine_mode, rtx_def*)
/repo/gcc-trunk/gcc/optabs.cc:6254
0xfd7e72 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
/repo/gcc-trunk/gcc/expr.cc:10275
0xea9268 expand_gimple_stmt_1
/repo/gcc-trunk/gcc/cfgexpand.cc:3983
0xea9268 expand_gimple_stmt
/repo/gcc-trunk/gcc/cfgexpand.cc:4044
0xeaf286 expand_gimple_basic_block
/repo/gcc-trunk/gcc/cfgexpand.cc:6096
0xeb0cb7 execute
/repo/gcc-trunk/gcc/cfgexpand.cc:6822
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
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-r13-3311-20221015001738-gbaeec7cc83b-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.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-r13-3311-20221015001738-gbaeec7cc83b-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.0.0 20221015 (experimental) (GCC)
More information about the Gcc-bugs
mailing list