public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/106634] New: [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874
@ 2022-08-16  4:46 asolokha at gmx dot com
  2022-08-16  6:53 ` [Bug analyzer/106634] [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 since r13-2029-g7e3b45befdbbf1a1 marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2022-08-16  4:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106634

            Bug ID: 106634
           Summary: [13 Regression] ICE in get_region_for_local, at
                    analyzer/region.cc:874
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc 13.0.0 20220814 snapshot (g:fe4dc4f553d8639b0ce3465e5e6dcf61c1ae9752) ICEs
when compiling gcc/testsuite/gcc.dg/torture/pr92088-1.c w/ -fanalyzer:

% gcc-13.0.0 -fanalyzer -c gcc/testsuite/gcc.dg/torture/pr92088-1.c
during IPA pass: analyzer
gcc/testsuite/gcc.dg/torture/pr92088-1.c: In function 'g':
gcc/testsuite/gcc.dg/torture/pr92088-1.c:7:11: internal compiler error: in
get_region_for_local, at analyzer/region.cc:874
    7 |   return p[9];
      |          ~^~~
0x7c7dd8 ana::frame_region::get_region_for_local(ana::region_model_manager*,
tree_node*, ana::region_model_context const*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region.cc:874
0x12d23f2 ana::region_model::get_lvalue(ana::path_var,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:2618
0x12cebc7 ana::region_model::get_rvalue_1(ana::path_var,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:2677
0x12cf04c ana::region_model::get_rvalue(ana::path_var,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:2752
0x12ce26e ana::region_model::check_region_bounds(ana::region const*,
ana::access_direction, ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:1651
0x12ce73b ana::region_model::check_region_access(ana::region const*,
ana::access_direction, ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:3236
0x12ce73b ana::region_model::check_region_for_read(ana::region const*,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:3266
0x12ce73b ana::region_model::get_store_value(ana::region const*,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:2850
0x12cf04c ana::region_model::get_rvalue(ana::path_var,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:2752
0x12d61c7 ana::region_model::on_assignment(gassign const*,
ana::region_model_context*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/region-model.cc:1089
0x12aaf48 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode
const*, gimple const*, ana::program_state*, ana::uncertainty_t*,
ana::path_context*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/engine.cc:1430
0x12addef ana::exploded_graph::process_node(ana::exploded_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/engine.cc:3868
0x12aee1a ana::exploded_graph::process_worklist()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/engine.cc:3271
0x12b14bc ana::impl_run_checkers(ana::logger*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/engine.cc:5912
0x12b250e ana::run_checkers()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/engine.cc:5986
0x12a14b8 execute
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/analyzer/analyzer-pass.cc:87

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-21  9:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  4:46 [Bug analyzer/106634] New: [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 asolokha at gmx dot com
2022-08-16  6:53 ` [Bug analyzer/106634] [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 since r13-2029-g7e3b45befdbbf1a1 marxin at gcc dot gnu.org
2022-08-16  8:00 ` rguenth at gcc dot gnu.org
2022-08-16 15:17 ` dmalcolm at gcc dot gnu.org
2023-04-26  6:56 ` [Bug analyzer/106634] [13/14 Regression] ICE in get_region_for_local with nested function extension " rguenth at gcc dot gnu.org
2023-07-27  9:23 ` rguenth at gcc dot gnu.org
2024-04-22 16:50 ` dmalcolm at gcc dot gnu.org
2024-05-21  9:12 ` [Bug analyzer/106634] [13/14/15 " jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).