This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6555: Copy constructor is called before the object (being copied) is initialized
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, relf at os2 dot ru
- Date: 15 Sep 2002 11:59:25 -0000
- Subject: Re: c++/6555: Copy constructor is called before the object (being copied) is initialized
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, relf at os2 dot ru, gcc-gnats at gcc dot gnu dot org
Synopsis: Copy constructor is called before the object (being copied) is initialized
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sun Sep 15 04:59:25 2002
State-Changed-Why:
not a bug, but a QOI issue. I've attached a modified
test case. See [3/6/2]/2 you have the equivalent of the
example there, except with implicit template
instantiations (over which you have no control).
We should try and DTRT here
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6555