This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51018] Test failures on NetBSD
- 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: Thu, 05 Jan 2012 22:47:33 +0000
- Subject: [Bug libstdc++/51018] Test failures on NetBSD
- Auto-submitted: auto-generated
- References: <bug-51018-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51018
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-05
Ever Confirmed|0 |1
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-05 22:47:33 UTC ---
(In reply to comment #0)
> WARNING: program timed out.
> FAIL: 20_util/hash/chi2_quality.cc execution test
I haven't investigated this yet, it might just be that the number of iterations
is too high.
> assertion "gctype.scan_is((std::ctype_base::xdigit), (ca), (ca) +
> traits_type::length(ca)) == (ca)" failed: file
> "/home/jwakely/src/gcc/libstdc++-v3/testsuite/22_locale/ctype/scan/wchar_t/1.cc",
> line 71, function "void test01()"
> FAIL: 22_locale/ctype/scan/wchar_t/1.cc execution test
This reduces to:
#include <locale>
#include <assert.h>
typedef wchar_t char_type;
typedef std::char_traits<char_type> traits_type;
class gnu_ctype: public std::ctype<char_type> { };
int main()
{
gnu_ctype gctype;
assert(gctype.is(std::ctype_base::xdigit, L'a'));
}
Which fails because our generic locale (like our ieee locale) is broken and
cannot ever work. Sigh. I'll file a separate bug about that.