aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-11-02 20:53:00 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-11-02 20:53:00 +0000
commit88ce3d5fbb948cc600800b15f4ca774a0ce8e7a7 (patch)
treeaefd01a11fa4670cf14d4cc54452ad6b12fcc7a0 /libcpp
parent9e3c694afacf965293fe8b3b7b9a5022415e03c9 (diff)
downloadgcc-88ce3d5fbb948cc600800b15f4ca774a0ce8e7a7.zip
gcc-88ce3d5fbb948cc600800b15f4ca774a0ce8e7a7.tar.gz
gcc-88ce3d5fbb948cc600800b15f4ca774a0ce8e7a7.tar.bz2
Daily bump.
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog16
1 files changed, 16 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 61bfe81..ed2c541 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,19 @@
+2020-11-02 Nathan Sidwell <nathan@acm.org>
+
+ * internal.h (_cpp_notify_macro_use): Add location parm.
+ (_cpp_maybe_notify_macro_use): Likewise.
+ * directives.c (_cpp_do_file_change): Check we've not changed file
+ when optimizing a rewind.
+ (do_ifdef): Pass location to _cpp_maybe_notify_macro_use.
+ (do_ifndef): Likewise. Delete obsolete comment about powerpc.
+ * expr.c (parse_defined): Pass location to
+ _cpp_maybe_notify_macro_use.
+ * macro.c (enter_macro_context): Likewise.
+ (warn_of_redefinition): Break out helper function. Call it.
+ (compare_macros): New function broken out of warn_of_redefinition.
+ (_cpp_new_macro): Zero all fields.
+ (_cpp_notify_macro_use): Add location parameter.
+
2020-10-20 Nathan Sidwell <nathan@acm.org>
* lex.c (_cpp_lex_direct): Do not complete EOF processing when