gcc/libcpp
Jakub Jelinek 2c03d73667 PR c++/91370 - Implement P1041R4 and P1139R2 - Stronger Unicode reqs
PR c++/91370 - Implement P1041R4 and P1139R2 - Stronger Unicode reqs
	* charset.c (narrow_str_to_charconst): Add TYPE argument.  For
	CPP_UTF8CHAR diagnose whenever number of chars is > 1, using
	CPP_DL_ERROR instead of CPP_DL_WARNING.
	(wide_str_to_charconst): For CPP_CHAR16 or CPP_CHAR32, use
	CPP_DL_ERROR instead of CPP_DL_WARNING when multiple char16_t
	or char32_t chars are needed.
	(cpp_interpret_charconst): Adjust narrow_str_to_charconst caller.

	* g++.dg/cpp1z/utf8-neg.C: Expect errors rather than -Wmultichar
	warnings.
	* g++.dg/ext/utf16-4.C: Expect errors rather than warnings.
	* g++.dg/ext/utf32-4.C: Likewise.
	* g++.dg/cpp2a/ucn2.C: New test.

From-SVN: r277929
2019-11-07 21:24:38 +01:00
..
include Implement C++20 operator<=>. 2019-11-05 18:56:18 -05:00
po
aclocal.m4
ChangeLog PR c++/91370 - Implement P1041R4 and P1139R2 - Stronger Unicode reqs 2019-11-07 21:24:38 +01:00
ChangeLog.jit
charset.c PR c++/91370 - Implement P1041R4 and P1139R2 - Stronger Unicode reqs 2019-11-07 21:24:38 +01:00
config.in
configure
configure.ac
directives-only.c
directives.c re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-10-31 18:38:44 +01:00
errors.c
expr.c
files.c
identifiers.c
init.c re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-10-31 18:38:44 +01:00
internal.h re PR preprocessor/92296 (internal compiler error: Segmentation fault #pragma push_macro("__LINE__")) 2019-10-31 18:38:44 +01:00
lex.c Implement C++20 operator<=>. 2019-11-05 18:56:18 -05:00
line-map.c [linemap PATCH] Constify lookup 2019-10-15 12:03:04 +00:00
location-example.txt
macro.c PR c/66970 - Add __has_builtin() macro 2019-10-28 16:46:28 -06:00
Makefile.in
makeucnid.c
mkdeps.c
pch.c
symtab.c
system.h
traditional.c PR c/66970 - Add __has_builtin() macro 2019-10-28 16:46:28 -06:00
ucnid.h
ucnid.tab