Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 01:36:58 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Jonathan Wakely <jwakely@mintel.com>
Cc:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   Re: misc/66941: Unacceptable stringstream performance
Message-ID:  <20040602083658.GB6715@VARK.homeunix.com>
In-Reply-To: <80256EA6.002DE82A.00@notes03.mintel.co.uk>
References:  <80256EA6.002DE82A.00@notes03.mintel.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040602083658.GB6715>