https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Bug 78394 depends on bug 65244, which changed state.
Bug 65244 Summary: Bogus -Wmaybe-uninitialized warning with posix_memalign()
and -Og
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Bug 78394 depends on bug 100845, which changed state.
Bug 100845 Summary: [11/12 Regression] False positive for
-Werror=maybe-uninitialized since r11-959-gb825a22890740f34
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100845
What
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #17 from Allan Jensen ---
Yes, if you can figure out exactly what optimization passes it needs, then we
could disable the warning when those passes are disabled.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Martin Sebor changed:
What|Removed |Added
Last reconfirmed|2017-07-20 00:00:00 |2021-4-1
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #15 from Eric Gallager ---
(In reply to Marc Glisse from comment #14)
> (In reply to Jeffrey A. Law from comment #12)
> > Whether or not to fix as well as whether or not to warn at -O0 are a topic
> > of debate. I'm not sure I'm up
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #14 from Marc Glisse ---
(In reply to Jeffrey A. Law from comment #12)
> Whether or not to fix as well as whether or not to warn at -O0 are a topic
> of debate. I'm not sure I'm up for re-opening that can of worms right now.
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Eric Gallager changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #12 from Jeffrey A. Law ---
Whether or not to fix as well as whether or not to warn at -O0 are a topic of
debate. I'm not sure I'm up for re-opening that can of worms right now.
I strongly believe -Wmaybe-uninitialized should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #11 from Eric Gallager ---
(In reply to Marc Glisse from comment #10)
> IMO -Wmaybe-uninitialized should not be enabled by -Wall, whatever the
> optimization level (even at -O3), it has too many false positives that are
> all but
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #10 from Marc Glisse ---
IMO -Wmaybe-uninitialized should not be enabled by -Wall, whatever the
optimization level (even at -O3), it has too many false positives that are all
but impossible to work around (thus violating the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #9 from Allan Jensen ---
I see two other level effort ways to possibly fix the issue. Disable the
warning like for -O0 as it is buggy, or if we believe it still has some value
in -Og even with the false positivies, just removing it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #8 from Eric Gallager ---
(In reply to Jeffrey A. Law from comment #7)
> -O0 has none of the analysis necessary and I believe you get no warnings at
> all.
>
> A minimum of -Og is needed, but -Og is inherently going to give many
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #7 from Jeffrey A. Law ---
-O0 has none of the analysis necessary and I believe you get no warnings at
all.
A minimum of -Og is needed, but -Og is inherently going to give many false
positives.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
--- Comment #6 from Eric Gallager ---
(In reply to Jeffrey A. Law from comment #5)
> Well, -Og doesn't do any of the detailed analysis and optimization that
> would give the compiler the opportunity to eliminate the paths that result
> in the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Jeffrey A. Law changed:
What|Removed |Added
CC||law at redhat dot com
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
egallager at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Andrew Pinski changed:
What|Removed |Added
Blocks||24639
--- Comment #3 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Eric Gallager changed:
What|Removed |Added
CC||egall at gwmail dot gwu.edu
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Allan Jensen changed:
What|Removed |Added
Attachment #40064|0 |1
is obsolete|
19 matches
Mail list logo