https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105591
Bug ID: 105591 Summary: [13 Regression] ICE: in tree_to_poly_uint64, at tree.cc:3250 with -O -mavx512f -mno-avx2 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Created attachment 52970 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52970&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O -mavx512f -mno-avx2 testcase.c during GIMPLE pass: forwprop testcase.c: In function 'foo': testcase.c:5:1: internal compiler error: in tree_to_poly_uint64, at tree.cc:3250 5 | foo (U u) | ^~~ 0x7ffb50 tree_to_poly_uint64(tree_node const*) /repo/gcc-trunk/gcc/tree.cc:3250 0x7ffb50 tree_to_poly_uint64(tree_node const*) /repo/gcc-trunk/gcc/tree.cc:3248 0x14ed216 bit_field_offset(tree_node const*) /repo/gcc-trunk/gcc/tree.h:5370 0x14ed216 simplify_vector_constructor /repo/gcc-trunk/gcc/tree-ssa-forwprop.cc:2763 0x14ed216 execute /repo/gcc-trunk/gcc/tree-ssa-forwprop.cc:3755 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-413-20220513111901-g7b844206ec5-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-413-20220513111901-g7b844206ec5-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220513 (experimental) (GCC)