This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/57072] bogus "is used uninitialized" warning


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 ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]