libstdc++/4402: Crash in std::ostream with bad values and std::fixed

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Wed Dec 5 14:36:00 GMT 2001


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  <bkoz@redhat.com>
     
     	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 <pcarlini@unitus.it>
     
             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



More information about the Gcc-prs mailing list