[v3] ctype<char>::is(const char* __low, const char* __high, mask* __vec) const throw()

Jason Merrill jason@redhat.com
Wed Dec 20 06:36:00 GMT 2000


>>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:

>> Surely the old code was correct?

> It was correct for table-based ctypes (of which gnu-linux is a member.) 
> I've reverted this patch, and added testcases so that this will be a 
> regression if it ever comes back. For non-table based approaches, it was 
> never correct. I've made a generic implementation, perhaps it will work 
> for these platforms.

Looks good to me, thanks.  Is there any porting still necessary to
build a non-threadsafe, archive library version of v3 on a new target?

Jason


More information about the Gcc-patches mailing list