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: ctype<wchar>::do_is(const wchar_t *, const wchar_t *, mask *)problem


Paolo Carlini wrote:

>In fact, isn't correct, or better said, perhaps, ctype<wchar_t>::do_is
>is still unimplemented: that code it's just a place holder roughly
>inspired by do_scan_is below ;)

I see ;-)

>It's weird, however, that only on s390 that minimal kind-of-test fails:
>evidently the returned __lo < __hi.

Well, seeing as the this->do_is(*__m, *__lo) call accesses some
uninitialized value from the caller's stack (*__m), all bets are off 
whether that random mask byte happens to be acceptable to the do_is 
check or not ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand at informatik dot uni-erlangen dot de


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