From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2468E3851882; Mon, 21 Nov 2022 07:42:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2468E3851882 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669016575; bh=6FwcAP97RqPtDCrvA06lssncPLE89bpPJ39EkkN34Xo=; h=From:To:Subject:Date:From; b=Mu6negLDi8fecErPIuwvohrtZ0RuTLr/Q/TDc5GXqauNk/9n0dauTt4G8iRGeH/7x 6x69/zM3Jq+ZHYTP/uQ99or5ALw+TwqjtSmEiIM42ekoEshJsrPORKrc2x2RpwteVI Z1YOszEQNXeaS9MsMplDPxehjB8kE8Iy3jNZA6mU= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107783] New: [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3238 Date: Mon, 21 Nov 2022 07:42:52 +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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107783 Bug ID: 107783 Summary: [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3238 Product: gcc Version: 13.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 13.0.0 20221120 snapshot (g:a16a5460447eaaff0b4468064e4d7b1cc8fc42eb) I= CEs when compiling the following testcase w/ -fanalyzer: int foo (void) { return bind (0, 0, 0); } % gcc-13 -fanalyzer -w -c oerlsfmf.c during IPA pass: analyzer oerlsfmf.c: In function 'foo': oerlsfmf.c:4:10: internal compiler error: in deref_rvalue, at analyzer/region-model.cc:3238 4 | return bind (0, 0, 0); | ^~~~~~~~~~~~~~ 0x7bd370 ana::region_model::deref_rvalue(ana::svalue const*, tree_node*, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/region-model.cc:3238 0x13091e4 check_for_new_socket_fd =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/sm-fd.cc:1785 0x130b16d on_bind =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/sm-fd.cc:1848 0x130b16d ana::region_model::on_bind(ana::call_details const&, bool) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/sm-fd.cc:2284 0x12e7646 ana::kf_bind::outcome_of_bind::update_model(ana::region_model*, ana::exploded_edge const*, ana::region_model_context*) const =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/region-model-impl-calls.cc:630 0x12a8cee ana::exploded_graph::process_node(ana::exploded_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/engine.cc:4170 0x12a984a ana::exploded_graph::process_worklist() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/engine.cc:3457 0x12abfd4 ana::impl_run_checkers(ana::logger*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/engine.cc:6110 0x12acfd6 ana::run_checkers() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/engine.cc:6198 0x129b8d8 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221120/work/gcc-13-20221120/gcc/an= alyzer/analyzer-pass.cc:87=