This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: ctype<wchar>::do_is(const wchar_t *, const wchar_t *, mask *)problem
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: pcarlini at unitus dot it
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 26 Mar 2003 22:45:00 +0100 (MET)
- Subject: 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