From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 2 01:37:04 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AAB616A4CE; Wed, 2 Jun 2004 01:37:04 -0700 (PDT) Received: from VARK.homeunix.com (ar59.lsanca2-4.27.98.47.lsanca2.dsl-verizon.net [4.27.98.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02EDD43D39; Wed, 2 Jun 2004 01:37:04 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from VARK.homeunix.com (localhost [127.0.0.1]) by VARK.homeunix.com (8.12.10/8.12.10) with ESMTP id i528awkj006905; Wed, 2 Jun 2004 01:36:58 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.homeunix.com (8.12.11/8.12.10/Submit) id i528awV4006904; Wed, 2 Jun 2004 01:36:58 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 2 Jun 2004 01:36:58 -0700 From: David Schultz To: Jonathan Wakely Message-ID: <20040602083658.GB6715@VARK.homeunix.com> Mail-Followup-To: Jonathan Wakely , FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG References: <80256EA6.002DE82A.00@notes03.mintel.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80256EA6.002DE82A.00@notes03.mintel.co.uk> cc: freebsd-bugs@FreeBSD.ORG cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/66941: Unacceptable stringstream performance X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 08:37:04 -0000 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