From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CBCEF3857351; Mon, 24 Oct 2022 20:49:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBCEF3857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666644554; bh=cen0RSRo7MoLON9JkdD60Q6u43LBOOktLOH4zH4biVc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=utAwrAybvFgEJ4cELzw7BrBGYcPNMfNP5k+Ad596/Ma13Pz7dWHfrv4Fb7cAZT/Gi c6uxhZJ1RPJI9u9awJ51kvfu2CMfhcAXi/rSQQ0X0BTm7Iat9HZ8y4w8PcPAO/i7of qsyxWG+q4aGZHBYyGWrn02WniWdLbf6gS1MiTwf4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/107345] - -Wanayzer-null-dereference false positive with giving weird path infomation Date: Mon, 24 Oct 2022 20:49:14 +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: cvs-commit 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=3D107345 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:18faaeb3af42f3d7dc609b9b91df77d0d59b16f6 commit r13-3468-g18faaeb3af42f3d7dc609b9b91df77d0d59b16f6 Author: David Malcolm Date: Mon Oct 24 16:38:23 2022 -0400 analyzer: handle (NULL =3D=3D &VAR) [PR107345] gcc/analyzer/ChangeLog: PR analyzer/107345 * region-model.cc (region_model::eval_condition_without_cm): Ensure that constants are on the right-hand side before checking for them. gcc/testsuite/ChangeLog: PR analyzer/107345 * gcc.dg/analyzer/pr107345.c: New test. Signed-off-by: David Malcolm =