This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Fix for grouped, showbased hex and oct zero


Hi,

the below fixes a corner case for num_put::_M_widen_int, which
I have noticed while analyzing libstdc++/7989.

Tested on x86-linux, approved by Benjamin.

Ciao, Paolo.

///////////

2002-09-27  Paolo Carlini  <pcarlini@unitus.it>

      * include/bits/locale_facets.tcc (num_put::_M_widen_int):
      Deal correctly with grouped, showbased (oct or hex) zero.
      * testsuite/22_locale/num_put_members_char.cc: Add test05.
      * testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.


Attachment: patch_gzoh
Description: application/java-vm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]