OSDN Git Service

2003-11-19 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2003 11:38:40 +0000 (11:38 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Nov 2003 11:38:40 +0000 (11:38 +0000)
commitd08559a9d6568c8e980c3c6305228300ff8b3c5a
tree48b77e87f53dc351f35e235fae841c52872e9b68
parent226538dac656bb99098786fba4de1d331d80862e
2003-11-19  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/codecvt_members.cc (do_out): If
we can upper bound the total number of external chars
to something smaller than __to_end - __to, avoid the
temporary buffer, the memcopy and simplify the loop.
* config/locale/generic/codecvt_members.cc (do_out):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73733 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/codecvt_members.cc
libstdc++-v3/config/locale/gnu/codecvt_members.cc