From: Eli Zaretskii via Gdb-patches <gdb-patches@sourceware.org>
To: Simon Marchi <simon.marchi@polymtl.ca>
Cc: gdb-patches@sourceware.org, brobecker@adacore.com
Subject: Re: GDB 11.0.90 available for testing
Date: Thu, 08 Jul 2021 22:03:26 +0300 [thread overview]
Message-ID: <83wnq0d3wh.fsf@gnu.org> (raw)
In-Reply-To: <5f0c8991-fbcc-1cf9-119f-3b4195f32bea@polymtl.ca> (message from Simon Marchi on Thu, 8 Jul 2021 12:56:25 -0400)
> Cc: gdb-patches@sourceware.org
> From: Simon Marchi <simon.marchi@polymtl.ca>
> Date: Thu, 8 Jul 2021 12:56:25 -0400
>
> > CXX symtab.o
> > symtab.c: In member function 'bool info_sources_filter::matches(const char*) const':
> > symtab.c:4247:28: warning: 'to_match' may be used uninitialized in this function [-Wmaybe-uninitialized]
> > 4247 | if (m_c_regexp->exec (to_match, 0, NULL, 0) != 0)
> > | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
> >
> > I guess we need a 'default:' case there? Or maybe initialize
> > 'to_match' with some suitable value?
>
> See:
>
> https://sourceware.org/pipermail/gdb-patches/2021-July/180689.html
>
> So it would be worth pushing that patch to the release branch.
Yes, I agree.
next prev parent reply other threads:[~2021-07-08 19:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-03 18:48 Joel Brobecker
2021-07-08 16:39 ` Eli Zaretskii via Gdb-patches
2021-07-08 16:56 ` Simon Marchi via Gdb-patches
2021-07-08 19:03 ` Eli Zaretskii via Gdb-patches [this message]
2021-07-11 14:01 ` Joel Brobecker
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83wnq0d3wh.fsf@gnu.org \
--to=gdb-patches@sourceware.org \
--cc=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=simon.marchi@polymtl.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox