From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 242913858410; Fri, 16 Jun 2023 21:29:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 242913858410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686950999; bh=go5LocILtHYzy8kTx4N8PwW6Q00Fum2LJ0PO6NFrV78=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MRbybfzknRqCvBxXk2pCz6D568eQftS46qmKlqE0WJiC9ZahAh3hhbyvdGEQK5Ezy zm9LXUFg43RVJ6EUY5+ARO5D1/XVVv3ZxxNpND7afKVfk5NtD16vpQdareG2eWcl6p RQ0C0wCBxZA+9t7+W+NphzZitWQLL4kCxBnvxRKE= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/110285] -Wanalyzer-infinite-recursion false positive involving floating-point values Date: Fri, 16 Jun 2023 21:29:58 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: short_desc 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=3D110285 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-Wanalyzer-infinite-recursi |-Wanalyzer-infinite-recursi |on false positive |on false positive involving | |floating-point values --- Comment #4 from David Malcolm --- Thanks for filing this. -fanalyzer currently doesn't attempt to track conditions involving floating point, so it incorrectly treats both A and !A as potentially being true alo= ng an execution path, leading to the false positive. Sorry about this.=