aboutsummaryrefslogtreecommitdiff
path: root/libcpp/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-10-24 00:17:34 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-10-24 00:17:34 +0000
commit9cf2e7441eeeb707cc393d6d211184df8f56d456 (patch)
treedf84dc792441b959825ced1e18498d310107852c /libcpp/ChangeLog
parentcb05acdcea298b62e7fb00dcc153f5d506d085fe (diff)
downloadgcc-9cf2e7441eeeb707cc393d6d211184df8f56d456.zip
gcc-9cf2e7441eeeb707cc393d6d211184df8f56d456.tar.gz
gcc-9cf2e7441eeeb707cc393d6d211184df8f56d456.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r--libcpp/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 9d2e4f5..46cc622 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,22 @@
+2023-10-23 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/36887
+ * directives.cc (do_pragma_poison): Store in the extra hash map the
+ location from which an identifier has been poisoned.
+ * lex.cc (identifier_diagnostics_on_lex): When issuing a diagnostic
+ for the use of a poisoned identifier, also add a note indicating the
+ location from which it was poisoned.
+ * identifiers.cc (alloc_node): Convert to template function.
+ (_cpp_init_hashtable): Handle the new extra hash map.
+ (_cpp_destroy_hashtable): Likewise.
+ * include/cpplib.h (struct cpp_hashnode_extra): New struct.
+ (cpp_create_reader): Update prototype to...
+ * init.cc (cpp_create_reader): ...accept an argument for the extra
+ hash table and pass it to _cpp_init_hashtable.
+ * include/symtab.h (ht_lookup): New overload for convenience.
+ * internal.h (struct cpp_reader): Add EXTRA_HASH_TABLE member.
+ (_cpp_init_hashtable): Adjust prototype.
+
2023-10-08 David Malcolm <dmalcolm@redhat.com>
* include/line-map.h (LINEMAPS_ORDINARY_MAPS): Delete.