From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24535 invoked by alias); 5 Dec 2001 22:36:21 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 24311 invoked by uid 71); 5 Dec 2001 22:36:01 -0000 Date: Wed, 05 Dec 2001 14:36:00 -0000 Message-ID: <20011205223601.24308.qmail@sources.redhat.com> To: bkoz@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: bkoz@gcc.gnu.org Subject: Re: libstdc++/4402: Crash in std::ostream with bad values and std::fixed Reply-To: bkoz@gcc.gnu.org X-SW-Source: 2001-12/txt/msg00347.txt.bz2 List-Id: The following reply was made to PR libstdc++/4402; it has been noted by GNATS. From: bkoz@gcc.gnu.org To: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, stuart@personalrobots.com Cc: Subject: Re: libstdc++/4402: Crash in std::ostream with bad values and std::fixed Date: 5 Dec 2001 22:30:28 -0000 Synopsis: Crash in std::ostream with bad values and std::fixed State-Changed-From-To: analyzed->feedback State-Changed-By: bkoz State-Changed-When: Wed Dec 5 14:30:26 2001 State-Changed-Why: Fixed in mainline as of 2001-12-05 Benjamin Kosnik DR/282 * include/bits/locale_facets.tcc (num_put::_M_widen_float): Add grouping to floating point types. * testsuite/27_io/ostream_inserter_arith.cc (test02): Add test. 2001-12-04 Paolo Carlini libstdc++/4402 * testsuite/27_io/ostream_inserter_arith.cc (test02): Add testcase from the PR. * include/bits/locale_facets.tcc (num_put::_M_convert_float): Deal properly with long ios_base::fixed floats. (num_put::_M_widen_float): use __len in __builtin_alloca call. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4402&database=gcc