This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57072] bogus "is used uninitialized" warning
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Nov 2013 22:30:51 +0000
- Subject: [Bug c++/57072] bogus "is used uninitialized" warning
- Auto-submitted: auto-generated
- References: <bug-57072-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57072
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Jeffrey A. Law <law at redhat dot com> ---
Accurate warnings from -Wuninitialized depends on various optimizers being
allowed to do their job. -fno-tree-vrp in this case disables collpasing a
conditional so a singularity and disables the first jump threading pass.
In combination these two prevent the CFG from being optimized enough to prove
the value can't be used uninitialized.
*** This bug has been marked as a duplicate of bug 42145 ***