From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 16FD61F4B4 for ; Sun, 3 Jan 2021 01:54:34 +0000 (UTC) Received: from localhost ([::1]:34766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvsbJ-0004do-8u for normalperson@yhbt.net; Sat, 02 Jan 2021 20:54:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvsbG-0004dh-Q8 for bug-gnulib@gnu.org; Sat, 02 Jan 2021 20:54:30 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.51]:14929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvsbE-0001zP-WD for bug-gnulib@gnu.org; Sat, 02 Jan 2021 20:54:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1609638866; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:From: Subject:Sender; bh=h6jqGIfINxY06tQNFqOapzPsp69kGAOOOScBWeUZjT4=; b=Hb9onjWJf//lxOW6QVuGqO8VVaHpr694OS3lqCfpRZ6gzmDLwOPeRWLWNAPSx+BlJB HAeJ+m1U047jT1UXHxLpAVuzrOZn2yIDo4PiHiAovqTB9r3kQ16lyxOQeDrgSs+Gq8jo 0Tvf13JYT1HODrfqjkePS826vhoSnpqqlUmrtBBnGu4s84Ik9FbRS1bZAoRvW21Az9Xk g9Pre4w6KaMp/ynOxbCd6mDmKr1VM2rfzx6Ch3sc3hWuQpJsIm22YFTk+2DpfJi0XeZr gJPWwt++CoJoszpB7VO0BRH3U3N0XE5OFhHlu8g10lqSOv6a+f7U0jVvDDiD1qq5P7yi we/g== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6f3z/s=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.10.7 DYNA|AUTH) with ESMTPSA id e012d5x031sNaQO (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 3 Jan 2021 02:54:23 +0100 (CET) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: vasnprintf.c vs GCC11's -Wanalyzer-null-argument (and glibc-2.31) Date: Sun, 03 Jan 2021 02:54:23 +0100 Message-ID: <3737660.3Hbm7dB2au@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <2624561.TfKlLiq1dV@omega> References: <2624561.TfKlLiq1dV@omega> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.51; envelope-from=bruno@clisp.org; helo=mo4-p01-ob.smtp.rzone.de X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.118, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jim Meyering Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" When I wrote: > So, in the current state, looking at -fanalyzer / -Wanalyzer outputs is > still a waste of time. I meant this with respect to Gnulib source code, which is usually reviewed by 2 people, which has unit tests, and so on. It is well possible that -fanalyzer / -Wanalyzer is useful to find simple coding mistakes in other packages. Bruno