From: Michael Heerdegen <michael_heerdegen@web.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 47080-done@debbugs.gnu.org
Subject: bug#47080: 28.0.50; Spurious variable left uninitialized compiler warning
Date: Sat, 13 Mar 2021 01:13:49 +0100 [thread overview]
Message-ID: <87im5vzz9e.fsf@web.de> (raw)
In-Reply-To: <jwv7dmdhxd8.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 11 Mar 2021 22:29:08 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> 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.
next prev parent reply other threads:[~2021-03-13 0:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 0:04 bug#47080: 28.0.50; Spurious variable left uninitialized compiler warning Michael Heerdegen
2021-03-12 0:23 ` Lars Ingebrigtsen
2021-03-12 0:39 ` Michael Heerdegen
2021-03-12 2:58 ` Stefan Monnier
2021-03-12 3:07 ` Lars Ingebrigtsen
2021-03-12 3:29 ` Stefan Monnier
2021-03-13 0:13 ` Michael Heerdegen [this message]
2021-03-13 0:37 ` Stefan Monnier
2021-03-13 0:44 ` Michael Heerdegen
2021-03-13 0:58 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87im5vzz9e.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=47080-done@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).