From 596dbfff882ec1a0b3c92f9e8bee5b490ca7d5b4 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Sat, 3 Dec 2022 00:17:18 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 30 +++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 85 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/c-family/ChangeLog | 5 +++ gcc/cp/ChangeLog | 13 ++++++++ gcc/testsuite/ChangeLog | 40 +++++++++++++++++++++++ 6 files changed, 174 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b349a15..2fe57d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,33 @@ +2022-12-02 Bernhard Reutner-Fischer + Jason Merrill + + * function.cc (init_function_start): Use DECL_RESULT location + for -Waggregate-return warning. + +2022-12-02 Andrew MacLeod + + * fold-const.cc (fold_unary_loc): Check TREE_TYPE of node. + (tree_invalid_nonnegative_warnv_p): Likewise. + +2022-12-02 Jason Merrill + + * gcc.cc (validate_switches): Reset suffix/starred on loop. + +2022-12-02 Vladimir N. Makarov + + * lra-constraints.cc (curr_insn_transform): Check available hard + regs for pseudo and its subreg to decide what to reload. + +2022-12-02 liuhongt + + * config/i386/i386-expand.cc + (ix86_expand_fast_convert_bf_to_sf): Use extendbfsf2_1 for + nonimmediate operand. + +2022-12-02 Martin Liska + + * configure: Regenerate. + 2022-12-02 Jakub Jelinek PR target/106577 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c7106ba..7a1b14a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20221202 +20221203 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 921b052..7ea99c1 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,5 +1,90 @@ 2022-12-02 David Malcolm + * analyzer.h (struct event_loc_info): New forward decl. + * bounds-checking.cc: Use event_loc_info throughout to bundle the + loc, fndecl, depth triples. + * call-info.cc: Likewise. + * checker-event.cc: Likewise. + * checker-event.h (struct event_loc_info): New decl. Use it + throughout to bundle the loc, fndecl, depth triples. + * checker-path.cc: Likewise. + * checker-path.h: Likewise. + * diagnostic-manager.cc: Likewise. + * engine.cc: Likewise. + * infinite-recursion.cc: Likewise. + * pending-diagnostic.cc: Likewise. + * pending-diagnostic.h: Likewise. + * region-model.cc: Likewise. + * sm-signal.cc: Likewise. + * varargs.cc: Likewise. + +2022-12-02 David Malcolm + + PR analyzer/107851 + * analyzer.cc (make_label_text_n): Convert param "n" from int to + unsigned HOST_WIDE_INT. + * analyzer.h (make_label_text_n): Likewise for decl. + * bounds-checking.cc: Include "analyzer/checker-event.h" and + "analyzer/checker-path.h". + (out_of_bounds::add_region_creation_events): New. + (concrete_past_the_end::describe_region_creation_event): Replace + with... + (concrete_past_the_end::add_region_creation_events): ...this. + (symbolic_past_the_end::describe_region_creation_event): Delete. + * checker-event.cc (region_creation_event::region_creation_event): + Update for dropping all member data. + (region_creation_event::get_desc): Delete, splitting out into + region_creation_event_memory_space::get_desc, + region_creation_event_capacity::get_desc, and + region_creation_event_debug::get_desc. + (region_creation_event_memory_space::get_desc): New. + (region_creation_event_capacity::get_desc): New. + (region_creation_event_allocation_size::get_desc): New. + (region_creation_event_debug::get_desc): New. + * checker-event.h: Include "analyzer/program-state.h". + (enum rce_kind): Delete. + (class region_creation_event): Drop all member data. + (region_creation_event::region_creation_event): Make protected. + (region_creation_event::get_desc): Delete. + (class region_creation_event_memory_space): New. + (class region_creation_event_capacity): New. + (class region_creation_event_allocation_size): New. + (class region_creation_event_debug): New. + * checker-path.cc (checker_path::add_region_creation_events): Add + "pd" param. Call pending_diangnostic::add_region_creation_events. + Update for conversion of RCE_DEBUG to region_creation_event_debug. + * checker-path.h (checker_path::add_region_creation_events): Add + "pd" param. + * diagnostic-manager.cc (diagnostic_manager::build_emission_path): + Pass pending_diagnostic to + emission_path::add_region_creation_events. + (diagnostic_manager::build_emission_path): Pass path_builder to + add_event_on_final_node. + (diagnostic_manager::add_event_on_final_node): Add "pb" param. + Pass pending_diagnostic to + emission_path::add_region_creation_events. + (diagnostic_manager::add_events_for_eedge): Pass + pending_diagnostic to emission_path::add_region_creation_events. + * diagnostic-manager.h + (diagnostic_manager::add_event_on_final_node): Add "pb" param. + * pending-diagnostic.cc + (pending_diagnostic::add_region_creation_events): New. + * pending-diagnostic.h (struct region_creation): Delete. + (pending_diagnostic::describe_region_creation_event): Delete. + (pending_diagnostic::add_region_creation_events): New vfunc. + * region-model.cc: Include "analyzer/checker-event.h" and + "analyzer/checker-path.h". + (dubious_allocation_size::dubious_allocation_size): Initialize + m_has_allocation_event. + (dubious_allocation_size::describe_region_creation_event): Delete. + (dubious_allocation_size::describe_final_event): Update for + replacement of m_allocation_event with m_has_allocation_event. + (dubious_allocation_size::add_region_creation_events): New. + (dubious_allocation_size::m_allocation_event): Replace with... + (dubious_allocation_size::m_has_allocation_event): ...this. + +2022-12-02 David Malcolm + PR analyzer/107948 * region-model-manager.cc (region_model_manager::maybe_fold_binop): Fold (0 - VAL) to -VAL. diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 9ca32b1..3fb66a7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2022-12-02 Andrew MacLeod + + * c-attribs.cc (handle_deprecated_attribute): Use type when + using TYPE_NAME. + 2022-12-02 Jakub Jelinek PR c++/84469 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bccd902..1ce30dd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2022-12-02 Bernhard Reutner-Fischer + Jason Merrill + + * decl.cc (grokdeclarator): Build RESULT_DECL. + (start_preparsed_function): Copy location from template. + * semantics.cc (apply_deduced_return_type): Handle + arg != current_function_decl. + * method.cc (implicitly_declare_fn): Use it. + +2022-12-02 Jason Merrill + + * g++spec.cc (lang_specific_driver): Set SKIPOPT for nostdlib++. + 2022-12-02 Jakub Jelinek PR c++/84469 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b16bc0b..d59f059 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,43 @@ +2022-12-02 Harald Anlauf + + PR fortran/107874 + * gfortran.dg/merge_1.f90: Avoid recursive I/O. + +2022-12-02 David Malcolm + + PR analyzer/107851 + * gcc.dg/analyzer/allocation-size-4.c: Update expected wording. + * gcc.dg/analyzer/allocation-size-multiline-1.c: New test. + * gcc.dg/analyzer/allocation-size-multiline-2.c: New test. + * gcc.dg/analyzer/out-of-bounds-multiline-1.c: Update expected + wording. + * gcc.dg/analyzer/out-of-bounds-multiline-2.c: New test. + * gcc.dg/analyzer/out-of-bounds-read-char-arr.c: Update expected + wording. + * gcc.dg/analyzer/out-of-bounds-read-int-arr.c: Likewise. + * gcc.dg/analyzer/out-of-bounds-write-char-arr.c: Likewise. + * gcc.dg/analyzer/out-of-bounds-write-int-arr.c: Likewise. + +2022-12-02 Marek Polacek + + * g++.dg/cpp0x/constexpr-ex1.C: Adjust dg-error. + * g++.dg/cpp23/constexpr-nonlit10.C: Adjust dg-warning. + * g++.dg/cpp23/constexpr-nonlit11.C: Likewise. + * g++.dg/cpp2a/spaceship-eq3.C: Add dg-error. + +2022-12-02 Bernhard Reutner-Fischer + Jason Merrill + + * g++.dg/diagnostic/return-type-loc1.C: New test. + +2022-12-02 Vladimir N. Makarov + + * gcc.target/mips/pr106462.c: New test. + +2022-12-02 liuhongt + + * gcc.target/i386/cbranchbf4.c: New test. + 2022-12-02 Jakub Jelinek PR target/106577 -- 2.7.4