From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14023 invoked by alias); 15 Sep 2002 11:59:25 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 14004 invoked by uid 61); 15 Sep 2002 11:59:25 -0000 Date: Sun, 15 Sep 2002 04:59:00 -0000 Message-ID: <20020915115925.14003.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, relf@os2.ru From: nathan@gcc.gnu.org Reply-To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, relf@os2.ru, gcc-gnats@gcc.gnu.org Subject: Re: c++/6555: Copy constructor is called before the object (being copied) is initialized X-SW-Source: 2002-09/txt/msg00386.txt.bz2 List-Id: 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