This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36866] lack of warning when initializing a class member from an uninitialized variable
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2008 14:30:58 -0000
- Subject: [Bug c++/36866] lack of warning when initializing a class member from an uninitialized variable
- References: <bug-36866-9799@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from manu at gcc dot gnu dot org 2008-07-21 14:30 -------
To fix this testcase we would need to fix a few of the -Wuninitialized issues,
since -Wuninitialized does not work without optimisation, we don't handle VOPs
(no -Wunitialized for pointers then), and -Winit-self is broken for some cases.
Nonetheless, fixing PR19808 would be a start.
*** This bug has been marked as a duplicate of 19808 ***
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36866