diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-10-19 00:19:43 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-10-19 00:19:43 +0000 |
commit | de14559ef53b3a0e8c544bdc65f5983a184767b1 (patch) | |
tree | 9e7501536550cc9e371c447fe3866a6a41a9ccc0 /libcpp | |
parent | c886eb3421883a3ab70c6af79f271289cc8bb1d4 (diff) | |
download | gcc-de14559ef53b3a0e8c544bdc65f5983a184767b1.zip gcc-de14559ef53b3a0e8c544bdc65f5983a184767b1.tar.gz gcc-de14559ef53b3a0e8c544bdc65f5983a184767b1.tar.bz2 |
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 805e199..c692f94 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,30 @@ +2024-10-17 Jakub Jelinek <jakub@redhat.com> + + PR c/117028 + * include/cpplib.h (struct cpp_options): Add named_uc_escape_seqs, + octal_constants and cpp_warn_c23_c2y_compat members. + (enum cpp_warning_reason): Add CPP_W_C23_C2Y_COMPAT enumerator. + * init.cc (struct lang_flags): Add named_uc_escape_seqs and + octal_constants bit-fields. + (lang_defaults): Add initializers for them into the table. + (cpp_set_lang): Initialize named_uc_escape_seqs and octal_constants. + (cpp_create_reader): Initialize cpp_warn_c23_c2y_compat to -1. + * charset.cc (_cpp_valid_ucn): Test + CPP_OPTION (pfile, named_uc_escape_seqs) rather than + CPP_OPTION (pfile, delimited_escape_seqs) in \N{} related tests. + Change wording of C cpp_pedwarning for \u{} and emit + -Wc23-c2y-compat warning for it too if needed. Formatting fixes. + (convert_hex): Change wording of C cpp_pedwarning for \u{} and emit + -Wc23-c2y-compat warning for it too if needed. + (convert_oct): Likewise. + * expr.cc (cpp_classify_number): Handle C2Y 0o or 0O prefixed + octal constants. + (cpp_interpret_integer): Likewise. + +2024-10-16 Jakub Jelinek <jakub@redhat.com> + + * expr.cc (interpret_float_suffix): ?: operator formatting fixes. + 2024-10-16 Jakub Jelinek <jakub@redhat.com> * include/cpplib.h (TTYPE_TABLE): Add CPP_EMBED token type. |