From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1643C3858C2D; Tue, 16 Aug 2022 04:46:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1643C3858C2D From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/106634] New: [13 Regression] ICE in get_region_for_local, at analyzer/region.cc:874 Date: Tue, 16 Aug 2022 04:46:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2022 04:46:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106634 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) I= CEs 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 =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region.cc:874 0x12d23f2 ana::region_model::get_lvalue(ana::path_var, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:2618 0x12cebc7 ana::region_model::get_rvalue_1(ana::path_var, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:2677 0x12cf04c ana::region_model::get_rvalue(ana::path_var, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:2752 0x12ce26e ana::region_model::check_region_bounds(ana::region const*, ana::access_direction, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:1651 0x12ce73b ana::region_model::check_region_access(ana::region const*, ana::access_direction, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:3236 0x12ce73b ana::region_model::check_region_for_read(ana::region const*, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:3266 0x12ce73b ana::region_model::get_store_value(ana::region const*, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:2850 0x12cf04c ana::region_model::get_rvalue(ana::path_var, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/region-model.cc:2752 0x12d61c7 ana::region_model::on_assignment(gassign const*, ana::region_model_context*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/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*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/engine.cc:1430 0x12addef ana::exploded_graph::process_node(ana::exploded_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/engine.cc:3868 0x12aee1a ana::exploded_graph::process_worklist() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/engine.cc:3271 0x12b14bc ana::impl_run_checkers(ana::logger*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/engine.cc:5912 0x12b250e ana::run_checkers() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/engine.cc:5986 0x12a14b8 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20220814/work/gcc-13-20220814/gcc/an= alyzer/analyzer-pass.cc:87=