From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 097893971C36; Fri, 1 May 2020 18:00:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 097893971C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588356007; bh=MDVi4Sautehaow2Ey9k3tzPRLn9nzjo6OqEegofg5dc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DOHPRrvF8g3MTV9k+TDkcB2tn68o6M6d1GW7mIk3NKMl8LR05C3C7ZmxMNFTPaeEM bpYGJBZqjW/onARiJqzYYMJYD14IGOi/1tavbRe+cMgvxw1qSg3TN+hS/ZqajAl9jw pwpc/9rBxyiFyqIVnasrY0qPEXz7Cgy2nkm9WpH0= From: "msebor at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/90036] [8/9/10/11 Regression] false positive: directive argument is null [-Werror=format-overflow=] Date: Fri, 01 May 2020 18:00:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 8.3.1 X-Bugzilla-Keywords: deferred, diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: msebor at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2020 18:00:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90036 --- Comment #10 from Martin Sebor --- The warning for the test in comment #3 has disappeared in GCC 10 (it's still there in GCC 9). There are no printf calls with null arguments in the strl= en dump. GCC 10 still issues a warning for the test in comment #8. The predicate analysis might be something to look into for GCC 11.=