Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 3 Dec 2022 00:17:18 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 3 Dec 2022 00:17:18 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/analyzer/ChangeLog
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index b349a15..2fe57d5 100644 (file)
@@ -1,3 +1,33 @@
+2022-12-02  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
+           Jason Merrill  <jason@redhat.com>
+
+       * function.cc (init_function_start): Use DECL_RESULT location
+       for -Waggregate-return warning.
+
+2022-12-02  Andrew MacLeod  <amacleod@redhat.com>
+
+       * fold-const.cc (fold_unary_loc): Check TREE_TYPE of node.
+       (tree_invalid_nonnegative_warnv_p): Likewise.
+
+2022-12-02  Jason Merrill  <jason@redhat.com>
+
+       * gcc.cc (validate_switches): Reset suffix/starred on loop.
+
+2022-12-02  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       * lra-constraints.cc (curr_insn_transform): Check available hard
+       regs for pseudo and its subreg to decide what to reload.
+
+2022-12-02  liuhongt  <hongtao.liu@intel.com>
+
+       * config/i386/i386-expand.cc
+       (ix86_expand_fast_convert_bf_to_sf): Use extendbfsf2_1 for
+       nonimmediate operand.
+
+2022-12-02  Martin Liska  <mliska@suse.cz>
+
+       * configure: Regenerate.
+
 2022-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/106577
index c7106ba..7a1b14a 100644 (file)
@@ -1 +1 @@
-20221202
+20221203
index 921b052..7ea99c1 100644 (file)
@@ -1,5 +1,90 @@
 2022-12-02  David Malcolm  <dmalcolm@redhat.com>
 
+       * 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  <dmalcolm@redhat.com>
+
+       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  <dmalcolm@redhat.com>
+
        PR analyzer/107948
        * region-model-manager.cc
        (region_model_manager::maybe_fold_binop): Fold (0 - VAL) to -VAL.
index 9ca32b1..3fb66a7 100644 (file)
@@ -1,3 +1,8 @@
+2022-12-02  Andrew MacLeod  <amacleod@redhat.com>
+
+       * c-attribs.cc (handle_deprecated_attribute): Use type when
+       using TYPE_NAME.
+
 2022-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/84469
index bccd902..1ce30dd 100644 (file)
@@ -1,3 +1,16 @@
+2022-12-02  Bernhard Reutner-Fischer  <rep.dot.nop@gmail.com>
+           Jason Merrill  <jason@redhat.com>
+
+       * 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  <jason@redhat.com>
+
+       * g++spec.cc (lang_specific_driver): Set SKIPOPT for nostdlib++.
+
 2022-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/84469
index b16bc0b..d59f059 100644 (file)
@@ -1,3 +1,43 @@
+2022-12-02  Harald Anlauf  <anlauf@gmx.de>
+
+       PR fortran/107874
+       * gfortran.dg/merge_1.f90: Avoid recursive I/O.
+
+2022-12-02  David Malcolm  <dmalcolm@redhat.com>
+
+       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  <polacek@redhat.com>
+
+       * 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  <rep.dot.nop@gmail.com>
+           Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/diagnostic/return-type-loc1.C: New test.
+
+2022-12-02  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       * gcc.target/mips/pr106462.c: New test.
+
+2022-12-02  liuhongt  <hongtao.liu@intel.com>
+
+       * gcc.target/i386/cbranchbf4.c: New test.
+
 2022-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/106577