From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 2 01:40:22 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A96016A4CF for ; Wed, 2 Jun 2004 01:40:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FB1A43D48 for ; Wed, 2 Jun 2004 01:40:22 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i528eMsZ098909 for ; Wed, 2 Jun 2004 01:40:22 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i528eM02098908; Wed, 2 Jun 2004 01:40:22 -0700 (PDT) (envelope-from gnats) Date: Wed, 2 Jun 2004 01:40:22 -0700 (PDT) Message-Id: <200406020840.i528eM02098908@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: David Schultz Subject: Re: misc/66941: Unacceptable stringstream performance X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Schultz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 08:40:22 -0000 The following reply was made to PR misc/66941; it has been noted by GNATS. From: David Schultz To: Jonathan Wakely Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@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