From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80189 invoked by alias); 12 Oct 2016 19:45:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 80161 invoked by uid 89); 12 Oct 2016 19:45:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=jim X-HELO: mail-pa0-f48.google.com Received: from mail-pa0-f48.google.com (HELO mail-pa0-f48.google.com) (209.85.220.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Oct 2016 19:45:17 +0000 Received: by mail-pa0-f48.google.com with SMTP id ry6so31065566pac.3 for ; Wed, 12 Oct 2016 12:45:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:newsgroups:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=v6tqEL5EKLhm3HFGk13FHvh3jk+Tpsqa2IcsqSbM6QA=; b=CnBXWMC43n6lcDLGPOtUd4eM9vn4XmHPu9ssMzTer/5INKfDaohaAfJFzfhQUDMF4z 2C8JfamDijud3GlUl+z+0nVp3gDohzbmZHwxClRhDzVWUMA7ttpc0isgl1TO3ZznW+K2 x58BNpeN+3hJIO/aqdm0qEiGWcrWWJHxcswoh8+4kHaYQS3ePKuO+OO20ydLvGue9PSs xqSwI55YEC/FBcSIdUm/9YjeG2YWsNJpEjrUU6Iw16BYXHkbNpNAK/zMnLiXPiG9GhZU AFirAOUtDXzi4R2Hz9NdWFQFgQYZN/DlDvh7FlTcJi1SojAVewZ7sbakUJ1egbkAzcHo MZeQ== X-Gm-Message-State: AA6/9RkFN8l3XFetNglqyJjZ+xmJK9wUs0VssoRBtnB7MFJ66buj3izGmmGlWUJlI/5A+6oS X-Received: by 10.66.248.132 with SMTP id ym4mr3621447pac.182.1476301511365; Wed, 12 Oct 2016 12:45:11 -0700 (PDT) Received: from [10.15.164.87] ([38.142.8.210]) by smtp.googlemail.com with ESMTPSA id v4sm13641165pfb.52.2016.10.12.12.45.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Oct 2016 12:45:10 -0700 (PDT) Subject: Re: [RFC] Possible folding opportunities for string built-ins To: Joseph Myers , =?UTF-8?Q?Martin_Li=c5=a1ka?= References: <18b8d82e-59b8-8607-702f-8185f8e57311@suse.cz> Cc: gcc-patches@gcc.gnu.org, Richard Biener , Jan Hubicka , Jakub Jelinek Newsgroups: gmane.comp.gcc.patches From: Jim Wilson Message-ID: Date: Wed, 12 Oct 2016 19:45:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2016-10/txt/msg00955.txt.bz2 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