This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12153] uninitialized use not spotted in "T x = x;"
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2003 14:12:02 -0000
- Subject: [Bug c/12153] uninitialized use not spotted in "T x = x;"
- References: <20030903135041.12153.simon.marshall@misys.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12153
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
------- Additional Comments From bangerth at dealii dot org 2003-09-03 14:12 -------
This is already fixed in mainline, which gives
tmp/g> ../build-gcc/gcc-install/bin/gcc -Winit-self -c x.c -O -W -Wall
x.c: In function `main':
x.c:4: warning: 'x' might be used uninitialized in this function
W.