This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] collate_members_wchar_t.cc


Ulrich Drepper wrote:

> I'd suggest that you try to single step into the wcscoll call.  Maybe
> after linking the test program statically.  Of course only if you have
> the glibc sources.  See whether the collation happens or whether simple
> wcscmp is called.

Thanks.

Definitely it happens. If I put a break point in r = wcscoll (L"Äuglein",
L"Augment"); then I step into it, I get to strcoll.c:65, then nrules becomes ==
4 and the if (nrules == 0) return STRCMP (s1, s2); at line 103 is false.

Perhaps I can send you privately the statically linked testcase??

Paolo.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]