https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116865
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- ./cc1 -fanalyzer t.i -quiet -O2 during IPA pass: analyzer src/numfmt.c: In function ‘unit_to_umax’: src/numfmt.c:843:53: internal compiler error: in build2, at tree.cc:5099 0x25cc02e internal_error(char const*, ...) /home/apinski/src/upstream-gcc/gcc/gcc/diagnostic-global-context.cc:517 0x9dc15d fancy_abort(char const*, int, char const*) /home/apinski/src/upstream-gcc/gcc/gcc/diagnostic.cc:1512 0x8f0775 build2(tree_code, tree_node*, tree_node*, tree_node*) /home/apinski/src/upstream-gcc/gcc/gcc/tree.cc:5099 0x15c07a9 ana::region_model::get_representative_path_var_1(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5409 0x15c0a9a ana::region_model::get_representative_path_var(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5445 0x15c04cd ana::region_model::get_representative_path_var(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5431 0x15c04cd ana::region_model::get_representative_path_var_1(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5356 0x15c0a9a ana::region_model::get_representative_path_var(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5445 0x15c0b84 ana::region_model::get_representative_path_var(ana::svalue const*, hash_set<ana::svalue const*, false, default_hash_traits<ana::svalue const*> >*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5431 0x15c0b84 ana::region_model::get_representative_tree(ana::svalue const*, ana::logger*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:5477 0x253d892 ana::region_model::check_symbolic_bounds(ana::region const*, ana::svalue const*, ana::svalue const*, ana::svalue const*, ana::access_direction, ana::svalue const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/bounds-checking.cc:1324 0x253db71 ana::region_model::check_region_bounds(ana::region const*, ana::access_direction, ana::svalue const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/bounds-checking.cc:1427 0x15becfb ana::region_model::check_region_access(ana::region const*, ana::access_direction, ana::svalue const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:3299 0x15becfb ana::region_model::check_region_access(ana::region const*, ana::access_direction, ana::svalue const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:3288 0x15becfb ana::region_model::check_region_for_read(ana::region const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:3333 0x15becfb ana::region_model::check_region_for_read(ana::region const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:3330 0x15becfb ana::region_model::get_store_value(ana::region const*, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:2894 0x15c19ca ana::region_model::get_rvalue(ana::path_var, ana::region_model_context*) const /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:2814 0x15c6595 ana::region_model::on_assignment(gassign const*, ana::region_model_context*) /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/region-model.cc:1448 0x15889a1 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*, ana::uncertainty_t*, bool*, ana::path_context*) /home/apinski/src/upstream-gcc/gcc/gcc/analyzer/engine.cc:1538 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.