This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19761] -Winit-self doesn't work anymore
- From: "oliverst at online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2005 01:29:47 -0000
- Subject: [Bug c++/19761] -Winit-self doesn't work anymore
- References: <20050202161057.19761.oliverst@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From oliverst at online dot de 2005-05-31 01:29 -------
Yes, I did expect a different warning, because
int i = i;
would be uninitialized use and self initialization.
And because of an special warnings flag I expected it to be different from the
uninitialized use warning. But if it causes the same, it should be part of
-Wuninitialized and -Winit-self would be kind of redundant then. Maybe I am just
seeing this totally wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19761