This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/11740] ctype<wchar_t>::do_is(mask, wchar_t) doesn't handle multiple bits in mask.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11740



------- Additional Comments From peturr02 at ru dot is  2003-10-06 16:50 -------
Benjamin Kosnik wrote:
> This should be fixed with the current ctype<wchar_t>::do_is code fix, as it is
> one of the things tested for.... However, I'm still getting errors in this
> testcase. I believe it to be incorrect...

By my reading of the standard, this version of do_is should return true if
any of the bits apply to the character, but the current implementation
seems to return true only if all the bits apply.


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