aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2023-01-27 00:17:53 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2023-01-27 00:17:53 +0000
commit2371d100b946ec96384e4541235fb87e0659d87b (patch)
tree179db70dc8a4588bc986cb7fe7dd88ae7fe3ed46 /gcc/cp
parent94673a121cfc7f9d51c9d05e31795477f4dc8dc7 (diff)
downloadgcc-2371d100b946ec96384e4541235fb87e0659d87b.zip
gcc-2371d100b946ec96384e4541235fb87e0659d87b.tar.gz
gcc-2371d100b946ec96384e4541235fb87e0659d87b.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e2aad60..bb6ddc0 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,36 @@
+2023-01-26 Marek Polacek <polacek@redhat.com>
+
+ PR c++/105300
+ * parser.cc: Remove unnecessary forward declarations.
+ (cp_parser_string_literal): New wrapper.
+ (cp_parser_string_literal_common): Renamed from
+ cp_parser_string_literal. Add a bool parameter. Give an error when
+ UDLs are not permitted.
+ (cp_parser_userdef_string_literal): New wrapper.
+ (finish_userdef_string_literal): Renamed from
+ cp_parser_userdef_string_literal.
+ (cp_parser_primary_expression): Call cp_parser_userdef_string_literal
+ instead of cp_parser_string_literal.
+ (cp_parser_linkage_specification): Move a variable declaration closer
+ to its first use.
+ (cp_parser_static_assert): Likewise.
+ (cp_parser_operator): Call cp_parser_userdef_string_literal instead of
+ cp_parser_string_literal.
+ (cp_parser_asm_definition): Move a variable declaration closer to its
+ first use.
+ (cp_parser_asm_specification_opt): Move variable declarations closer to
+ their first use.
+ (cp_parser_asm_operand_list): Likewise.
+ (cp_parser_asm_clobber_list): Likewise.
+
+2023-01-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/108503
+ * parser.cc (cp_convert_omp_range_for): If cp_finish_decomp has been
+ called in !processing_template_decl with processing_template_decl
+ temporarily set, clear DECL_HAS_VALUE_EXPR_P on the vars temporarily.
+ (cp_finish_omp_range_for): And set it back again here.
+
2023-01-25 Jakub Jelinek <jakub@redhat.com>
PR c++/108525