[Bug c/38443] scoping problems with identically named identifiers

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 8 19:43:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-12-08 19:40 -------
On the trunk we get:
t.c: In function 'main':
t.c:7: warning: 'x' is used uninitialized in this function

Which is correct.  x in the inner scope comes alive right after the = sign.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
   Target Milestone|---                         |4.4.0


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



More information about the Gcc-bugs mailing list