[PATCH/RFA] Internationalize ctype functionality

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Apr 1 13:46:00 GMT 2009


> Date: Wed, 1 Apr 2009 14:38:08 +0200
> From: Hans-Peter Nilsson <hp@axis.com>

> Of course, but by having it non-const gcc can't optimize on
> knowing that it can't validly point to any modifiable object.

Incorrect, my bad.  Change that last bit to "knowing that
__ctype_ptr__ can't validly be *pointed to* by any
type-compatible pointer to a modifiable object (which includes
any char *)".

brgds, H-P



More information about the Newlib mailing list