This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/23846] suggest new warning (example: int x = x)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2005 03:48:10 -0000
- Subject: [Bug c/23846] suggest new warning (example: int x = x)
- References: <20050913034347.23846.ash@onezero.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-13 03:48 -------
Already fixed in 3.4.0 and above with -O1 -Wuninitialized.
If you have really int x = x; use -Winit-self and then you will get a warning there too.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23846