From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 435EB3857B9D; Fri, 16 Feb 2024 19:21:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 435EB3857B9D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708111276; bh=Y8o/JaQCVL873F1zp9A+jrtq+gJS0XvfC2ZIbsRNU/E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PPJo1dHQ2sorKCbOL16aITPZe3Z6HH8T5A9ou/4/YVxfU2MVWl3awX4tciL81ZY6h n75vkSNRvG76DZGxdJo3GteX92o4LZm4qrcZKa49Ajkasz1l7Gpcra6OHtEz37PzgY nry5Yomf0BqwWpFFeKlHH7CLtvCnMFxIPg4UGpBo= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/109628] -Wanalyzer-use-of-uninitialized-value false positive on static storage Date: Fri, 16 Feb 2024 19:21:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME 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: resolution bug_status Message-ID: In-Reply-To: References: 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=3D109628 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WORKSFORME Status|UNCONFIRMED |RESOLVED --- Comment #1 from David Malcolm --- Thanks for filing this bug. Seems to be fixed on trunk (for GCC 14): https://godbolt.org/z/ecYGxa3nh Affects GCC 13.2: https://godbolt.org/z/sxs3G1KEc Affects GCC 12.3: https://godbolt.org/z/v4nz19Mj1 I'm going to assume that one of my other fixes on trunk covered this; marki= ng as RESOLVED WORKSFORME. Feel free to reopen if you still see it with GCC 14 onwards.=