------- Comment #1 from pinskia at gcc dot gnu dot org 2007-04-19 17:24 ------- Use -O1 if you want to find unitialized variables (including function pointers): [pinskia-laptop:gcc/objdir-noboot/gcc] pinskia% ./cc1 -quiet -W -Wall t5.c -O1 t5.c: In function 'foo': t5.c:4: warning: 'bar' is used uninitialized in this function
This is documented as a limitation also. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31633