This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH/RFA] Internationalize ctype functionality
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: newlib at sourceware dot org
- Cc: vinschen at redhat dot com
- Date: Wed, 1 Apr 2009 14:57:10 +0200
- Subject: Re: [PATCH/RFA] Internationalize ctype functionality
> 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