From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 876A63858D33 for ; Tue, 2 Aug 2022 22:10:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 876A63858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.93,212,1654588800"; d="scan'208";a="83386686" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 02 Aug 2022 14:10:38 -0800 IronPort-SDR: lcKu1YHXiYw9j0rj9WerYt6jefB6ZdXI6aMtpBs3O25yePt/Qvg9DeIYK0fDI4BIxI75fVXHXe c7AXzWAQhx4GYVzhPnAIRiwMPe0pYrE9Ha8iJ3QsL5Z1INfdxWPJY5v2tgBwWaYHjLxNIMmOou PWRRsBDkAayJoi6sWkn6++c85f2gaFM2geJkk2wKS2gnjoy7rPpw//syaK4akvbMHojCLfSMBH Z7fuE75mSoij7N93QHR6LL5bNVis+HU9gzTPlOoEt4Kr9WusiNECFDpm1D9OCv9p9aZoOaP3t6 SZQ= Date: Tue, 2 Aug 2022 22:10:32 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Tom Honermann CC: Subject: Re: [PATCH v4 1/2] C: Implement C2X N2653 char8_t and UTF-8 string literal changes In-Reply-To: <20220802183602.1575950-2-tom@honermann.net> Message-ID: References: <20220802183602.1575950-1-tom@honermann.net> <20220802183602.1575950-2-tom@honermann.net> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3112.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2022 22:10:39 -0000 On Tue, 2 Aug 2022, Tom Honermann via Gcc-patches wrote: > This patch implements the core language and compiler dependent library > changes adopted for C2X via WG14 N2653. The changes include: > - Change of type for UTF-8 string literals from array of const char to > array of const char8_t (unsigned char). > - A new atomic_char8_t typedef. > - A new ATOMIC_CHAR8_T_LOCK_FREE macro defined in terms of the existing > __GCC_ATOMIC_CHAR8_T_LOCK_FREE predefined macro. OK. -- Joseph S. Myers joseph@codesourcery.com