This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14876] Incorrectly resolved variable scope in initializer


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-07 13:15 -------
Actually the A in A+2 is the local A in the current scope, it is defined in the local scope before the equal 
sign.  Also on new versions of GCC, 3.4.0 which is not released yet, GCC will warn you that A is being 
used uninitialized.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]