From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E6DD0394D832; Mon, 28 Sep 2020 18:16:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6DD0394D832 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/97233] New: [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1465 Date: Mon, 28 Sep 2020 18:16:38 +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: 11.0 X-Bugzilla-Keywords: 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 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: Mon, 28 Sep 2020 18:16:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97233 Bug ID: 97233 Summary: [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1465 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-11.0.0-alpha20200927 snapshot (g:e24817aa7a1c6d12039b486ab5ea9b5ee0a46c= d4) ICEs when compiling the following testcase w/ -fanalyzer: void longjmp (__SIZE_TYPE__, int); void e7 (__SIZE_TYPE__ gr) { longjmp (gr, 1); } % gcc-11.0.0 -fanalyzer -c tdkztnou.c during IPA pass: analyzer tdkztnou.c: In function 'e7': tdkztnou.c:7:3: internal compiler error: in deref_rvalue, at analyzer/region-model.cc:1465 7 | longjmp (gr, 1); | ^~~~~~~~~~~~~~~ 0x7345b8 ana::region_model::deref_rvalue(ana::svalue const*, tree_node*, ana::region_model_context*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/region-model.cc:1465 0x1128c06 ana::exploded_node::on_longjmp(ana::exploded_graph&, gcall const*, ana::program_state*, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:1283 0x1129383 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:1133 0x112ae65 ana::exploded_graph::process_node(ana::exploded_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:2811 0x112b94a ana::exploded_graph::process_worklist() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:2446 0x112da6d ana::impl_run_checkers(ana::logger*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:4498 0x112e8bc ana::run_checkers() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/engine.cc:4569 0x1121e38 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gc= c/analyzer/analyzer-pass.cc:84=