This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48340] Several wchar_t tests FAIL on IRIX 6.5
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 11:07:19 +0000
- Subject: [Bug libstdc++/48340] Several wchar_t tests FAIL on IRIX 6.5
- Auto-submitted: auto-generated
- References: <bug-48340-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48340
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.03.30 11:07:13
Ever Confirmed|0 |1
--- 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?
What about this test, I assume the assertion fails:
#include <locale>
#include <assert.h>
int main()
{
struct ctype : std::ctype<wchar_t>
{
bool test()
{
return this->is(std::ctype_base::space, L' ');
}
} c;
assert( c.test() == iswctype(L' ', wctype("space")) );
}
What is the value of _ISspace in /usr/include/ctype.h ?
If it's greater than (1<<15) that would explain it