misc/66941: Unacceptable stringstream performance

David Schultz das at FreeBSD.ORG
Wed Jun 2 01:40:22 PDT 2004


The following reply was made to PR misc/66941; it has been noted by GNATS.

From: David Schultz <das at FreeBSD.ORG>
To: Jonathan Wakely <jwakely at mintel.com>
Cc: FreeBSD-gnats-submit at FreeBSD.ORG, freebsd-bugs at FreeBSD.ORG
Subject: Re: misc/66941: Unacceptable stringstream performance
Date: Wed, 2 Jun 2004 01:36:58 -0700

 On Tue, Jun 01, 2004, Jonathan Wakely wrote:
 > I should have mentioned that the sstream file does not exist in any
 > official release of GCC 2.95, it was added to FreeBSD's unofficial GCC
 > 2.95.4 release, which is why I reported it here.
 > 
 > The file did exist in the GCC repository briefly between April 2000 and
 > Feb 2001 but was not included in any release AFAICT.
 > 
 > It's very unlikely that the patch will be applied to the official GCC
 > tree, since the file has been removed and is only in the Attic:
 > http://gcc.gnu.org//cgi-bin/cvsweb.cgi/gcc/libstdc++/Attic/sstream
 
 I believe it lives in
 	src/contrib/libstdc++/include/std/std_sstream.h
 in the FreeBSD repository, and in
 	 gcc/libstdc++-v3/include/std/std_sstream.h
 in the gcc repository.  It is subsequently installed as
 /usr/include/g++/sstream when libstdc++ is installed.
 
 I glanced at the gcc repository[1] and FreeBSD 5.2-CURRENT, and it
 appears that the file has changed significantly since gcc 2.95.
 However, AFAICT, it still has the same bug.  Unless I'm missing
 something, you probably want to report this problem to the gcc
 folks.  I'm not the right person to say whether the fix will find
 its way back into FreeBSD 4.X, though.
 
 
 [1] http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc%2b%2b-v3/include/std/std_sstream.h


More information about the freebsd-bugs mailing list