[Bug c++/69892] Missing -Wuninitialized warning

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 21 22:15:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |manu at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
If you wish to get the warning with -O0, then this is a duplicate of PR43361
(explained in detail here:
https://gcc.gnu.org/wiki/Better_Uninitialized_Warnings#Problem_2:_Representation_issues_.28either_IR_or_SSA_issues.29).
If you do not care about -O0, but wish to get the warning with higher
optimization level, then this is a dup of PR18501. The latter has enough
duplicates and testcases.

*** This bug has been marked as a duplicate of bug 43361 ***


More information about the Gcc-bugs mailing list