From cdfaa4aa52752e55d27bb068b6de933d17b176d3 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 22 Dec 2023 00:18:02 +0000 Subject: Daily bump. --- gcc/cp/ChangeLog | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'gcc/cp') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5db76e8..90b26bd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,52 @@ +2023-12-21 Patrick Palka + + * cp-tree.h (maybe_warn_unparenthesized_assignment): Add + 'nested_p' bool parameter. + * semantics.cc (boolish_class_type_p_cache): Define. + (boolish_class_type_p): Define. + (maybe_warn_unparenthesized_assignment): Add 'nested_p' + bool parameter. Suppress the warning for nested assignments + to bool and bool-like class types. + (maybe_convert_cond): Pass nested_p=false to + maybe_warn_unparenthesized_assignment. + * typeck.cc (convert_for_assignment): Pass nested_p=true to + maybe_warn_unparenthesized_assignment. Remove now redundant + check for 'rhs' having bool type. + +2023-12-21 Patrick Palka + + PR c++/84542 + * decl.cc (merge_attribute_bits): Merge TREE_DEPRECATED + and TREE_UNAVAILABLE. + +2023-12-21 Patrick Palka + + PR c++/70413 + PR c++/107906 + * decl2.cc (min_vis_expr_r): Handle PTRMEM_CST and TEMPLATE_DECL + other than those for alias templates. + +2023-12-21 Jakub Jelinek + + * cp-gimplify.cc (cp_genericize_r): If warn_alloc_size, call + warn_for_alloc_size for -Walloc-size diagnostics. + * semantics.cc (finish_call_expr): If warn_calloc_transposed_args, + call warn_for_calloc for -Wcalloc-transposed-args diagnostics. + +2023-12-21 Jason Merrill + + PR c++/37722 + * decl.cc (identify_goto): Adjust for computed goto. + (struct named_label_use_entry): Add computed_goto field. + (poplevel_named_label_1): Add to computed_goto vec. + (check_previous_goto_1): Dump computed_goto vec. + (check_goto_1): Split out from check_goto. + (check_goto): Check all addressable labels for computed goto. + (struct named_label_entry): Add addressed field. + (mark_label_addressed): New. + * parser.cc (cp_parser_unary_expression): Call it. + * cp-tree.h (mark_label_addressed): Declare it. + 2023-12-20 Jason Merrill PR c++/113088 -- cgit v1.1