gcc/libcpp
Jakub Jelinek dad2d3e003 libcpp: Implement P2362R3 - Remove non-encodable wide character literals and multicharacter [PR106647]
My understanding of the paper is that we just want to promote the CPP_WCHAR
"character constant too long for its type" warning to error as it is already
error for u8, u and U literals.

2022-08-26  Jakub Jelinek  <jakub@redhat.com>

	PR c++/106647
	* charset.cc (wide_str_to_charconst): Implement P2362R3 - Remove
	non-encodable wide character literals and multicharacter.  For
	C++23 use CPP_DL_ERROR instead of CPP_DL_WARNING for
	"character constant too long for its type" diagnostics on CPP_WCHAR
	literals.

	* g++.dg/cpp23/wchar-multi1.C: New test.
	* g++.dg/cpp23/wchar-multi2.C: New test.
2022-08-26 16:06:20 +02:00
..
include libcpp: Implement C++23 P2290R3 - Delimited escape sequences [PR106645] 2022-08-20 10:26:55 +02:00
po Daily bump. 2022-05-05 00:16:29 +00:00
aclocal.m4 libcpp: Enable Intel CET on Intel CET enabled host for jit 2020-05-12 09:17:45 -07:00
ChangeLog Daily bump. 2022-08-25 00:16:33 +00:00
ChangeLog.jit
charset.cc libcpp: Implement P2362R3 - Remove non-encodable wide character literals and multicharacter [PR106647] 2022-08-26 16:06:20 +02:00
config.in aix: handle 64bit inodes for include directories 2022-01-12 16:59:47 +01:00
configure aix: handle 64bit inodes for include directories 2022-01-12 16:59:47 +01:00
configure.ac aix: handle 64bit inodes for include directories 2022-01-12 16:59:47 +01:00
directives.cc preprocessor: Implement C++23 P2437R1 - Support for #warning [PR106646] 2022-08-24 09:55:57 +02:00
errors.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
expr.cc libcpp: Ignore CPP_PADDING tokens in _cpp_parse_expr [PR105732] 2022-05-29 21:57:51 +02:00
files.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
generated_cpp_wcwidth.h libcpp: Update cpp_wcwidth() to Unicode 14.0.0 2022-06-26 14:13:26 -04:00
identifiers.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
init.cc preprocessor: Implement C++23 P2437R1 - Support for #warning [PR106646] 2022-08-24 09:55:57 +02:00
internal.h preprocessor: -Wbidi-chars and UCNs [PR104030] 2022-01-24 17:48:23 -05:00
lex.cc c++: Implement C++23 P2071R2 - Named universal character escapes [PR106648] 2022-08-26 09:27:39 +02:00
line-map.cc pack fields in line-map data structures 2022-01-18 14:33:01 +01:00
location-example.txt PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
macro.cc libcpp: Fix up padding handling in funlike_invocation_p [PR104147] 2022-02-01 20:48:03 +01:00
Makefile.in preprocessor: Extract messages from cpp_*_at calls for translation 2022-02-11 23:22:07 +00:00
makeucnid.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
makeuname2c.cc c++: Implement C++23 P2071R2 - Named universal character escapes [PR106648] 2022-08-26 09:27:39 +02:00
mkdeps.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
pch.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
symtab.cc Rename .c files to .cc files. 2022-01-17 22:12:04 +01:00
system.h Update copyright years. 2022-01-03 10:42:10 +01:00
traditional.cc Change references of .c files to .cc files 2022-01-17 22:12:07 +01:00
ucnid.h libcpp: Update ucnid.h to Unicode 14 2022-06-28 17:33:37 -04:00
ucnid.tab Update copyright years. 2022-01-03 10:42:10 +01:00
uname2c.h c++: Implement C++23 P2071R2 - Named universal character escapes [PR106648] 2022-08-26 09:27:39 +02:00