[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2022-08-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2021-06-01 Thread marxin at gcc dot gnu.org via Gcc-bugs
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2021-04-02 Thread linux at carewolf dot com via Gcc-bugs
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.

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2021-04-01 Thread msebor at gcc dot gnu.org via Gcc-bugs
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|

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2019-03-19 Thread egallager at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-19 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-18 Thread law at redhat dot com
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-17 Thread egallager at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-17 Thread glisse at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-17 Thread linux at carewolf dot com
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2018-12-16 Thread egallager at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2017-12-15 Thread law at redhat dot com
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.

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2017-12-15 Thread egallager at gcc dot gnu.org
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2017-12-15 Thread law at redhat dot com
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

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2017-07-20 Thread egallager at gcc dot gnu.org
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|

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2016-11-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 Andrew Pinski changed: What|Removed |Added Blocks||24639 --- Comment #3 from Andrew Pinski

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2016-11-17 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 Eric Gallager changed: What|Removed |Added CC||egall at gwmail dot gwu.edu --- Comment

[Bug tree-optimization/78394] False positives of maybe-uninitialized with -Og

2016-11-17 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394 Allan Jensen changed: What|Removed |Added Attachment #40064|0 |1 is obsolete|