libstdc++/2517: -O2 compilation appears to cause a memory leak when a string is added to a char[]

Bruce Knuteson knuteson@d0mino.fnal.gov
Mon Mar 25 07:16:00 GMT 2002


The following reply was made to PR libstdc++/2517; it has been noted by GNATS.

From: Bruce Knuteson <knuteson@d0mino.fnal.gov>
To: rodrigc@gcc.gnu.org, bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
        gcc-prs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/2517: -O2 compilation appears to cause a memory leak when a string is added to a char[] 
Date: Mon, 25 Mar 2002 09:13:29 CST

 Hi,
   Yes, we have just moved to gcc 3.0.2, and the problem is gone.  Feel free to close this PR.
 
 thanks,
 Bruce
 
 
 > Synopsis: -O2 compilation appears to cause a memory leak when a string is add
 ed to a char[]
 > 
 > State-Changed-From-To: analyzed->feedback
 > State-Changed-By: rodrigc
 > State-Changed-When: Sun Mar 24 14:42:05 2002
 > State-Changed-Why:
 >     Cannot reproduce this problem if I compile your
 >     testcase with gcc 3.0.4.  Should this PR be closed?
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr
 =2517
 
 



More information about the Gcc-prs mailing list