https://gcc.gnu.org/g:e8c2f3a427a96a8626f005d4b38492b5d0a96c03

commit r15-7902-ge8c2f3a427a96a8626f005d4b38492b5d0a96c03
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Sat Mar 8 00:17:25 2025 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 173 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/c-family/ChangeLog  |  14 ++++
 gcc/c/ChangeLog         |  21 ++++++
 gcc/cp/ChangeLog        |  17 +++++
 gcc/testsuite/ChangeLog | 128 +++++++++++++++++++++++++++++++++++
 libstdc++-v3/ChangeLog  |  20 ++++++
 7 files changed, 374 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dec21280bb6f..5ab8f8a33d5e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,176 @@
+2025-03-07  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * tree.cc (get_attr_nonstring_decl): Look through all ARRAY_REFs, not
+       just one and handle COMPONENT_REF and MEM_REF after skipping those
+       rather than only when there wasn't ARRAY_REF.  Formatting fix.
+
+2025-03-07  Kees Cook  <k...@kernel.org>
+           Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * doc/invoke.texi (Wunterminated-string-initialization): Document
+       the new interaction between this warning and -Wc++-compat and that
+       initialization of decls with nonstring attribute aren't warned about.
+
+2025-03-07  Sandra Loosemore  <sloosem...@baylibre.com>
+
+       PR sanitizer/56682
+       * doc/invoke.texi (Instrumentation Options): Document that -g
+       is useful with -fsanitize=thread and -fsanitize=address.
+       Also mention -fno-omit-frame-pointer per the asan wiki.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+           Jan Hubicka  <hubi...@ucw.cz>
+           H.J. Lu  <hjl.to...@gmail.com>
+
+       PR rtl-optimization/117477
+       * config/aarch64/aarch64.cc (aarch64_count_saves): New function.
+       (aarch64_count_above_hard_fp_saves, aarch64_callee_save_cost)
+       (aarch64_frame_allocation_cost): Likewise.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       (TARGET_FRAME_ALLOCATION_COST): Likewise.
+       * config/i386/i386.cc (ix86_ira_callee_saved_register_cost_scale):
+       Replace with...
+       (ix86_callee_save_cost): ...this new hook.
+       (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST): Define.
+       * target.h (spill_cost_type, frame_cost_type): New enums.
+       * target.def (callee_save_cost, frame_allocation_cost): New hooks.
+       (ira_callee_saved_register_cost_scale): Delete.
+       * doc/tm.texi.in (TARGET_IRA_CALLEE_SAVED_REGISTER_COST_SCALE): Delete.
+       (TARGET_CALLEE_SAVE_COST, TARGET_FRAME_ALLOCATION_COST): New hooks.
+       * doc/tm.texi: Regenerate.
+       * hard-reg-set.h (hard_reg_set_popcount): New function.
+       * ira-color.cc (allocated_memory_p): New variable.
+       (allocated_callee_save_regs): Likewise.
+       (record_allocation): New function.
+       (assign_hard_reg): Use targetm.frame_allocation_cost to model
+       the cost of the first spill or first caller save.  Use
+       targetm.callee_save_cost to model the cost of using new callee-saved
+       registers.  Apply the exit rather than entry frequency to the cost
+       of restoring a register or deallocating the frame.  Update the
+       new variables above.
+       (improve_allocation): Use record_allocation.
+       (color): Initialize allocated_callee_save_regs.
+       (ira_color): Initialize allocated_memory_p.
+       * targhooks.h (default_callee_save_cost): Declare.
+       (default_frame_allocation_cost): Likewise.
+       * targhooks.cc (default_callee_save_cost): New function.
+       (default_frame_allocation_cost): Likewise.
+
+2025-03-07  Sandra Loosemore  <sloosem...@baylibre.com>
+
+       PR target/116708
+       * doc/invoke.texi (x86 Options): Clarify how -msse4 and -mno-sse4
+       interact with other SSE options.
+
+2025-03-07  Martin Jambor  <mjam...@suse.cz>
+
+       PR ipa/118318
+       * ipa-cp.cc (adjust_clone_incoming_counts): Add a compatible_p check.
+
+2025-03-07  Richard Earnshaw  <rearn...@arm.com>
+
+       * config/arm/arm_neon.h: Try harder to detect if we have
+       the softfp ABI enabled.
+
+2025-03-07  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/112960
+       PR c/117029
+       * doc/extend.texi (Complex): Add I and J suffixes to the list of
+       complex suffixes, adjust for all of those being part of ISO C2Y,
+       clarify that for -fno-ext-numeric-literals none of those are
+       recognized as GNU extensions and for C++14 i is considered UDL
+       even for -fext-numeric-literals when <complex> is included.
+
+2025-03-07  Simon Martin  <si...@nasilyan.com>
+
+       * tree-vect-data-refs.cc: Define INCLUDE_ALGORITHM.
+
+2025-03-07  Tamar Christina  <tamar.christ...@arm.com>
+
+       PR tree-optimization/118464
+       PR tree-optimization/116855
+       * doc/invoke.texi (min-pagesize): Update docs with vectorizer use.
+       * tree-vect-data-refs.cc (vect_analyze_early_break_dependences): Delay
+       checks.
+       (vect_compute_data_ref_alignment): Remove alignment checks and move to
+       get_load_store_type, increase group access alignment.
+       (vect_enhance_data_refs_alignment): Add note to comment needing
+       investigating.
+       (vect_analyze_data_refs_alignment): Likewise.
+       (vect_supportable_dr_alignment): For group loads look at first DR.
+       * tree-vect-stmts.cc (get_load_store_type):
+       Perform safety checks for early break pfa.
+       * tree-vectorizer.h (dr_set_safe_speculative_read_required,
+       dr_safe_speculative_read_required, DR_SCALAR_KNOWN_BOUNDS): New.
+       (need_peeling_for_alignment): Renamed to...
+       (safe_speculative_read_required): .. This
+       (class dr_vec_info): Add scalar_access_known_in_bounds.
+
+2025-03-07  Tamar Christina  <tamar.christ...@arm.com>
+
+       PR tree-optimization/118464
+       PR tree-optimization/116855
+       * config/aarch64/aarch64-sve.md (@extract_<last_op>_<mode>,
+       @fold_extract_<last_op>_<mode>,
+       @aarch64_fold_extract_vector_<last_op>_<mode>): Change SVE_FULL to
+       SVE_ALL.
+       * config/aarch64/iterators.md (vccore): Add more partial types.
+
+2025-03-07  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/119145
+       * tree-vectorizer.cc (try_vectorize_loop_1): Avoid BB
+       vectorizing an if-converted loop body when there's a .MASK_CALL
+       in the loop body.
+
+2025-03-07  Christophe Lyon  <christophe.l...@linaro.org>
+
+       PR target/115485
+       * config/arm/arm.cc (require_pic_register): Fix typos in
+       comment. Handle fixed arm_pic_register.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+
+       PR tree-optimization/116125
+       * tree-vect-data-refs.cc (vect_prune_runtime_alias_test_list): Make
+       the dr_with_seg_len alignment fields describe tha access sizes as
+       well as the pointer alignment.
+       * tree-data-ref.cc (create_intersect_range_checks): Don't compensate
+       for invalid alignment fields here.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+
+       PR target/119133
+       * config/aarch64/aarch64.md
+       (*aarch64_bfi<GPI:mode><ALLX:mode>_<SUBDI_BITS>): Use
+       force_lowpart_subreg.
+
+2025-03-07  Richard Biener  <rguent...@suse.de>
+
+       PR middle-end/118801
+       * tree-ssa-dce.cc (eliminate_unnecessary_stmts): Prune
+       sequences of uninterrupted DEBUG BEGIN_STMTs, keeping only
+       the last of a set with unique location.
+
+2025-03-07  Sandra Loosemore  <sloosem...@baylibre.com>
+
+       PR c/113515
+       * doc/invoke.texi (Warning Options): Improve -Wstringop-overflow
+       documentation.
+
+2025-03-07  Haochen Jiang  <haochen.ji...@intel.com>
+
+       * config/i386/avx10_2-512convertintrin.h
+       (_mm512_mask_cvtbf8_ph): Correct mask width.
+       (_mm512_maskz_cvtbf8_ph): Ditto.
+       * config/i386/avx10_2convertintrin.h
+       (_mm256_mask_cvtbf8_ph): Ditto.
+       (_mm256_maskz_cvtbf8_ph): Ditto.
+
 2025-03-06  Alexey Merzlyakov  <alexey.merzlya...@samsung.com>
 
        PR rtl-optimization/119099
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 5f4d7bc93d21..e0b091027923 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250307
+20250308
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 79dacebb0a38..0a1ce00368b3 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,17 @@
+2025-03-07  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * c-attribs.cc (handle_nonstring_attribute): Allow the attribute also
+       on multi-dimensional arrays with char/signed char/unsigned char
+       element type or pointers to such single and multi-dimensional arrays.
+
+2025-03-07  Kees Cook  <k...@kernel.org>
+           Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * c.opt (Wunterminated-string-initialization): Don't depend on
+       -Wc++-compat.
+
 2025-03-05  Marek Polacek  <pola...@redhat.com>
 
        PR c++/115580
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index adaabd53ecbc..8a1b3bdd5be9 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,24 @@
+2025-03-07  Kees Cook  <k...@kernel.org>
+           Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * c-typeck.cc (digest_init): Add DECL argument.  Adjust wording of
+       pedwarn_init for too long strings and provide details on the lengths,
+       for string literals where just the trailing NULL doesn't fit warn for
+       warn_cxx_compat with OPT_Wc___compat, wording which mentions "for C++"
+       and provides details on lengths, otherwise for
+       warn_unterminated_string_initialization adjust the warning, provide
+       details on lengths and don't warn if get_attr_nonstring_decl (decl).
+       (build_c_cast, store_init_value, output_init_element): Adjust
+       digest_init callers.
+
+2025-03-07  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       PR c/60440
+       * c-typeck.cc (c_finish_return): Mark the current function
+       for supression of the -Wreturn-type if there was an error
+       on the return statement.
+
 2025-02-26  Jakub Jelinek  <ja...@redhat.com>
 
        PR c/119001
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4f40e7299176..eb3cce5c4c40 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,20 @@
+2025-03-07  Marek Polacek  <pola...@redhat.com>
+
+       PR c++/118775
+       * constexpr.cc (cxx_eval_call_expression): Check tree_fits_uhwi_p.
+
+2025-03-07  Nathaniel Shead  <nathanielosh...@gmail.com>
+
+       * constexpr.cc (potential_constant_expression_1): Handle
+       TU_LOCAL_ENTITY.
+       * pt.cc (expr_contains_tu_local_entity): Remove.
+       (function_contains_tu_local_entity): Remove.
+       (dependent_operand_p): Remove special handling for
+       TU_LOCAL_ENTITY.
+       (tsubst_expr): Handle TU_LOCAL_ENTITY when tsubsting OVERLOADs;
+       remove now-unnecessary extra handling.
+       (type_dependent_expression_p): Handle TU_LOCAL_ENTITY.
+
 2025-03-06  Simon Martin  <si...@nasilyan.com>
 
        * cp-tree.h (processing_contract_condition): Fix comment typo,
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2808653e2ae2..21c041cf2faf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,131 @@
+2025-03-07  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * c-c++-common/attr-nonstring-7.c: Remove one xfail.
+       * c-c++-common/attr-nonstring-9.c: New test.
+       * c-c++-common/attr-nonstring-10.c: New test.
+       * c-c++-common/attr-nonstring-11.c: New test.
+       * c-c++-common/attr-nonstring-12.c: New test.
+       * c-c++-common/attr-nonstring-13.c: New test.
+       * c-c++-common/attr-nonstring-14.c: New test.
+       * c-c++-common/attr-nonstring-15.c: New test.
+       * c-c++-common/attr-nonstring-16.c: New test.
+
+2025-03-07  Kees Cook  <k...@kernel.org>
+           Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117178
+       * gcc.dg/Wunterminated-string-initialization.c: Add additional test
+       coverage.
+       * gcc.dg/Wcxx-compat-14.c: Check in dg-warning for "for C++" part of
+       the diagnostics.
+       * gcc.dg/Wcxx-compat-23.c: New test.
+       * gcc.dg/Wcxx-compat-24.c: New test.
+
+2025-03-07  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       * gcc.dg/Wreturn-mismatch-2a.c: Change dg-warning
+       for the last -Wreturn-type to dg-bogus.
+       * gcc.dg/Wreturn-mismatch-6.c: Likewise.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+           Jan Hubicka  <hubi...@ucw.cz>
+           H.J. Lu  <hjl.to...@gmail.com>
+
+       PR rtl-optimization/117477
+       * gcc.target/aarch64/callee_save_1.c: New test.
+       * gcc.target/aarch64/callee_save_2.c: Likewise.
+       * gcc.target/aarch64/callee_save_3.c: Likewise.
+       * gcc.target/aarch64/pr103350-1.c: Add -fno-caller-saves.
+
+2025-03-07  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       PR c/60440
+       * gcc.dg/Wreturn-mismatch-2.c: Change dg-warning
+       for the last -Wreturn-type to dg-bogus.
+       * gcc.dg/pr60440-1.c: New test.
+
+2025-03-07  Marek Polacek  <pola...@redhat.com>
+
+       PR c++/118775
+       * g++.dg/cpp2a/constexpr-new24.C: New test.
+       * g++.dg/cpp2a/constexpr-new25.C: New test.
+
+2025-03-07  Richard Earnshaw  <rearn...@arm.com>
+
+       * lib/target-supports.exp
+       (check_effective_target_arm_neon_h_ok_nocache): New function.
+       (check_effective_target_arm_neon_h_ok): Likewise.
+       (add_options_for_arm_neon_h): Likewise.
+       (check_effective_target_arm_libc_fp_abi_ok_nocache): Allow any
+       Arm target, not just arm32.
+       * gcc.target/arm/attr-neon-builtin-fail.c: Use it.
+       * gcc.target/arm/attr-neon-builtin-fail2.c: Likewise.
+       * gcc.target/arm/attr-neon-fp16.c: Likewise.
+       * gcc.target/arm/attr-neon2.c: Likewise.
+
+2025-03-07  Tamar Christina  <tamar.christ...@arm.com>
+
+       PR tree-optimization/118464
+       PR tree-optimization/116855
+       * gcc.dg/vect/bb-slp-pr65935.c: Update, it now vectorizes because the
+       load type is relaxed later.
+       * gcc.dg/vect/vect-early-break_121-pr114081.c: Update.
+       * gcc.dg/vect/vect-early-break_22.c: Require partial vectors.
+       * gcc.dg/vect/vect-early-break_128.c: Likewise.
+       * gcc.dg/vect/vect-early-break_26.c: Likewise.
+       * gcc.dg/vect/vect-early-break_43.c: Likewise.
+       * gcc.dg/vect/vect-early-break_44.c: Likewise.
+       * gcc.dg/vect/vect-early-break_2.c: Require load_lanes.
+       * gcc.dg/vect/vect-early-break_7.c: Likewise.
+       * gcc.dg/vect/vect-early-break_132-pr118464.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa1.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa11.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa10.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa2.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa3.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa4.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa5.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa6.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa7.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa8.c: New test.
+       * gcc.dg/vect/vect-early-break_133_pfa9.c: New test.
+       * gcc.dg/vect/vect-early-break_39.c: Update testcase for misalignment.
+       * gcc.dg/vect/vect-early-break_18.c: Likewise.
+       * gcc.dg/vect/vect-early-break_20.c: Likewise.
+       * gcc.dg/vect/vect-early-break_21.c: Likewise.
+       * gcc.dg/vect/vect-early-break_38.c: Likewise.
+       * gcc.dg/vect/vect-early-break_6.c: Likewise.
+       * gcc.dg/vect/vect-early-break_53.c: Likewise.
+       * gcc.dg/vect/vect-early-break_56.c: Likewise.
+       * gcc.dg/vect/vect-early-break_57.c: Likewise.
+       * gcc.dg/vect/vect-early-break_81.c: Likewise.
+
+2025-03-07  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/119145
+       * gcc.dg/vect/pr119145.c: New testcase.
+
+2025-03-07  Christophe Lyon  <christophe.l...@linaro.org>
+
+       PR target/115485
+       * g++.target/arm/pr115485.C: New test.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+
+       PR tree-optimization/116125
+       * gcc.dg/vect/pr116125.c: New test.
+
+2025-03-07  Richard Sandiford  <richard.sandif...@arm.com>
+
+       PR target/119133
+       * gcc.dg/torture/pr119133.c: New test.
+
+2025-03-07  Haochen Jiang  <haochen.ji...@intel.com>
+
+       * gcc.target/i386/avx10_2-512-convert-1.c: Change function call.
+       * gcc.target/i386/avx10_2-convert-1.c: Ditto.
+
 2025-03-06  Co-authored-by: Jeff Law  <j...@ventanamicro.com>
 
        PR rtl-optimization/119099
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 20f7616fdb48..5ed1330506ff 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,23 @@
+2025-03-07  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/std/forward_list (erase): Change lambda to have
+       explicit return type and const parameter type.
+       * include/std/list (erase): Likewise.
+       * testsuite/23_containers/forward_list/erasure.cc: Check lambda
+       is correct.
+       * testsuite/23_containers/list/erasure.cc: Likewise.
+
+2025-03-07  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/chrono_io.h (chrono::__detail::from_stream): Add
+       deleted function as poison pill for unqualified lookup.
+
+2025-03-07  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/std/expected (expected<cv void,E>::value()&&):
+       Add missing static_assert for LWG 3940.
+       * testsuite/20_util/expected/lwg3843.cc: New test.
+
 2025-03-06  Jonathan Wakely  <jwak...@redhat.com>
 
        * include/bits/unique_lock.h (unique_lock::operator=): Fix for

Reply via email to