[Bug c/14876] Incorrectly resolved variable scope in initializer
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 7 13:15:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list