[RFC] Possible folding opportunities for string built-ins

Jim Wilson jim.wilson@linaro.org
Wed Oct 12 19:45:00 GMT 2016


On 10/12/2016 08:55 AM, Joseph Myers wrote:
> On Wed, 12 Oct 2016, Martin Liška wrote:
>
>> Last question is whether one can aggressively fold strcasecmp in a host
>> compiler? Or are there any situations where results depends on locale?
>
> There are the usual issues with Turkish locales having the uppercase
> version of 'i' being 'İ' and the lowercase version of 'I' being 'ı'.

See for instance
   https://en.wikipedia.org/wiki/Dotted_and_dotless_I

Jim



More information about the Gcc-patches mailing list