https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112393
Bug ID: 112393 Summary: [14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1208 with -mavx5124fmaps -Wuninitialized Product: gcc Version: 14.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 Target: x86_64-pc-linux-gnu Created attachment 56509 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56509&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -mavx5124fmaps -Wuninitialized testcase.c during GIMPLE pass: early_uninit testcase.c: In function 'foo': testcase.c:17:1: internal compiler error: in gen_reg_rtx, at emit-rtl.cc:1208 17 | } | ^ 0x7408fb gen_reg_rtx(machine_mode) /repo/gcc-trunk/gcc/emit-rtl.cc:1208 0x1067067 force_reg(machine_mode, rtx_def*) /repo/gcc-trunk/gcc/explow.cc:692 0x198d7f7 ix86_expand_vec_perm_vpermt2 /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:5261 0x199c9e7 expand_vec_perm_1 /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:20302 0x199ca11 expand_vec_perm_1 /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:20307 0x199ee18 ix86_expand_vec_perm_const_1 /repo/gcc-trunk/gcc/config/i386/i386-expand.cc:22964 0x19c95d9 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:23295 0x1a68ea4 gimple_simplify_VEC_PERM_EXPR(gimple_match_op*, gimple**, tree_node* (*)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*, tree_node*) /repo/build-gcc-trunk-amd64/gcc/gimple-match-8.cc:17848 0x1b4b543 gimple_resimplify3 /repo/gcc-trunk/gcc/gimple-match-exports.cc:1077 0x1b4c6a2 gimple_simplify(gimple*, gimple_match_op*, gimple**, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) /repo/gcc-trunk/gcc/gimple-match-exports.cc:868 0x11322c1 gimple_fold_stmt_to_constant_1(gimple*, tree_node* (*)(tree_node*), tree_node* (*)(tree_node*)) /repo/gcc-trunk/gcc/gimple-fold.cc:7543 0x16e84ac try_to_simplify /repo/gcc-trunk/gcc/tree-ssa-sccvn.cc:6136 0x16e84ac visit_stmt /repo/gcc-trunk/gcc/tree-ssa-sccvn.cc:6179 0x16e90a5 process_bb /repo/gcc-trunk/gcc/tree-ssa-sccvn.cc:8010 0x16eabcc do_rpo_vn_1 /repo/gcc-trunk/gcc/tree-ssa-sccvn.cc:8609 0x16ec4da do_rpo_vn(function*, edge_def*, bitmap_head*, bool, bool, vn_lookup_kind) /repo/gcc-trunk/gcc/tree-ssa-sccvn.cc:8711 0x173f7af execute_early_warn_uninitialized /repo/gcc-trunk/gcc/tree-ssa-uninit.cc:1478 0x173f7af execute /repo/gcc-trunk/gcc/tree-ssa-uninit.cc:1517 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-r14-5128-20231105174125-g9acea4376fd-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.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 --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-r14-5128-20231105174125-g9acea4376fd-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231105 (experimental) (GCC)