From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22346 invoked by alias); 6 May 2002 18:16:17 -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 22298 invoked by uid 71); 6 May 2002 18:16:10 -0000 Date: Mon, 06 May 2002 11:16:00 -0000 Message-ID: <20020506181609.22293.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Ivan Zakharyaschev Subject: Re: c++/6580: crash on destructors involving ~string() Reply-To: Ivan Zakharyaschev X-SW-Source: 2002-05/txt/msg00160.txt.bz2 List-Id: The following reply was made to PR c++/6580; it has been noted by GNATS. From: Ivan Zakharyaschev To: gcc-gnats@gcc.gnu.org, Cc: Subject: Re: c++/6580: crash on destructors involving ~string() Date: Mon, 6 May 2002 22:07:43 +0400 (MSD) Perhaps , it is not clear from my report what construction causes the crash. Here is the diff from the code that can be compiled successfully to the code that causes the crash. Regards, Ivan Z. (the reporter) --- virt-dtor2.ii Mon May 6 22:03:42 2002 +++ virt-dtor2.bug.ii Mon May 6 20:55:50 2002 @@ -14196,8 +14196,9 @@ name(name) { } - ~Grid() { + ~Grid() { + name.std::~string(); } virtual Number getBegin() const {