[Bug libstdc++/48340] Several wchar_t tests FAIL on IRIX 6.5

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 11:50:00 GMT 2011


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-30 11:27:09 UTC ---
(In reply to comment #5)
> > --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-30 11:07:13 UTC ---
> > Are you using a specific configure value for --enable-clocale or just using the
> > default "generic" model?
> 
> I'm using the generic model: last time I tried ieee_1003.1-2001 (both on
> Solaris and IRIX), it failed (PR libstdc++/41495) and I haven't yet
> gotten around to do anything about this.

Yep.

> > What about this test, I assume the assertion fails:
> 
> Indeed.
> 
> > What is the value of _ISspace in /usr/include/ctype.h ?
> 
> #define _ISspace        (_S | _BL)
> 
> #define _S      0x00000008      /* Spacing character */
> #define _BL     0x80000000      /* The blank character class */
> 
> > If it's greater than (1<<15) that would explain it
> 
> There we have it.

Badabing.

I'm planning to add isblank to std::locale (LWG 2019) which will need changes
to all the locale models so while I'm doing that I will overhaul the ieee
locale model (possibly adding a POSIX 2008 version as well, which would be
close to the gnu model) and I'll also address this, so we can handle values
over (1<<15).  Currently that '15' maximum is hardcoded in a few places.



More information about the Gcc-bugs mailing list