This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20180] Scope error using constructor argument with assignment-like syntax
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2005 19:52:49 -0000
- Subject: [Bug c++/20180] Scope error using constructor argument with assignment-like syntax
- References: <20050223194243.20180.bugzilla-t05k1@email.galacticnorth.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2005-02-23 19:52 -------
"int i = i" does not do what you think it does. It initializes i with the
yet-uninitialized new i. So this is invalid code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20180