[Bug c/12153] uninitialized use not spotted in "T x = x;"

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 3 14:12:00 GMT 2003


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.



More information about the Gcc-bugs mailing list