https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125831
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Target Milestone|--- |17.0
Resolution|--- |FIXED
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
https://gcc.gnu.org/g:72c343684eb8d257bf27770d844159738a83470a
commit r17-3022-g72c343684eb8d257bf27770d844159738a83470a
Author: Jakub Jelinek <[email protected]>
Date: Thu Aug 6 11:52:51 2026 +0200
libcpp, c-family: Implement C++29 P3733R1 - More named universal character
escapes
The following patch attempts to implement
C++29 P3733R1 - More named universal character escapes
paper as a DR.
2026-08-06 Jakub Jelinek <[email protected]>
gcc/c-family/
* c-cppbuiltin.cc (c_cpp_builtins): Change
__cpp_named_character_escapes value from 202207L to 202606L.
gcc/testsuite/
* c-c++-common/cpp/named-universal-char-escape-3.c: Remove two
expected errors.
* c-c++-common/cpp/named-universal-char-escape-8.c: New test.
* g++.dg/DRs/dr2581-2.C: Adjust __cpp_named_character_escapes
value.
* g++.dg/cpp23/feat-cxx2b.C (__cpp_named_character_escapes): Expect
202606L rather than 202207L.
* g++.dg/cpp26/feat-cxx26.C (__cpp_named_character_escapes):
Likewise.
* g++.dg/cpp29/feat-cxx29.C (__cpp_named_character_escapes):
Likewise.
libcpp/
* makeuname2c.cc: Implement C++29 P3733R1 - More named universal
character escapes as a DR.
(read_table): Don't ignore figment and abbreviation aliases.
* uname2c.h: Regenerate.
Reviewed-by: Jason Merrill <[email protected]>