From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 146013858D1E; Wed, 9 Nov 2022 22:26:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 146013858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668032774; bh=lzIVPOpBJs5ZPC23XdQVUduBdBJPekTKjM6i8PIi+us=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VgCQfdC0FSjFM6BdAXXQzMJiKjNamvhBRxIcSpWgLMSwO05RyGE9ITkhSxcOP2oax 0OhIINRDCJ/p7cs/YlQHgdJGlLWuf3t/XmN0NlHg6lO21ntzZAzIeNIJFPPqjLEvsq Gwo0x2cF4nxKA7k+7HJB27nikNaR5zmjXssfecow= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/99671] RFE: analyzer could complain about ptr derefs that occur before the ptr is checked Date: Wed, 09 Nov 2022 22:26:13 +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: 11.0 X-Bugzilla-Keywords: 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: attachments.created 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=3D99671 --- Comment #2 from David Malcolm --- Created attachment 53863 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53863&action=3Dedit Implementation of this (not yet ported to Sphinx) This patch implements the new warning; still uses texinfo rather than sphin= x.=20 Not yet posted to mailing list; am waiting on dust to settle from the texinfo->sphinx transition on trunk.=