From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130817 invoked by alias); 15 Jan 2019 04:08:18 -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 130807 invoked by uid 89); 15 Jan 2019 04:08:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=p0482r5, char8_t, REVISED, P0482R5 X-HELO: smtp123.iad3a.emailsrvr.com Received: from smtp123.iad3a.emailsrvr.com (HELO smtp123.iad3a.emailsrvr.com) (173.203.187.123) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 15 Jan 2019 04:08:08 +0000 Received: from smtp32.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp32.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 55C3C54C7; Mon, 14 Jan 2019 23:08:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=honermann.net; s=20180930-2j89z3ji; t=1547525286; bh=ChxwbL7MGt+TIhMn5Hg4PzvT6ra8g9kSmurhZNmxJSI=; h=Subject:To:From:Date:From; b=AC9rl3TOvPvhe0vNT2xTfw9bWicUX9Nz7PqjlNL4/J7yRqegNwEsy5ht/0EzHBn35 M12jIf52LH3emu+Tpx6/TQZ4PTfcv3ZO5AY2SoWaC1XzFdEUUnBEbaZ6q4qP+P0siQ myvC/NQNwpfzgcS/A4oUJtzx6Xo+RVXlzC+tM+RU= X-Auth-ID: tom@honermann.net Received: by smtp32.relay.iad3a.emailsrvr.com (Authenticated sender: tom-AT-honermann.net) with ESMTPSA id 2D1B8436E; Mon, 14 Jan 2019 23:08:06 -0500 (EST) X-Sender-Id: tom@honermann.net Received: from [192.168.1.27] (pool-71-176-235-158.rcmdva.fios.verizon.net [71.176.235.158]) (using TLSv1.2 with cipher AES128-SHA) by 0.0.0.0:587 (trex/5.7.12); Mon, 14 Jan 2019 23:08:06 -0500 Subject: Re: [REVISED PATCH 2/9]: C++ P0482R5 char8_t: Core language support To: Jason Merrill , gcc-patches References: <84731895-95a5-f4d3-f444-169fa7441080@honermann.net> From: Tom Honermann Message-ID: <612654c8-82f6-d114-999a-e4f55fb26c79@honermann.net> Date: Tue, 15 Jan 2019 04:08:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00812.txt.bz2 On 1/14/19 2:58 PM, Jason Merrill wrote: > On 12/23/18 9:27 PM, Tom Honermann wrote: >> Attached is a revised patch that addresses changes in P0482R6 as well >> as feedback provided by Jason. Changes from the prior patch include: >> - Updated the value of the __cpp_char8_t feature test macro to 201811 >>    per P0482R6. >> - Enable char8_t support with -std=c++2a per adoption of P0482R6 in >>    San Diego. >> - Reverted the unnecessary changes to gcc/gcc/c/c-typeck.c as requested >>    by Jason. >> - Removed unnecessary checks of 'flag_char8_t' within the C++ front >>    end as requested by Jason. >> - Corrected the regression spotted by Jason regarding initialization of >>    signed char and unsigned char arrays with string literals. >> - Made minor changes to the error message emitted for ill-formed >>    initialization of char arrays with UTF-8 string literals. These >>    changes do not yet implement Jason's suggestion; I'll follow up >> with a >>    separate patch for that due to additional test impact. >> >> Tested on x86_64-linux. > > I just applied the compiler changes with small modifications, as > follows; thank you very much for the patches.  Jonathan should check > in the library portion before long. Excellent, thank you, Jason! Tom. > > Jason