https://gcc.gnu.org/g:83dbe75bb696d899901f3adf252dcb61ea7c1b8b

commit r17-4851-g83dbe75bb696d899901f3adf252dcb61ea7c1b8b
Author: GCC Administrator <[email protected]>
Date:   Sat Oct 3 00:16:34 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 103 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/fortran/ChangeLog   |  28 +++++++++++++
 gcc/testsuite/ChangeLog |  54 +++++++++++++++++++++++++
 libgfortran/ChangeLog   |  54 +++++++++++++++++++++++++
 libstdc++-v3/ChangeLog  |  92 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 332 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 473e0ae6709a..f76283f23feb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,106 @@
+2026-10-02  Andrew MacLeod  <[email protected]>
+
+       * value-relation.cc (dom_oracle::recomputed_relation): Change
+       implementation.
+       (dom_oracle::relation_search): Invoke recomputed_relation.
+       * value-relation.h (recomputed_relation): Adjust prototype.
+
+2026-10-02  Andrew MacLeod  <[email protected]>
+
+       * flag-types.h (RANGER_DEBUG_RELATION): New.
+       (RANGER_DEBUG_TRACE_RELATION): New.
+       * params.opt (--param=ranger-debug): Adjusted options.
+       * tree-vrp.cc (execute_fast_vrp): Remove deprecated param.
+       * value-query.cc (range_query::create_relation_oracle): Likewise.
+       * value-query.h (create_relation_oracle): Adjust prototype.
+       * value-relation.cc (frontier_data::frontier_data): New.
+       (frontier_data::set_known): New.
+       (frontier_data::known_relation): New.
+       (frontier_data::clear_search): New.
+       (dom_oracle::dom_oracle): Initialize new fields.
+       (dom_oracle::~dom_oracle): Release new fields.
+       (dom_oracle::record): Do not register transitives.
+       (dom_oracle::register_transitives): Delete.
+       (dom_oracle::find_relation_dom): Do not recompute relations.
+       (dom_oracle::nearest_relations): New.
+       (dom_oracle::cache_relation): New.
+       (dom_oracle::start_search): New.
+       (dom_oracle::add_to_frontier): New.
+       (dom_oracle::expand_frontier): New.
+       (dom_oracle::relation_search): New.
+       (dom_oracle::query): Use new relation_search routine.
+       * value-relation.h (dom_oracle::dom_oracle): Adjust prototype.
+       (dom_oracle::m_do_trans): Remove.
+       (class frontier_data): New.
+       (register_transitives): Remove prototype.
+       (nearest_relations): New prototype.
+       (relation_search): Likewise.
+       (cache_relation): Likewise.
+       (struct related): New.
+       (m_near): New.
+       (m_lhs_search, m_rhs_search): New.
+       (struct frontier_element): New.
+       (m_worklist): New.
+       (m_wl_ix): New.
+       (start_search): New.
+       (add_to_frontier): New.
+       (expand_frontier): New.
+
+2026-10-02  Jakub Jelinek  <[email protected]>
+
+       * config/avr/avr.opt.urls: Regenerate.
+       * config/nvptx/nvptx.opt.urls: Regenerate.
+
+2026-10-02  Yongqiang Tian  <[email protected]>
+
+       PR tree-optimization/127687
+       * tree-ssa-forwprop.cc (pass_forwprop::execute): Skip debug
+       statements before assigning UIDs.
+
+2026-10-02  Georg-Johann Lay  <[email protected]>
+
+       * configure.ac [target=avr-*.*]: Test linker for --prune-vectab,
+       and AC_DEFINE HAVE_LD_AVR_PRUNE_VECTAB if supported.
+       * config.in: Rebuild.
+       * configure: Rebuild.
+       * config/avr/avr.opt (-mprune-vectab): New target option.
+       * config/avr/specs.h (LINK_SPEC): Add %(link_prune_vectab).
+       * config/avr/gen-avr-mmcu-specs.cc (print_mcu)
+       [HAVE_LD_AVR_PRUNE_VECTAB]: Emit link_prune_vectab spec.
+       * config/avr/avr.opt.urls: Rebuild.
+       * doc/invoke.texi (AVR Options): Document -mprune-vectab.
+
+2026-10-02  Richard Biener  <[email protected]>
+
+       PR tree-optimization/127693
+       * tree-ssa-alias.cc (maybe_skip_until): Stop when reaching
+       the PHI again.
+
+2026-10-02  Tamar Christina  <[email protected]>
+
+       PR bootstrap/127635
+       * simplify-rtx.cc (simplify_context::simplify_subreg): Avoid is_a<..>
+       with ref param.
+
+2026-10-02  Tamar Christina  <[email protected]>
+
+       PR tree-optimization/127677
+       * tree-vect-loop-manip.cc (vect_gen_prolog_loop_niters): Generate MIN
+       expression on niters.
+
+2026-10-02  Aldy Hernandez  <[email protected]>
+
+       * gimple-range-fold.cc (intersects_p): New.
+       (class ctor_ref_range): Add SRC.
+       (ctor_ref_range::accumulate_range_from_array_ref): Load only from
+       the elements the range of the index reaches, a constant index
+       included.
+       (fold_using_range::fold_stmt): Pass the source to
+       range_from_readonly_var.
+       (fold_using_range::range_from_readonly_var): Add SRC.
+       * gimple-range-fold.h (fold_using_range::range_from_readonly_var):
+       Adjust.
+
 2026-10-01  Guillaume Gomez  <[email protected]>
 
        * Makefile.in: Compile new attr-handlers.cc file
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 8b2dfd12ad46..76956e8cd411 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20261002
+20261003
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index ba11b94a8731..22d020f42d90 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,31 @@
+2026-10-02  Mikael Morin  <[email protected]>
+
+       PR fortran/127637
+       * primary.cc (gfc_variable_attr): Track the current type through
+       the data reference walk.  Don't overwrite the attribute set and the
+       optional variable if the current type is a class container and the
+       component its _data field.  If the expression symbol is a function
+       without separate result name, and the current namespace is the
+       symbol's procedure body, adjust the attributes to those of the
+       function result.
+       * expr.cc (gfc_check_pointer_assign): Move the generic error check
+       after the specific function result error check.
+       * check.cc (gfc_check_c_funloc): Drop the function attribute from
+       the condition guarding the function result check.
+
+2026-10-02  Mikael Morin  <[email protected]>
+
+       * resolve.cc (get_data_ref_type): New static function, using the
+       type initialization code from gfc_variable_attr.
+       (resolve_variable): Call the new function.
+       * gfortran.h (gfc_variable_attr): Remove type argument.
+       * primary.cc (gfc_variable_attr): Ditto.  Remove type initialization
+       code.
+       (gfc_expr_attr): Update caller.
+       * check.cc (allocatable_check, gfc_check_null): Likewise.
+       * expr.cc (gfc_is_simply_contiguous): Likewise.
+       * trans-expr.cc (gfc_conv_procedure_call): Likewise.
+
 2026-09-30  Jerry DeLisle  <[email protected]>
 
        PR fortran/127671
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 71c0e4fb071a..695cf26e33c1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,57 @@
+2026-10-02  Andrew MacLeod  <[email protected]>
+
+       * gcc.dg/tree-ssa/vrp-rel1.c: New.
+       * gcc.dg/tree-ssa/vrp-rel2.c: New.
+
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127702
+       * gfortran.dg/coarray/num_images_stopped_1.f90: New test.
+
+2026-10-02  Yongqiang Tian  <[email protected]>
+
+       PR tree-optimization/127687
+       * gcc.dg/pr127687.c: New test.
+
+2026-10-02  Marek Polacek  <[email protected]>
+
+       PR c++/127551
+       * g++.dg/torture/pr127551.C: New test.
+
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127347
+       * gfortran.dg/coarray/team_alloc_overlap_1.f90: New test.
+
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127347
+       * gfortran.dg/coarray/signal_sync_1.f90: New test.
+       * gfortran.dg/coarray/signal_team_1.f90: New test.
+       * gfortran.dg/coarray/sync_failed_stat_1.f90: New test.
+
+2026-10-02  Richard Biener  <[email protected]>
+
+       PR tree-optimization/127693
+       * gcc.dg/tree-ssa/ssa-fre-116.c: New testcase.
+
+2026-10-02  Mikael Morin  <[email protected]>
+
+       PR fortran/127637
+       * gfortran.dg/optional_class_2.f90: New test.
+
+2026-10-02  Tamar Christina  <[email protected]>
+
+       PR tree-optimization/127677
+       * gcc.dg/vect/vect-early-break_146-pr127677.c: New test.
+
+2026-10-02  Aldy Hernandez  <[email protected]>
+
+       * gcc.dg/tree-ssa/phi-opt-52.c: New test.
+       * gcc.dg/tree-ssa/vrp-from-cst-agg-10.c: New test.
+       * gcc.dg/tree-ssa/vrp-from-cst-agg-11.c: New test.
+       * gcc.dg/tree-ssa/vrp-from-cst-agg-13.c: New test.
+
 2026-10-01  Aldy Hernandez  <[email protected]>
 
        * g++.dg/tree-ssa/vrp-from-cst-agg-1.C: New test.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index d7ea5a6c778d..9a9d9021d216 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,57 @@
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127702
+       * caf/shmem.c (_gfortran_caf_num_images, _gfortran_caf_image_status)
+       (_gfortran_caf_form_team): Take the size of a team from its image
+       map.
+       * caf/shmem/collective_subroutine.c (collsub_reduce_array):
+       Likewise.
+
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127347
+       * caf/shmem.c (_gfortran_caf_register): Allocate a part for every
+       image of the program.
+
+2026-10-02  Jerry DeLisle  <[email protected]>
+
+       PR libfortran/127347
+       * caf/shmem.c (_gfortran_caf_init): Synchronize without the checks
+       of the SYNC ALL statement.
+       (_gfortran_caf_sync_all, _gfortran_caf_sync_team): Report the images
+       of the team that terminated before the images synchronized.
+       (_gfortran_caf_form_team): Register the team.
+       * caf/shmem/collective_subroutine.c (collsub_sync): Adjust.
+       * caf/shmem/counter_barrier.c (counter_barrier_init): Initialize the
+       new fields.
+       (counter_barrier_add_locked): Count the images removed from the
+       barrier.
+       (next_round): Take that count as a completed round ends.
+       (wait_round, counter_barrier_wait_abortable): Report it for the round
+       the image took part in.
+       * caf/shmem/counter_barrier.h (counter_barrier): Add terminated and
+       round_terminated.
+       (counter_barrier_wait_abortable): Adjust.
+       * caf/shmem/supervisor.c (ensure_shmem_initialization): Initialize
+       the list of teams.  Register the initial team.
+       (supervisor_main_loop): Drop an image that terminated without
+       leaving its teams from them.
+       * caf/shmem/supervisor.h (supervisor): Add teams.
+       * caf/shmem/sync.c (sync_all, sync_team_unless_stopped): Report the
+       images that terminated.
+       * caf/shmem/sync.h (sync_all, sync_team_unless_stopped): Adjust.
+       * caf/shmem/teams_mgmt.c (team_terminated_images)
+       (update_teams_images_locked, leave_team): Take the team's image
+       info.
+       (register_team, update_registered_teams): New functions.
+       * caf/shmem/teams_mgmt.h (shmem_image_info): Add next_team.
+       (register_team, update_registered_teams): Declare.
+
+2026-10-02  LIU Hao  <[email protected]>
+
+       * configure.ac: Set `enable_caf_shmem` to true for Cygwin and MinGW 
hosts.
+       * configure: Regenerate.
+
 2026-09-25  Jerry DeLisle  <[email protected]>
 
        PR libfortran/127347
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 9eb3dc6a62e6..1efbc7a6aa86 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,95 @@
+2026-10-02  Jonathan Wakely  <[email protected]>
+
+       PR libstdc++/127675
+       * include/ext/pb_ds/detail/debug_map_base.hpp (split, join): Use
+       std::list::splice to move elements without reallocating.
+       * 
include/ext/pb_ds/detail/ov_tree_map_/constructors_destructor_fn_imps.hpp
+       (copy_from_ordered_range(It, It, It, It)): Do not allocate new
+       storage for an empty container.
+       * include/ext/pb_ds/detail/ov_tree_map_/erase_fn_imps.hpp
+       (erase_if): Do not modify this->debug_base::m_keys until all
+       allocations and other potentially-throwing operations have
+       completed successfully.
+       (erase_imp): Do not allocate new storage for an empty container.
+       * testsuite/ext/pb_ds/regression/127675.cc: New test.
+       * testsuite/util/testsuite_rng.h (get_time_determined_seed): Use
+       getenv("GLIBCXX_SEED_TEST_RNG") to allow the seed to be fixed.
+
+2026-10-02  Jonathan Wakely  <[email protected]>
+
+       * config/os/mingw32-w64/error_constants.h: Use EPERM without
+       checking if it's defined.
+       * config/os/mingw32/error_constants.h: Likewise.
+       * src/c++11/system_error.cc: Likewise.
+       * src/c++17/fs_dir.cc (fs::recursive_directory_iterator::__erase):
+       Likewise.
+       * testsuite/19_diagnostics/headers/system_error/errc_std_c++0x.cc:
+       Use errc::operation_not_permitted without checking if EPERM is
+       defined.
+
+2026-10-02  Jonathan Wakely  <[email protected]>
+
+       PR libstdc++/124370
+       * include/std/bitset (operator>>): Use array inside _Buffer
+       instead of __builtin_alloca.
+       * testsuite/20_util/bitset/io/input.cc: Suppress pedwarn about
+       C++14 binary literal.
+       * testsuite/20_util/bitset/io/wchar_t.cc: New test.
+
+2026-10-02  Anlai Lu  <[email protected]>
+           Tomasz Kamiński  <[email protected]>
+
+       * include/bits/streambuf_iterator.h (__format::_Iter_sink)
+       [__glibcxx_format]: Declare with specialization for
+       ostreambuf_iterator.
+       (std::ostreambuf_iterator) [__glibcxx_format]: Befriend
+       __format::_Iter_sink for ostreambuf_iterator.
+       * include/std/format (_Iter_sink<_CharT, ostreambuf_iterator<...>>):
+       Define new partial specialization.
+
+2026-10-02  Anlai Lu  <[email protected]>
+           Tomasz Kamiński  <[email protected]>
+
+       * include/std/format (__format::_Streambuf_sink): New class
+       template.
+       * include/std/streambuf: Include bits/version.h.
+       (__format::_Streambuf_sink) [__glibcxx_format]: Declare.
+       (std::basic_streambuf) [__glibcxx_format]: Befriend
+       __format::_Streambuf_sink.
+
+2026-10-02  Anlai Lu  <[email protected]>
+           Tomasz Kamiński  <[email protected]>
+
+       * testsuite/27_io/basic_ostream/print/buffered.cc: New test.
+       * testsuite/std/format/functions/format_to_ostreambuf.cc:
+       New test.
+
+2026-10-02  Jonathan Wakely  <[email protected]>
+
+       PR libstdc++/125785
+       * include/std/ranges (enable_borrowed_range<as_input_view<T>>):
+       Define partial specialization.
+       * testsuite/std/ranges/adaptors/as_input/1.cc: Test
+       specialization for as_input_view.
+       * testsuite/std/ranges/adaptors/as_const/1.cc: Test
+       specialization for as_const_view.
+       * testsuite/std/ranges/adaptors/as_rvalue/1.cc: Test
+       specialization for as_rvalue_view.
+
+2026-10-02  Odysseas Georgoudis  <[email protected]>
+
+       PR libstdc++/124051
+       * include/bits/forward_list.tcc (forward_list::sort): Restore the
+       list before propagating an exception from the comparison
+       * testsuite/23_containers/forward_list/operations/124051.cc: New test.
+
+2026-10-02  Jonathan Wakely  <[email protected]>
+
+       PR libstdc++/127666
+       * src/c++17/floating_from_chars.cc (pattern): Avoid reading past
+       the end of the input. Remove unused variable.
+       * testsuite/20_util/from_chars/127666.cc: New test.
+
 2026-10-01  Hugo Beauzée-Luyssen  <[email protected]>
 
        * config/os/aix/t-aix: Skip the 32/64 fat-archive repackage

Reply via email to