public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/47387] New: AIX ctype 'mask' override not working
@ 2011-01-20 22:24 greed at pobox dot com
  2011-01-21  1:01 ` [Bug libstdc++/47387] " paolo.carlini at oracle dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: greed at pobox dot com @ 2011-01-20 22:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47387

           Summary: AIX ctype 'mask' override not working
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: greed@pobox.com


Created attachment 23053
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23053
Use _M_table if not NULL

On AIX, the test '22_locale/ctype/is/char/3.cc' fails:

Assertion failed: __EX, file 
/local/buildarea/grahamr/aix-ppc-5.3/gcc-4.5.2-lit
e-c++/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc, line 39

This is because "libstdc++-v3/config/os/aix/ctype_inline.h" always uses the
system type mask, regardless of the value of _M_table.

The attached patch solve this problem for both trunk and 4.5.2.  (Due to a
change in whitespace at end of line, applying on 4.5.2 needs the '-l' flag on
patch.)  I based it on the logic used for Darwin.

(Problem appears to be present in 4.3.3 as well, but the testcase itself is
different and won't fail.)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-02 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20 22:24 [Bug libstdc++/47387] New: AIX ctype 'mask' override not working greed at pobox dot com
2011-01-21  1:01 ` [Bug libstdc++/47387] " paolo.carlini at oracle dot com
2011-01-23  2:02 ` dje at gcc dot gnu.org
2011-01-23  2:07 ` paolo.carlini at oracle dot com
2011-01-24 16:34 ` greed at pobox dot com
2011-01-24 20:13 ` paolo at gcc dot gnu.org
2011-01-24 20:15 ` paolo.carlini at oracle dot com
2011-02-02 17:42 ` dnovillo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).