From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 34C3138543BE; Fri, 13 Jan 2023 22:56:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34C3138543BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673650600; bh=bf6dHThfzXqxChgl+WdDhzPU9J2bGV3xnbfmsnPrlro=; h=From:To:Subject:Date:In-Reply-To:References:From; b=shsNs+pgptmD48kdmOUGP4YxKgLBPsfSCb+JUenqaONvklezTSRlf3BG0iAe6iGdM PPcIYC/zKXCVQFgftlcHlsBpo5bPf78HGHAMZ2Y2gtPxZnoEZo7QPAryc4t+zdjUA4 ox0myMjvFHpJA3Swh6hNQQwbsxB9nW/j1lnbE7IY= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/105273] -Wanalyzer-use-of-uninitialized-value warns on "missing" default for switch when callers can be statically determined Date: Fri, 13 Jan 2023 22:56:39 +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: 12.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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_status everconfirmed cf_reconfirmed_on 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=3D105273 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Last reconfirmed| |2023-01-13 --- Comment #8 from David Malcolm --- Should be fixed on trunk for GCC 13 by the above commit. I hope to backport this to GCC 12; keeping this bug open to track that.=