From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 18FAE3875B48; Tue, 6 Dec 2022 18:56:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 18FAE3875B48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670352968; bh=pwedXk1XhgdrPLgPhHKpvf1aXmY3tAZ29b2kjNzg2vk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vLFcwc1LPEoiJv8TK2Aw8oOqSoW7eRug5B7vtazziYCRWlrTEkKshRzSIuG3EhnQA q4NeOHThPff0D4vNeHw2ovIYts3HgRn30X/zoAcYuFZbknQOSIeAPMaZT+OkRyyGe5 CPQZmW4y3X9yIFRc5q57AI65oByyT1q91E647riE= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/106325] -Wanalyzer-null-dereference false positive due to analyzer not making assumptions for `__attribute__((nonnull))` Date: Tue, 06 Dec 2022 18:56:07 +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.1.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: 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=3D106325 --- Comment #8 from David Malcolm --- Should be fixed on trunk for GCC 13 by the above patch. Still affects GCC 12, GCC 11, and GCC 10.=