aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-09-08 00:18:33 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-09-08 00:18:33 +0000
commitfe2a8ce93c86e05730ee9b975f413cb3fc288d94 (patch)
tree558a827805b97df685d5b3be9967cfd69e9e211a /libcpp
parentd7f282c4243e24f567b11a5cb6048a27a3df733d (diff)
downloadgcc-fe2a8ce93c86e05730ee9b975f413cb3fc288d94.zip
gcc-fe2a8ce93c86e05730ee9b975f413cb3fc288d94.tar.gz
gcc-fe2a8ce93c86e05730ee9b975f413cb3fc288d94.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 7aba4f5..625b4e5 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,26 @@
+2022-09-07 Joseph Myers <joseph@codesourcery.com>
+
+ * include/cpplib.h (struct cpp_options): Add true_false.
+ * expr.cc (eval_token): Check true_false not cplusplus to
+ determine whether to handle true and false keywords.
+ * init.cc (struct lang_flags): Add true_false.
+ (lang_defaults): Update.
+ (cpp_set_lang): Set true_false.
+
+2022-09-07 Jakub Jelinek <jakub@redhat.com>
+
+ * include/cpplib.h (struct cpp_options): Add cpp_warn_unicode member.
+ (enum cpp_warning_reason): Add CPP_W_UNICODE.
+ * init.cc (cpp_create_reader): Initialize cpp_warn_unicode.
+ * charset.cc (_cpp_valid_ucn): In possible identifier contexts, don't
+ handle \u{ or \N{ specially in -std=c* modes except -std=c++2{3,b}.
+ In possible identifier contexts, don't emit an error and punt
+ if \N isn't followed by {, or if \N{} surrounds some lower case
+ letters or _. In possible identifier contexts when not C++23, don't
+ emit an error but warning about unknown character names and treat as
+ separate tokens. When treating as separate tokens \u{ or \N{, emit
+ warnings.
+
2022-09-05 Joseph Myers <joseph@codesourcery.com>
* init.cc (lang_defaults): Disable trigraphs for C2x.