https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110455
Bug ID: 110455 Summary: tree check: expected none of vector_type, have vector_type in get_gassign_result, at analyzer/region-model.cc:870 with -fanalyzer[14 Regression] ICE: Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Created attachment 55411 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55411&action=edit reduced testcase Probably since commit fe48f2651334bc4d96b6df6b2bb6b29fcb732a83 Compiler output: $ x86_64-pc-linux-gnu-gcc -fanalyzer testcase.c during IPA pass: analyzer testcase.c: In function 'foo': testcase.c:6:9: internal compiler error: tree check: expected none of vector_type, have vector_type in get_gassign_result, at analyzer/region-model.cc:870 6 | v | v << 1; | ~~^~~~ 0x85e0a3 tree_not_check_failed(tree_node const*, char const*, int, char const*, ...) /repo/gcc-trunk/gcc/tree.cc:8936 0x893730 tree_not_check(tree_node*, char const*, int, char const*, tree_code) /repo/gcc-trunk/gcc/tree.h:3581 0x893730 ana::region_model::get_gassign_result(gassign const*, ana::region_model_context*) /repo/gcc-trunk/gcc/analyzer/region-model.cc:870 0x1856eac ana::region_model::on_assignment(gassign const*, ana::region_model_context*) /repo/gcc-trunk/gcc/analyzer/region-model.cc:1156 0x18257d0 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*, ana::uncertainty_t*, ana::path_context*) /repo/gcc-trunk/gcc/analyzer/engine.cc:1471 0x182851d ana::exploded_graph::process_node(ana::exploded_node*) /repo/gcc-trunk/gcc/analyzer/engine.cc:4063 0x18293ba ana::exploded_graph::process_worklist() /repo/gcc-trunk/gcc/analyzer/engine.cc:3466 0x182ba6f ana::impl_run_checkers(ana::logger*) /repo/gcc-trunk/gcc/analyzer/engine.cc:6125 0x182c916 ana::run_checkers() /repo/gcc-trunk/gcc/analyzer/engine.cc:6213 0x181bae8 execute /repo/gcc-trunk/gcc/analyzer/analyzer-pass.cc:87 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-2153-20230628163757-gf3d87219dd5-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-2153-20230628163757-gf3d87219dd5-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230628 (experimental) (GCC)