https://gcc.gnu.org/g:733edbfdd49f934abf48e12c4d415dd23b50b689

commit r15-6291-g733edbfdd49f934abf48e12c4d415dd23b50b689
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Tue Dec 17 00:19:06 2024 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 191 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/c-family/ChangeLog  |   8 ++
 gcc/cp/ChangeLog        |   6 ++
 gcc/fortran/ChangeLog   |   6 ++
 gcc/testsuite/ChangeLog |  62 ++++++++++++++++
 libcpp/po/ChangeLog     |   4 +
 libstdc++-v3/ChangeLog  |  62 ++++++++++++++++
 8 files changed, 340 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f3cca05d683b..285f11dc0d1d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,194 @@
+2024-12-16  Uros Bizjak  <ubiz...@gmail.com>
+
+       * config/i386/mmx.md: Fix tabs vs. spaces.
+
+2024-12-16  Uros Bizjak  <ubiz...@gmail.com>
+
+       * config/i386/i386.cc (ix86_hard_regno_mode_ok):
+       Remove explicit HImode handling for SSE2 XMM regnos.
+       * config/i386/i386.h (VALID_SSE2_REG_MODE): Add HImode.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       * libsarifreplay.cc (struct embedded_link): New.
+       (maybe_consume_embedded_link): New.
+       (sarif_replayer::make_plain_text_within_result_message): Handle
+       embedded links by using the link text, for now.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       * doc/libgdiagnostics/topics/logical-locations.rst
+       (diagnostic_manager_new_logical_location): Add note about repeated
+       calls.
+       * libgdiagnostics.cc: Define INCLUDE_MAP.
+       (class owned_nullable_string): Add copy ctor and move ctor.
+       (owned_nullable_string::operator<): New.
+       (diagnostic_logical_location::operator<): New.
+       (diagnostic_manager::new_logical_location): Use m_logical_locs to
+       "uniquify" instances, converting it to a std::map.
+       (diagnostic_manager::logical_locs_map_t): New typedef.
+       (diagnostic_manager::t m_logical_locs): Convert from a std::vector
+       to a std::map.
+       (diagnostic_execution_path::same_function_p): Update comment.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * doc/libgdiagnostics/topics/physical-locations.rst
+       (diagnostic_manager_new_file): Drop "const" from return type.
+       * doc/libgdiagnostics/tutorial/02-physical-locations.rst: Drop
+       "const" from "main_file" decl.
+       * input.cc (file_cache::add_buffered_content): New.
+       (file_cache_slot::set_content): New.
+       (file_cache_slot::dump): Use m_file_path being null rather than
+       m_fp to determine empty slots.  Dump m_fp.
+       (find_end_of_line): Drop "const" from return type and param.  Add
+       forward decl.
+       (file_cache_slot::get_next_line): Fix "const"-ness.
+       (selftest::test_reading_source_buffer): New.
+       (selftest::input_cc_tests): Call it.
+       * input.h (file_cache::add_buffered_content): New decl.
+       * libgdiagnostics++.h (class file): Drop const-ness from m_inner.
+       (file::set_buffered_content): New.
+       * libgdiagnostics.cc (class content_buffer): New.
+       (diagnostic_file::diagnostic_file): Add "mgr" param.
+       (diagnostic_file::get_content): New.
+       (diagnostic_file::set_buffered_content): New.
+       (diagnostic_file::m_mgr): New.
+       (diagnostic_file::m_content): New.
+       (diagnostic_manager::new_file): Drop const-ness.  Pass *this to
+       ctor.
+       (diagnostic_file::set_buffered_content): New.
+       (diagnostic_manager_new_file): Drop "const" from return type.
+       (diagnostic_file_set_buffered_content): New entrypoint.
+       (diagnostic_manager_debug_dump_file): Dump the content size,
+       if any.
+       * libgdiagnostics.h (diagnostic_manager_new_file): Drop "const"
+       from return type.
+       (diagnostic_file_set_buffered_content): New decl.
+       * libgdiagnostics.map (diagnostic_file_set_buffered_content): New
+       symbol.
+       * libsarifreplay.cc (sarif_replayer::m_artifacts_arr): Convert
+       from json::value to json::array.
+       (sarif_replayer::handle_run_obj): Call handle_artifact_obj
+       on all artifacts.
+       (sarif_replayer::handle_artifact_obj): New.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * diagnostic-format-text.cc
+       (diagnostic_text_output_format::append_note): Use source-printing
+       options from text_output.
+       (diagnostic_text_output_format::update_printer): Copy
+       source-printing options from dc.
+       (default_diagnostic_text_finalizer): Use source-printing
+       options from text_output.
+       * diagnostic-format-text.h
+       (diagnostic_text_output_format::diagnostic_text_output_format):
+       Add optional diagnostic_source_printing_options param, using
+       the context's if null.
+       (diagnostic_text_output_format::get_source_printing_options): New
+       accessor.
+       (diagnostic_text_output_format::m_source_printing): New field.
+       * diagnostic-path.cc (event_range::print): Use source-printing
+       options from text_output.
+       (selftest::test_interprocedural_path_1): Use source-printing
+       options from dc.
+       * diagnostic-show-locus.cc
+       (gcc_rich_location::add_location_if_nearby): Likewise.
+       (diagnostic_context::maybe_show_locus): Add "opts" param
+       and use in place of m_source_printing.  Pass it to source_policy
+       ctor.
+       (diagnostic_source_print_policy::diagnostic_source_print_policy):
+       Add overload taking a const diagnostic_source_printing_options &.
+       * diagnostic.cc (diagnostic_context::initialize): Pass nullptr
+       for source options when creating text sink, so that it uses
+       the dc's options.
+       (diagnostic_context::dump): Add an "output sinks:" heading and
+       print "(none)" if there aren't any.
+       (diagnostic_context::set_output_format): Split out code into...
+       (diagnostic_context::remove_all_output_sinks): ...this new
+       function.
+       * diagnostic.h
+       (diagnostic_source_print_policy::diagnostic_source_print_policy):
+       Add overload taking a const diagnostic_source_printing_options &.
+       (diagnostic_context::maybe_show_locus): Add "opts" param.
+       (diagnostic_context::remove_all_output_sinks): New decl.
+       (diagnostic_context::m_source_printing): New field.
+       (diagnostic_show_locus): Add "opts" param and pass to
+       maybe_show_locus.
+       * libgdiagnostics.cc (sink::~sink): Delete.
+       (sink::begin_group): Delete.
+       (sink::end_group): Delete.
+       (sink::emit): Delete.
+       (sink::m_dc): Drop field.
+       (diagnostic_text_sink::on_begin_text_diagnostic): Delete.
+       (diagnostic_text_sink::get_source_printing_options): Use
+       m_souece_printing.
+       (diagnostic_text_sink::m_current_logical_loc): Drop field.
+       (diagnostic_text_sink::m_inner_sink): New field.
+       (diagnostic_text_sink::m_source_printing): New field.
+       (diagnostic_manager::diagnostic_manager): Update for changes
+       to fields.  Initialize m_dc.
+       (diagnostic_manager::~diagnostic_manager): Call diagnostic_finish.
+       (diagnostic_manager::get_file_cache): Drop.
+       (diagnostic_manager::get_dc): New accessor.
+       (diagnostic_manager::begin_group): Reimplement.
+       (diagnostic_manager::end_group): Reimplement.
+       (diagnostic_manager::get_prev_diag_logical_loc): New accessor.
+       (diagnostic_manager::m_dc): New field.
+       (diagnostic_manager::m_file_cache): Drop field.
+       (diagnostic_manager::m_edit_context): Convert to a std::unique_ptr
+       so that object can be constructed after m_dc is initialized.
+       (diagnostic_manager::m_prev_diag_logical_loc): New field.
+       (diagnostic_text_sink::diagnostic_text_sink): Reimplement.
+       (get_color_rule): Delete.
+       (diagnostic_text_sink::set_colorize): Reimplement.
+       (diagnostic_text_sink::text_starter): New.
+       (sarif_sink::sarif_sink): Reimplement.
+       (diagnostic_manager::write_patch): Update for change to
+       m_edit_context.
+       (diagnostic_manager::emit): Update now that each sink has a
+       corresponding diagnostic_output_format object within m_dc.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       * diagnostic.cc (diagnostic_context::dump): Dump m_file_cache.
+       * input.cc (file_cache_slot::dump): New decls and implementations.
+       (file_cache::dump): New.
+       * input.h (file_cache::dump): New decl.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       * doc/md.texi: Add "3" suffix.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       PR target/112694
+       PR target/116611.
+       * config/riscv/riscv-v.cc (expand_vec_perm_const): Remove early
+       return.
+       * tree-vect-slp.cc (can_duplicate_and_interleave_p): Return
+       false when we cannot create sub-elements.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       PR target/117383
+       * config/riscv/riscv-protos.h (enum insn_type): Use TU policy.
+       * config/riscv/riscv-v.cc (shuffle_compress_patterns): Set VL.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       PR target/118019
+       * config/riscv/riscv.cc (riscv_builtin_vectorization_cost):
+       Increase vec_construct cost.
+
+2024-12-16  Mark Harmstone  <m...@harmstone.com>
+
+       * dwarf2codeview.cc (write_s_frameproc): Align output.
+       (write_s_inlinesite): Align output.
+
 2024-12-15  John David Anglin  <dang...@gcc.gnu.org>
 
        PR target/118018
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index ccdbb2491954..cbf8d2dfdf13 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241216
+20241217
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index dd7e7933ae98..38052efda3dd 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,11 @@
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * c-format.cc (selftest::test_type_mismatch_range_labels): Use
+       dc.m_source_printing.
+       * c-opts.cc (c_diagnostic_text_finalizer): Use source-printing
+       options from text_output.
+
 2024-12-12  Sandra Loosemore  <sloosem...@baylibre.com>
            Peter Eisentraut  <pe...@eisentraut.org>
 
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f852a02173e3..0409d4b39408 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * error.cc (auto_context_line::~auto_context_line): Use
+       source-printing options from text_output.
+
 2024-12-15  Iain Sandoe  <i...@sandoe.co.uk>
 
        * coroutines.cc
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d51b9deea8ea..914ee9f54599 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * error.cc (gfc_diagnostic_text_starter): Use source-printing
+       options from text_output.
+
 2024-12-15  Paul Thomas  <pa...@gcc.gnu.org>
 
        PR fortran/117897
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bff99b33e53c..4ddeabb5858b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,65 @@
+2024-12-16  Hans-Peter Nilsson  <h...@axis.com>
+
+       PR tree-optimization/118055
+       * gcc.dg/tree-ssa/pr83403-1.c, gcc.dg/tree-ssa/pr83403-2.c: Add
+       cris-*-* to targets passing --param=max-completely-peeled-insns=300.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       * sarif-replay.dg/2.1.0-valid/3.11.6-embedded-links.sarif: New test.
+       * sarif-replay.dg/2.1.0-valid/malloc-vs-local-4.c.sarif: Update
+       expected output for handling the embedded links.
+       * sarif-replay.dg/2.1.0-valid/spec-example-4.sarif: Likewise.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       * libgdiagnostics.dg/test-logical-location.c: Include <assert.h>.
+       Verify that creating a diagnostic_logical_location with equal
+       values yields the same instance.
+       * sarif-replay.dg/2.1.0-valid/malloc-vs-local-4.c.sarif: New test.
+       * sarif-replay.dg/2.1.0-valid/signal-1.c.moved.sarif: Update
+       expected output to show logical location and for consolidation of
+       events into runs.
+       * sarif-replay.dg/2.1.0-valid/signal-1.c.sarif: Likewise.
+       * sarif-replay.dg/2.1.0-valid/spec-example-4.sarif: Likewise.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * sarif-replay.dg/2.1.0-valid/error-with-note.sarif: Update
+       expected output to include quoted source code and underlines.
+       * sarif-replay.dg/2.1.0-valid/signal-1.c.moved.sarif: New test.
+       * sarif-replay.dg/2.1.0-valid/signal-1.c.sarif: Update expected
+       output to include quoted source code and underlines.
+
+2024-12-16  David Malcolm  <dmalc...@redhat.com>
+
+       PR sarif-replay/117943
+       * gcc.dg/plugin/diagnostic_plugin_test_show_locus.cc
+       (custom_diagnostic_text_finalizer): Use source-printing options
+       from text_output.
+       * gcc.dg/plugin/diagnostic_plugin_xhtml_format.cc
+       (xhtml_builder::make_element_for_diagnostic): Use source-printing
+       options from diagnostic_context.
+       * gcc.dg/plugin/expensive_selftests_plugin.cc (test_richloc):
+       Likewise.
+
+2024-12-16  Dimitar Dimitrov  <dimi...@dinux.eu>
+
+       * gcc.dg/pr117816.c: Require effective target int32plus.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       PR target/117383
+       * gcc.target/riscv/rvv/autovec/binop/vcompress-avlprop-1.c:
+       Expect tu.
+       * gcc.target/riscv/rvv/autovec/pr117383.c: New test.
+
+2024-12-16  Robin Dapp  <rd...@ventanamicro.com>
+
+       PR target/118019
+       * gcc.target/riscv/rvv/autovec/pr118019.c: New test.
+
 2024-12-15  John David Anglin  <dang...@gcc.gnu.org>
 
        * gcc.dg/tree-ssa/ivopts-1.c: Enable TImode tests on hppa64.
diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog
index 79e1c725efe9..d92699add0b8 100644
--- a/libcpp/po/ChangeLog
+++ b/libcpp/po/ChangeLog
@@ -1,3 +1,7 @@
+2024-12-16  Joseph Myers  <josmy...@redhat.com>
+
+       * sr.po: Update.
+
 2024-09-19  Joseph Myers  <josmy...@redhat.com>
 
        * zh_CN.po: Update.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 74df3d4476b4..71b4ddb5f699 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,65 @@
+2024-12-16  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/hashtable_policy.h (_Local_iterator_base): Use
+       default member-initializers.
+
+2024-12-16  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/hashtable_policy.h: Replace typedefs with
+       alias-declarations. Remove redundant std:: qualification.
+       (_Mod_range_hashing, _Mask_range_hashing): Remove adaptable
+       function object typedefs.
+
+2024-12-16  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/hashtable_policy.h (_Hash_code_storage): Remove.
+       (_Hash_obj_storage): New class template. Store the hash
+       function as a union member instead of using a byte buffer.
+       (_Local_iterator_base): Use _Hash_obj_storage instead of
+       _Hash_code_storage, adjust members that construct and destroy
+       the hash object.
+       (_Local_iterator_base::_M_incr): Calculate bucket index.
+
+2024-12-16  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/hashtable.h (_Hashtable::swap): Swap hash
+       function and equality predicate here. Inline allocator swap
+       instead of using __alloc_on_swap.
+       * include/bits/hashtable_policy.h (_Hashtable_ebo_helper):
+       Replace EBO with no_unique_address attribute. Remove NTTP.
+       (_Hash_code_base): Replace base class with data member using
+       no_unique_address attribute.
+       (_Hash_code_base::_M_swap): Remove.
+       (_Hash_code_base::_M_hash): Remove.
+       (_Hashtable_base): Replace base class with data member using
+       no_unique_address attribute.
+       (_Hashtable_base::_M_swap): Remove.
+       (_Hashtable_alloc): Replace base class with data member using
+       no_unique_address attribute.
+
+2024-12-16  Jonathan Wakely  <jwak...@redhat.com>
+
+       PR libstdc++/57272
+       * include/bits/forward_list.h (__fwd_list::_Node): Add
+       user-provided special member functions to union.
+       * include/bits/stl_list.h (__list::_Node): Likewise.
+       (_Node_base::_M_hook, _Node_base::swap): Use _M_base() instead
+       of std::pointer_traits::pointer_to.
+       (_Node_base::_M_transfer): Likewise. Add noexcept.
+       (_List_base::_M_put_node): Use 'if constexpr' to avoid using
+       pointer_traits::pointer_to when not necessary.
+       (_List_base::_M_destroy_node): Fix parameter to be the pointer
+       type used internally, not the allocator's pointer.
+       (list::_M_create_node): Likewise.
+       * 
testsuite/23_containers/forward_list/requirements/explicit_instantiation/alloc_ptr.cc:
+       Check explicit instantiation of non-trivial value type.
+       * 
testsuite/23_containers/list/requirements/explicit_instantiation/alloc_ptr.cc:
+       Likewise.
+       * 
testsuite/23_containers/forward_list/requirements/explicit_instantiation/alloc_ptr_ignored.cc:
+       Fix macro name.
+       * 
testsuite/23_containers/list/requirements/explicit_instantiation/alloc_ptr_ignored.cc:
+       Likewise.
+
 2024-12-14  Abdo Eid  <abdoeid...@ieee.org>
 
        * include/c_compatibility/wchar.h (fgetwc): Remove duplicate

Reply via email to