https://gcc.gnu.org/g:d670769bf632ea4af81477a777c16eeea219315c
commit r16-3306-gd670769bf632ea4af81477a777c16eeea219315c Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Thu Aug 21 00:20:43 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cobol/ChangeLog | 7 +++ gcc/cp/ChangeLog | 5 ++ gcc/fortran/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 40 ++++++++++++ libgcobol/ChangeLog | 7 +++ 7 files changed, 223 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03a89577644a..9b59682f9440 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,160 @@ +2025-08-20 Qing Zhao <qing.z...@oracle.com> + + * common.opt.urls: Regenerate. + +2025-08-20 Qing Zhao <qing.z...@oracle.com> + + PR tree-optimization/109071 + PR tree-optimization/85788 + PR tree-optimization/88771 + PR tree-optimization/106762 + PR tree-optimization/108770 + PR tree-optimization/115274 + PR tree-optimization/117179 + * Makefile.in (OBJS): Add diagnostic-context-rich-location.o. + * common.opt (fdiagnostics-show-context): New option. + (fdiagnostics-show-context=): New option. + * diagnostic-context-rich-location.cc: New file. + * diagnostic-context-rich-location.h: New file. + * doc/invoke.texi (fdiagnostics-details): Add + documentation for the new options. + * gimple-array-bounds.cc (check_out_of_bounds_and_warn): Add + one new parameter. Use rich location with details for warning_at. + (array_bounds_checker::check_array_ref): Use rich location with + ditails for warning_at. + (array_bounds_checker::check_mem_ref): Add one new parameter. + Use rich location with details for warning_at. + (array_bounds_checker::check_addr_expr): Use rich location with + move_history_diagnostic_path for warning_at. + (array_bounds_checker::check_array_bounds): Call check_mem_ref with + one more parameter. + * gimple-array-bounds.h: Update prototype for check_mem_ref. + * gimple-ssa-warn-access.cc (warn_string_no_nul): Use rich location + with details for warning_at. + (maybe_warn_nonstring_arg): Likewise. + (maybe_warn_for_bound): Likewise. + (warn_for_access): Likewise. + (check_access): Likewise. + (pass_waccess::check_strncat): Likewise. + (pass_waccess::maybe_check_access_sizes): Likewise. + * gimple-ssa-warn-restrict.cc (pass_wrestrict::execute): Calculate + dominance info for diagnostics show context. + (maybe_diag_overlap): Use rich location with details for warning_at. + (maybe_diag_access_bounds): Use rich location with details for + warning_at. + +2025-08-20 Andrew Pinski <andrew.pin...@oss.qualcomm.com> + + PR tree-optimization/121568 + * ipa-prop.h (build_ref_for_offset): Remove. + * tree-sra.cc (build_ref_for_offset): Make static. + +2025-08-20 Richard Sandiford <richard.sandif...@arm.com> + + * config.gcc (aarch64*-*-*): Remove aarch64-cc-fusion.o from + extra_objs. + * config/aarch64/aarch64-passes.def (pass_cc_fusion): Delete. + * config/aarch64/aarch64-protos.h (make_pass_cc_fusion): Delete. + * config/aarch64/t-aarch64 (aarch64-cc-fusion.o): Delete. + * config/aarch64/aarch64-cc-fusion.cc: Delete. + * late-combine.cc (late_combine::optimizable_set): Take a set_info * + rather than an insn_info * and move destination tests from... + (late_combine::combine_into_uses): ...here. Take a set_info * rather + an insn_info *. Take the rtx set. + (late_combine::parallelize_insns, late_combine::combine_cc_setter) + (late_combine::combine_insn): New member functions. + (late_combine::m_parallel): New member variable. + * rtlanal.cc (pattern_cost): Handle sets of CC registers in the + same way as comparisons. + +2025-08-20 Richard Sandiford <richard.sandif...@arm.com> + + * rtl-ssa/blocks.cc (function_info::create_degenerate_phi): Fix + inverted test of bitmap_set_bit. Call add_live_out_use even + if the register was previously live-out from the predecessor block. + Instead... + (function_info::add_live_out_use): ...check here whether a live-out + use already exists. + +2025-08-20 Richard Sandiford <richard.sandif...@arm.com> + + * rtl-ssa/accesses.h (use_lookup): New class. + * rtl-ssa/functions.h (function_info::find_def): Expand comment. + (function_info::find_use): Declare. + * rtl-ssa/member-fns.inl (use_lookup::prev_use, use_lookup::next_use) + (use_lookup::matching_use, use_lookup::matching_or_prev_use) + (use_lookup::matching_or_next_use): New member functions. + * rtl-ssa/accesses.cc (function_info::find_use): Likewise. + +2025-08-20 Richard Biener <rguent...@suse.de> + + PR tree-optimization/114480 + * cfganal.cc (compute_idf): Split processing of the initial + workset from the main iteration. Use a vector for the + workset of the main iteration. + +2025-08-20 Georg-Johann Lay <a...@gjlay.de> + + PR target/121608 + * config/avr/specs.h (LINK_RELAX_SPEC): Wrap in %{!r...}. + +2025-08-20 Richard Biener <rguent...@suse.de> + + * tree-vect-slp.cc (vect_analyze_slp_reduc_chain): New, + copied from vect_analyze_slp_instance and only handle + slp_inst_kind_reduc_chain. Inline vect_build_slp_instance. + (vect_analyze_slp_instance): Only handle slp_inst_kind_store. + Inline vect_build_slp_instance. + (vect_build_slp_instance): Remove now unused stmt_info parameter, + remove special code for store groups and reduction chains. + (vect_analyze_slp): Call vect_analyze_slp_reduc_chain + for reduction chain SLP build and adjust. + +2025-08-20 Richard Biener <rguent...@suse.de> + + * tree-vect-data-refs.cc (vect_check_gather_scatter): + Remove restriction on epilogue of epilogue vectorization. + +2025-08-20 Richard Biener <rguent...@suse.de> + + * tree-vect-loop.cc (update_epilogue_loop_vinfo): Remove + fixing up pattern stmt operands and gather/scatter DR_REFs. + (find_in_mapping): Remove. + +2025-08-20 Richard Biener <rguent...@suse.de> + + * tree-vectorizer.h (vect_load_store_data): New. + (_slp_tree::memory_access_type): Remove. + (SLP_TREE_MEMORY_ACCESS_TYPE): Turn into inline function. + * tree-vect-slp.cc (_slp_tree::_slp_tree): Do not + initialize SLP_TREE_MEMORY_ACCESS_TYPE. + * tree-vect-stmts.cc (check_load_store_for_partial_vectors): + Remove gather_scatter_info pointer argument, instead get + info from the SLP node. + (vect_build_one_gather_load_call): Get SLP node and builtin + decl as argument and remove uses of gather_scatter_info. + (vect_build_one_scatter_store_call): Likewise. + (vect_get_gather_scatter_ops): Remove uses of gather_scatter_info. + (vect_get_strided_load_store_ops): Get SLP node and remove + uses of gather_scatter_info. + (get_load_store_type): Take pointer to vect_load_store_data + instead of individual pointers. + (vectorizable_store): Adjust. Re-use get_load_store_type + result from analysis time. + (vectorizable_load): Likewise. + +2025-08-20 H.J. Lu <hjl.to...@gmail.com> + + PR target/121572 + * config/i386/i386-features.cc (replace_tls_call): Add a bitmap + argument and put the updated TLS instruction in the bitmap. + (ix86_get_dominator_for_reg): New. + (ix86_check_flags_reg): Likewise. + (ix86_emit_tls_call): Likewise. + (ix86_place_single_tls_call): Add 2 bitmap arguments for updated + GNU and GNU2 TLS instructions. Call ix86_emit_tls_call to emit + TLS instruction. Correct debug dump for before instruction. + 2025-08-19 Andrew Pinski <andrew.pin...@oss.qualcomm.com> PR middle-end/120024 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 78e84775513e..56ada40236dd 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250820 +20250821 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 85aab533a423..256ee70242a9 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,10 @@ +2025-08-20 Robert Dubner <rdub...@symas.com> + + * genutil.cc (get_binary_value): Fix a comment. + * parse.y: udf_args_valid(): Fix loc calculation. + * symbols.cc (assert): extend_66_capacity(): Avoid assert(e < e2) in + -O0 build until symbol_table expansion is fixed. + 2025-08-15 Robert Dubner <rdub...@symas.com> * genapi.h (parser_call_exception_end): Remove obsolete comment. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a2cd0b26ddc9..56ce34403128 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2025-08-20 Marek Polacek <pola...@redhat.com> + + PR c++/121553 + * name-lookup.cc (check_local_shadow): Check !is_normal_capture_proxy. + 2025-08-19 Ben Wu <soggysocks...@gmail.com> PR c++/120618 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4a85cb0565df..0546faf8baa3 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2025-08-20 Jerry DeLisle <jvdeli...@gcc.gnu.org> + + * intrinsic.texi: Correct the example given for FRACTION. + Move the TEAM_NUMBER section to after the TANPI to align + with the order gven in the index. + 2025-08-16 H.J. Lu <hjl.to...@gmail.com> PR fortran/107421 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7d7f82b0a574..6acd48f0da4b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,43 @@ +2025-08-20 Marek Polacek <pola...@redhat.com> + + PR c++/121553 + * g++.dg/warn/Wshadow-19.C: Revert P2036 changes. + * g++.dg/warn/Wshadow-6.C: Likewise. + * g++.dg/warn/Wshadow-20.C: New test. + * g++.dg/warn/Wshadow-21.C: New test. + +2025-08-20 Qing Zhao <qing.z...@oracle.com> + + PR tree-optimization/109071 + PR tree-optimization/85788 + PR tree-optimization/88771 + PR tree-optimization/106762 + PR tree-optimization/108770 + PR tree-optimization/115274 + PR tree-optimization/117179 + * gcc.dg/pr109071.c: New test. + * gcc.dg/pr109071_1.c: New test. + * gcc.dg/pr109071_10.c: New test. + * gcc.dg/pr109071_11.c: New test. + * gcc.dg/pr109071_12.c: New test. + * gcc.dg/pr109071_2.c: New test. + * gcc.dg/pr109071_3.c: New test. + * gcc.dg/pr109071_4.c: New test. + * gcc.dg/pr109071_5.c: New test. + * gcc.dg/pr109071_6.c: New test. + * gcc.dg/pr109071_7.c: New test. + * gcc.dg/pr109071_8.c: New test. + * gcc.dg/pr109071_9.c: New test. + * gcc.dg/pr117375.c: New test. + +2025-08-20 H.J. Lu <hjl.to...@gmail.com> + + PR target/121572 + * gcc.target/i386/pr121572-1a.c: New test. + * gcc.target/i386/pr121572-1b.c: Likewise. + * gcc.target/i386/pr121572-2a.c: Likewise. + * gcc.target/i386/pr121572-2b.c: Likewise. + 2025-08-19 Jason Merrill <ja...@redhat.com> * g++.dg/cpp26/expansion-stmt16.C: Add -fno-implicit-constexpr. diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 88e2aa18f4bc..17518981c5c1 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,10 @@ +2025-08-20 Robert Dubner <rdub...@symas.com> + + * libgcobol.cc (format_for_display_internal): Handle NumericDisplay + properly. + (compare_88): Fix memory access error. + (__gg__unstring): Likewise. + 2025-08-13 Mark Wielaard <m...@klomp.org> * configure: Regenerate.