http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50966

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011-11-02
     Ever Confirmed|0                           |1

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-11-02 
21:00:53 UTC ---
There is no dereference of bar in the testcase.  What is there is an
address computation based on bar, that should certainly be warned on.
And I do see that warning with trunk (but not with 4.5 or 4.6, I suppose
my uninit TLC patch somehow fixed this):

$ ./cc1 -quiet t.c -Wall
t.c: In function 'main':
t.c:10:20: warning: 'bar' is used uninitialized in this function
[-Wuninitialized]

so, what is your real issue?

Reply via email to