aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-05-25 00:17:13 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-05-25 00:17:13 +0000
commit6c0b7e12e51cfcc58d6b7dfe9c822c7a720fddd7 (patch)
tree72ab44dbf3dfc5da39333ab71ac28ea585b2e9d9 /gcc/cp/ChangeLog
parent9561cf550a66a89e7c8d31202a03c4fddf82a3f2 (diff)
downloadgcc-6c0b7e12e51cfcc58d6b7dfe9c822c7a720fddd7.zip
gcc-6c0b7e12e51cfcc58d6b7dfe9c822c7a720fddd7.tar.gz
gcc-6c0b7e12e51cfcc58d6b7dfe9c822c7a720fddd7.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 991a4ce..46f1d43 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,29 @@
2024-05-24 Nathaniel Shead <nathanieloshead@gmail.com>
+ PR c++/115200
+ * parser.cc (cp_parser_error_1): Special-case unexpected module
+ directives for better diagnostics.
+ (cp_parser_module_declaration): Check that the module
+ declaration is at global scope.
+ (cp_parser_import_declaration): Sync error message with that in
+ cp_parser_error_1.
+
+2024-05-24 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * cp-tree.h (module_has_cmi_p): Also include header units.
+ (module_maybe_has_cmi_p): Update comment.
+ * module.cc (set_defining_module): Only need to track
+ declarations for later exporting if the module may have a CMI.
+ (set_defining_module_for_partial_spec): Likewise.
+ * name-lookup.cc (pushdecl): Likewise.
+
+2024-05-24 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * tree.cc (no_linkage_check): Anonymous types can't be accessed
+ in a different TU.
+
+2024-05-24 Nathaniel Shead <nathanieloshead@gmail.com>
+
PR c++/114947
* cp-tree.h (set_defining_module_for_partial_spec): Declare.
* module.cc (trees_in::decl_value): Track partial specs coming