public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/2]: C N2653 char8_t implementation
@ 2022-01-08  0:42 Tom Honermann
  2022-01-11  2:23 ` Joseph Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Honermann @ 2022-01-08  0:42 UTC (permalink / raw)
  To: gcc-patches

This series of patches implements the core language features for the 
WG14 N2653 [1] proposal to provide char8_t support in C. These changes 
are intended to align char8_t support in C with the support provided in 
C++20 via WG21 P0482R6 [2].

These patches addresses feedback provided in response to a previous 
submission [3][4].

These changes do not impact default gcc behavior. Per prior feedback by 
Joseph Myers, the existing -fchar8_t and -fno-char8_t options used to 
opt-in to or opt-out of char8_t support in C++ are NOT reused for C. 
Instead, the C related core language changes are enabled when targeting 
C2x. Note that N2653 has not yet been accepted by WG14 for C2x, but the 
patches enable these changes for C2x in order to avoid an additional 
language dialect flag (e.g., -fchar8_t).

Patch 1: Language support
Patch 2: New tests

Tom.

[1]: WG14 N2653
      "char8_t: A type for UTF-8 characters and strings (Revision 1)"
      http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2653.htm

[2]: WG21 P0482R6
      "char8_t: A type for UTF-8 characters and strings (Revision 6)"
      https://wg21.link/p0482r6

[3]: [PATCH 0/3]: C N2653 char8_t implementation
      https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572022.html

[4]: [PATCH 1/3]: C N2653 char8_t: Language support
      https://gcc.gnu.org/pipermail/gcc-patches/2021-June/572023.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2]: C N2653 char8_t implementation
  2022-01-08  0:42 [PATCH 0/2]: C N2653 char8_t implementation Tom Honermann
@ 2022-01-11  2:23 ` Joseph Myers
  2022-01-11 19:03   ` Tom Honermann
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Myers @ 2022-01-11  2:23 UTC (permalink / raw)
  To: Tom Honermann; +Cc: gcc-patches

Please repost these patches after GCC 12 branches (updated as appropriate 
depending on whether the feature is accepted at the two-week Jan/Feb WG14 
meeting, which doesn't yet have an agenda), since we're currently 
stabilizing for the release and so not considering new features.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2]: C N2653 char8_t implementation
  2022-01-11  2:23 ` Joseph Myers
@ 2022-01-11 19:03   ` Tom Honermann
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Honermann @ 2022-01-11 19:03 UTC (permalink / raw)
  To: Joseph Myers; +Cc: gcc-patches

On 1/10/22 9:23 PM, Joseph Myers wrote:
> Please repost these patches after GCC 12 branches (updated as appropriate
> depending on whether the feature is accepted at the two-week Jan/Feb WG14
> meeting, which doesn't yet have an agenda), since we're currently
> stabilizing for the release and so not considering new features.
>
Thank you, Joseph. Will do!

Tom.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-11 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08  0:42 [PATCH 0/2]: C N2653 char8_t implementation Tom Honermann
2022-01-11  2:23 ` Joseph Myers
2022-01-11 19:03   ` Tom Honermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).