aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-09-02 00:16:59 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-09-02 00:16:59 +0000
commite11c6046f9c8bc891a67f37f0260ef4ece482f5d (patch)
treea3d71d23785568530f760b9953fb09d363d22793 /libcpp
parent165446a1e81f5bb9597289e783af9ee67e1fe5ba (diff)
downloadgcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.zip
gcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.tar.gz
gcc-e11c6046f9c8bc891a67f37f0260ef4ece482f5d.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog39
1 files changed, 39 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 2585deb..35f952d 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,42 @@
+2021-09-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/100977
+ * include/cpplib.h (struct cpp_options): Add cxx23_identifiers.
+ * charset.c (CXX23, NXX23): New enumerators.
+ (CID, NFC, NKC, CTX): Renumber.
+ (ucn_valid_in_identifier): Implement P1949R7 - use CXX23 and
+ NXX23 flags for cxx23_identifiers. For start character in
+ non-pedantic mode, allow characters that are allowed as start
+ characters in any of the supported language modes, rather than
+ disallowing characters allowed only as non-start characters in
+ current mode but for characters from other language modes allowing
+ them even if they are never allowed at start.
+ * init.c (struct lang_flags): Add cxx23_identifiers.
+ (lang_defaults): Add cxx23_identifiers column.
+ (cpp_set_lang): Initialize CPP_OPTION (pfile, cxx23_identifiers).
+ * lex.c (warn_about_normalization): If cxx23_identifiers, use
+ cpp_pedwarning_with_line instead of cpp_warning_with_line for
+ "is not in NFC" diagnostics.
+ * makeucnid.c: Adjust usage comment.
+ (CXX23, NXX23): New enumerators.
+ (all_languages): Add CXX23.
+ (not_NFC, not_NFKC, maybe_not_NFC): Renumber.
+ (read_derivedcore): New function.
+ (write_table): Print also CXX23 and NXX23 columns.
+ (main): Require 5 arguments instead of 4, call read_derivedcore.
+ * ucnid.h: Regenerated using Unicode 13.0.0 files.
+
+2021-09-01 Jason Merrill <jason@redhat.com>
+
+ * macro.c (replace_args): When __VA_OPT__ is on the LHS of ##,
+ remove trailing avoid_paste tokens.
+
+2021-09-01 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/101488
+ * macro.c (replace_args): Fix up handling of CPP_PADDING tokens at the
+ start or end of __VA_OPT__ arguments when preceeded or followed by ##.
+
2021-08-31 Martin Sebor <msebor@redhat.com>
* include/line-map.h (class rich_location): Disable copying and