From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF98D3855151; Mon, 5 Dec 2022 23:00:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF98D3855151 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670281211; bh=JnBiUzL8UBhntMv5ttIE1N6AI1mK/bKQtgao3E+zymc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hMsTWLk+SAV2VbkMb4EBFDB5UtVk34eLK6PB0/szKCb7ikuvm2rSZssYV5AZ42VJK auza96mJWOdJQVJ0oG8xlvidNzoyxKa8KsKt/4v8PGA0yN9D64lOqb3P4peWSZOz8Z BP+iy1wZKUgqOjtBhRchfyp9mPJpxieGpAWA8OP4= 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: Mon, 05 Dec 2022 23:00:11 +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: 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=3D106325 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from David Malcolm --- Gah, this is slightly over-reduced, in that it removes the nonnull attribut= es.=20 I'll try putting them back in. Working on a fix.=