From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#47080: 28.0.50; Spurious variable left uninitialized compiler warning Date: Sat, 13 Mar 2021 01:13:49 +0100 Message-ID: <87im5vzz9e.fsf@web.de> References: <87tuph6xvl.fsf@web.de> <875z1xz0d6.fsf@gnus.org> <87lfatul18.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23798"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 47080-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 13 01:15:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKrvz-00064d-D5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 01:15:11 +0100 Original-Received: from localhost ([::1]:44700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKrvy-0002Aj-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 19:15:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKrvq-0002Aa-NR for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 19:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKrvq-0005cG-G8 for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 19:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKrvq-0000gr-Ab for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 19:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 00:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47080 X-GNU-PR-Package: emacs Original-Received: via spool by 47080-done@debbugs.gnu.org id=D47080.16155944432566 (code D ref 47080); Sat, 13 Mar 2021 00:15:02 +0000 Original-Received: (at 47080-done) by debbugs.gnu.org; 13 Mar 2021 00:14:03 +0000 Original-Received: from localhost ([127.0.0.1]:58654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKrus-0000fK-Qy for submit@debbugs.gnu.org; Fri, 12 Mar 2021 19:14:02 -0500 Original-Received: from mout.web.de ([217.72.192.78]:35843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKruq-0000eh-G4 for 47080-done@debbugs.gnu.org; Fri, 12 Mar 2021 19:14:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1615594431; bh=5btJBUHmLXivdoW5YB90ezeaZLfducp1ZP9mbx+Iy/8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=bq/fAa12VsYshRcwqZlIDuocBlZlUqsGnCSXCenOeLo3F1FBW+VUlfch4WjfZUzXO btusbRBGXru4Ax1p8vjk18Rep8YfCpq7aMDr06f6AhJ88GpzXOmZlsxUCM6XNZs/JD n3PJ22LLyMsldv25HjXmdwJP3JQpR6chlKGHnGP0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.218.220.60]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MECGl-1lSseY0gAH-009w2z; Sat, 13 Mar 2021 01:13:51 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 11 Mar 2021 22:29:08 -0500") X-Provags-ID: V03:K1:uBPk/eaeAhD2BK4nIAjjx5VESMkWQL72wWUSVSHCFO+fSw2wCRn 5SmnQSzUDLQejQpe2QRe6i/m98IFUfsq0PbteyAJvWROZVY6di0x/ntPPCNWv2vmErB7VuL JxOt0HYcvKjKi1ojp6RPY3pHKLJi1PGXUphaOnewa7DJH13yGdNUnfGMGWhAkcLAMvHi/ZO 4jG4eS8w4fLog75dHgsDw== X-UI-Out-Filterresults: notjunk:1;V03:K0:+x5U1iucF4o=:6hxVTc4Al7hvFxHGXHm8Wp CmBjiNH8jBjvsj7f2efmFafRr5iFaZNY1xC54+I0PlGDcjireClDm7YAjfteu+tyR4bVT8arU pFPjQVHXkATTMU2tJFPL7qaBu9lRdFWs7WhDNOtUl/ygKURCvTsZ8+BzmBgrgMdQCS+xvyKyD OkzGr2rHOA2gMabBU9RUwKiJyskN3QmYhRuVUpSPcDyb73UdnmZkEuIgXn/ozlIk0Zihr92Kb Id4cI9jOI6TQ4Dvwk+pH6Kw6TNGXi52vG1foE2K+XvwXwk9xTsJIAn7siYXsBhUZu2BFJ+2fQ BsL53Ef/Vd8rmeR3ZZR9Fqce9RpNZc158Gg0WdtcYIlaqPSqR7HqZaVBe81mCZwIxIuIqRj40 BiIX6NWmEaUCqQ35MUlDIxHVT3cUlZbE6HLfBQLt3rQ881BPKaSK07mb+PvqWypHRsEUga17w AifO54s9oliaxdr6/oTh1lVrmvZ9g+xjMXGDuzEJZOWuHWFC8uz2kUxqEZUNlkgZFzSg3Q8A5 vAdBrwK+QAziiiIRcgsMRQ4UkRMwTM+YkDU6OJuM9AAin0XUidDijNd4ZET3NSKYsV6Xvz2RX vKfuRVrAkyrnadPkV5jCeZGojsQ2yFBOC/LyVaFhj9u283GNsUJX1lHhdn/vAVoNjDXVgqOT3 RMA6cPNpxAifW6f4BRvWG08zpKijr8Cpvx42E3zyy8hvJSj561HCIKqF6OMhX2vCYzd+ql7Ar gsedvqduoNLbdgzkGYpyNPjwCvDCSwBBVGa+cxzvNr/FN5rBiCEJlKwUnaQdHIUp8MVNV0E9 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202214 Archived-At: Stefan Monnier writes: > Indeed, the warning could even be generalized to other trivial constant > values like `t`, but I think what we have already gives enough false > positives ;-) FWIW, I also got one or two true positives in my own stuff. To avoid false positives, is it possible to limit the warning to "human written" code or to code that is not the result of macro expansion? Thanks, Michael.