fix libstdc++/47387 AIX ctype mask override

Graham Reed greed@pobox.com
Mon Jan 24 18:48:00 GMT 2011


Per bug 47387, the attached patch fixes the problem, found by the 
libstdc++ regression suite, where ctype mask override isn't working.  It 
applies only to AIX.

The existing testcase '22_locale/ctype/is/char/3.cc' is sufficient to 
verify the fix.

    PR libstdc++/47387
    * config/os/aix/ctype_inline.h: Use _M_table if provided.

I have run the regression suite with this change on 
powerpc-ibm-aix5.3.0.0, verifying 4 multilib combinations: '', 'ppc64', 
'pthread', and 'pthread/ppc64' in the 4.5.2 release code.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-r169055-aix-ctype_inline.patch
Type: text/x-patch
Size: 956 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110124/c33d45f8/attachment.bin>


More information about the Libstdc++ mailing list