From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 504703858401; Tue, 1 Nov 2022 05:28:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 504703858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667280509; bh=A5kXOygl/Cf7T2oNkaj3EkpZJ5D9Ylmp2U1wKT6r82Y=; h=From:To:Subject:Date:From; b=b8fd0PoZRIGwHCqe26vqO7fHTnQtpH3HUiJcjgrwlyYzKX4IIFURfp14cKtxcZhGQ KkKiBhuAYq7kU6kjUzTreJAWeDrCTUe5RWLgUd/6uggy/s3n7Ve4TZ9VHI7lJJXvy2 71Fvqmxv+IRImqn+ry5FHbRec5ga7+qRsoWVpew4= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107486] New: [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3317 Date: Tue, 01 Nov 2022 05:28:10 +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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107486 Bug ID: 107486 Summary: [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3317 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 20221030 snapshot (g:f36bba013361d8d4f9c7237c3307630de0cc0416) I= CEs when compiling the following testcase, reduced from test/CodeGen/2008-07-31-asm-labels.c from the clang 14 test suite, w/ -fanalyzer: void pipe(int) asm("_thisIsNotAPipe"); void f1(void) { pipe(1); } % gcc-13 -fanalyzer -c sdgrfguh.c during IPA pass: analyzer sdgrfguh.c: In function 'f1': sdgrfguh.c:4:3: internal compiler error: in deref_rvalue, at analyzer/region-model.cc:3317 4 | pipe(1); | ^~~~~~~ 0x7d4fd0 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_p20221030/work/gcc-13-20221030/gcc/an= alyzer/region-model.cc:3317 0x13151ea update_model =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/region-model-impl-calls.cc:608 0x12d9d4d ana::exploded_graph::process_node(ana::exploded_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/engine.cc:4133 0x12da7aa ana::exploded_graph::process_worklist() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/engine.cc:3422 0x12dce9c ana::impl_run_checkers(ana::logger*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/engine.cc:6070 0x12ddeee ana::run_checkers() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/engine.cc:6144 0x12cc848 execute =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/an= alyzer/analyzer-pass.cc:86=