From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE8353858D28; Sun, 17 Sep 2023 08:44:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE8353858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694940250; bh=9wuvPxx5k6gZ69EfOsbXQaKnBRzm52swMnGX/d3dNi8=; h=From:To:Subject:Date:From; b=vshJM+h709nXn419YPleo0xeIVtyXSGqZXiZkQOyGrI3FmdYWMGGD6FsHspDY57y5 G46EMWk99JfKnorEq94AphoB3Pxooc3kw0A8J/7xu+EffeXMBDEsil6wVLS777ldUI vxMPNJV2UJRiBlCfU5wgi1nzz3IA+TNFD3HjGaS8= From: "dale.mengli.ming at proton dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/111441] New: internal compiler error: in fold_binary_loc, at fold-const.cc:11580 Date: Sun, 17 Sep 2023 08:44:09 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dale.mengli.ming at proton dot me 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=3D111441 Bug ID: 111441 Summary: internal compiler error: in fold_binary_loc, at fold-const.cc:11580 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: dale.mengli.ming at proton dot me Target Milestone: --- Thanks for taking the time to look into this case. See it live: https://godbolt.org/z/Errh1v5rr. When the line `__analyzer_describe(0, a[c]);` is commented out, the internal compiler error disappears. Additionally, under the optimization levels `-O1= ` to `-O3`, this error does not occur.=