This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3655: Subject: stream bug with "0xBlabla" strings in internal mode
- From: bkoz at gcc dot gnu dot org
- To: bkoz at gcc dot gnu dot org, carlo at alinoe dot com, gcc-bugs at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, krempp at cmla dot ens-cachan dot fr
- Date: 29 Nov 2001 00:20:45 -0000
- Subject: Re: libstdc++/3655: Subject: stream bug with "0xBlabla" strings in internal mode
[Get raw message]
Synopsis: Subject: stream bug with "0xBlabla" strings in internal mode
State-Changed-From-To: analyzed->feedback
State-Changed-By: bkoz
State-Changed-When: Wed Nov 28 16:20:45 2001
State-Changed-Why:
The correct output, according to 22.2.2.2, is:
0xZZZTrap!
This is not what you intended, either, but oh well.
It's fixed in mainline with this:
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): correctly output hex
numbers internally aligned.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3655&database=gcc