public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/102196] New: -Wmaybe-uninitialized: Maybe generate helpful hints?
@ 2021-09-03 19:35 jbglaw@lug-owl.de
  2021-09-03 19:59 ` [Bug tree-optimization/102196] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jbglaw@lug-owl.de @ 2021-09-03 19:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102196

            Bug ID: 102196
           Summary: -Wmaybe-uninitialized: Maybe generate helpful hints?
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbglaw@lug-owl.de
  Target Milestone: ---

Hi!

I don't know the code behind -Wmaybe-uninitialized, but maybe it's possible to
show the path GCC considered when emitting this message?

Right now, with Debian's "gcc-snapshot" compiler, I cannot successfully "make
all-gas" for the microblaze-elf and mcore-elf targets (with current binutils at
0b99a66053fa1e93a984f75a7a3d5343c74882fb) due to a maybe-uninitialized warning
in md_assemble() which is kind of unpleasant to find the possible way through
the assignment maze...

My personal impression is that usually, the maybe-uninitialized warnings are
quite helpful, but it's somewhat tedious to track them down. As I'm revamping
my toolchain testing efforts, these show up every now and then.

Thanks,
  Jan-Benedict

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-04 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 19:35 [Bug middle-end/102196] New: -Wmaybe-uninitialized: Maybe generate helpful hints? jbglaw@lug-owl.de
2021-09-03 19:59 ` [Bug tree-optimization/102196] " pinskia at gcc dot gnu.org
2021-09-03 20:20 ` jbglaw@lug-owl.de
2021-09-03 20:34 ` pinskia at gcc dot gnu.org
2021-09-03 21:16 ` egallager at gcc dot gnu.org
2021-09-03 22:14 ` msebor at gcc dot gnu.org
2021-09-04 14:44 ` jbglaw@lug-owl.de

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).