https://gcc.gnu.org/g:2c3724c84c139c70c034816cc37f5dfb7f256815
commit r17-3802-g2c3724c84c139c70c034816cc37f5dfb7f256815 Author: GCC Administrator <[email protected]> Date: Tue Sep 1 00:16:38 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 166 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/cp/ChangeLog | 9 +++ gcc/fortran/ChangeLog | 10 +++ gcc/testsuite/ChangeLog | 132 ++++++++++++++++++++++++++++++++++++++ libbacktrace/ChangeLog | 20 ++++++ libstdc++-v3/ChangeLog | 13 ++++ 7 files changed, 351 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac4603c6bad6..8513b3bac3f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,169 @@ +2026-08-31 Dipesh Sharma <[email protected]> + + PR tree-optimization/126690 + * match.pd: Add patterns to fold CPROJ when nested inside CPROJ or CABS. + +2026-08-31 Daniel Barboza <[email protected]> + + PR tree-optimization/127163 + * tree-ssa-forwprop.cc (simplify_phi_result_movdiv): check if + the div/mod is using INTEGRAL_TYPE_P operands. + +2026-08-31 Aldy Hernandez <[email protected]> + + PR tree-optimization/126906 + * cfghooks.h (can_copy_bbs_p): Add prevailing_exit argument. + (copy_bbs): Likewise. + * cfghooks.cc (can_copy_bbs_p): Exempt prevailing_exit->src + from the abnormal successor edge refusal; refuse a + prevailing_exit->dest inside the region. + (copy_bbs): Prune the non-prevailing edges of + prevailing_exit->src's copy instead of redirecting them. + Assert the prevailing exit leaves the region. + * tree-ssa-threadupdate.cc + (back_jt_path_registry::duplicate_thread_path): Pass EXIT to + can_copy_bbs_p and copy_bbs when the path ends in abnormal + edges. Assert the region ends in EXIT's source. Remove + write-only exit_copy. + +2026-08-31 Léo Hardt <[email protected]> + + * tree-into-ssa.cc (struct mark_def_sites_global_data): Remove. + * tree-ssa-propagate.cc (ssa_propagation_engine::ssa_propagate): + Remove. + * tree-ssa-tail-merge.cc (struct aux_bb_info): Remove + (BB_VOP_AT_EXIT): Remove. + * tree-vectorizer.h (vect_detect_hybrid_slp): Remove. + +2026-08-31 wangjue <[email protected]> + + * ifcvt.cc (noce_cond_arith_operation): New function. + (noce_operand_known_extended_p): New function. + (noce_try_cond_arith): Handle arithmetic operations wrapped in an + extension. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/126998 + * tree-vectorizer.h (vect_get_num_copies_for_invariant): + Adjust API. + * tree-vect-slp.cc (vect_get_num_copies_for_invariant): Also + compute and output the constant number of excess lanes produced. + (vect_create_constant_vectors): Adjust. + (vect_slp_analyze_node_operations): Likewise. + * tree-vect-loop.cc (vectorizable_lane_reducing): Likewise. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/127152 + * tree-vect-loop.cc (vect_transform_reduction): Restore + vectype_in computation, compute vec_in_num from unaltered + vec_oprnds. + +2026-08-31 Daniel Barboza <[email protected]> + + PR tree-optimization/101179 + * tree-ssa-forwprop.cc (simplify_phi_result_movdiv): New + forwprop step where MOD/DIV ops with pow2 divisors can be + simplified to BIT_AND/RSHIFT. + (pass_forwprop::execute): Call simplify_phi_result_movdiv. + +2026-08-31 Jin Ma <[email protected]> + + * config/riscv/bitmanip.md: Split masked bit-test branches into + BEXT. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/127116 + * tree-vect-patterns.cc (vect_recog_mask_conversion_pattern): + Pass rhs1_type as scalar type to build_mask_conversion. + (vect_init_pattern_stmt): Dump mask-precision used for the stmt. + (append_pattern_def_seq): Likewise. + +2026-08-31 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/126982 + * match-sat-alu.pd (signed_integer_sat_trunc): Require the + conversion to keep the precision of the operand, and the result + to be narrower than it. + +2026-08-31 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/126981 + * match-sat-alu.pd (unsigned_integer_narrow_clip): Require the + operand to be known different from the minimum of its type. + +2026-08-31 Lunex <[email protected]> + + PR tree-optimization/126994 + * tree-scalar-evolution.cc (final_value_replacement_loop): Guard + analyze_and_compute_bitop_with_inv_effect on + integer_zerop (niter_desc.may_be_zero). + +2026-08-31 Matthias Kretz <[email protected]> + + PR target/127055 + * config/i386/sse.md (floor<mode>2): Drop !flag_trapping_math. + (lfloor<mode><sseintvecmodelower>2): Likewise. + (ceil<mode>2): Likewise. + (lceil<mode><sseintvecmodelower>2): Likewise. + (btrunc<mode>2): Likewise. + +2026-08-31 Takayuki 'January June' Suwa <[email protected]> + + * config/xtensa/constraints.md (Gz, Gc): New FP constant constraint. + * config/xtensa/predicates.md (move_operand): + Remove to replace the role with the following two new predicates, in + order to make it easier for both humans and compilers to understand. + (move_int_operand): New predicate for the second operand of + "mov[dshq]i_internal" MD patterns. + (move_fp_operand): New predicate for the second operand of + "mov[ds]f_internal" MD patterns. + (const_float_1_operand): Remove as it is not being used. + * config/xtensa/xtensa-protos.h (xtensa_fp_const): + New function prototype. + * config/xtensa/xtensa.cc (xtensa_fp_const): + New function that returns the corresponding non-negative index number + for FP constant values supported by the CONST.S instruction. + (print_operand): Add a new format specifier "G" that outputs the index + for the FP constant value handled by the "CONST.S" instruction. + (xtensa_legitimate_constant_p): Add the non-negative zero set by the + "MOVI" instruction and the floating-point constant supported by the + "CONST.S" instruction to the evaluation range. + * config/xtensa/xtensa.h (TARGET_HARD_FLOAT_CONST_S): + A new macro indicating the conditions under which the "CONST.S" + instruction is available. + * config/xtensa/xtensa.md + (movdi_internal, movsi_internal, movhi_internal, movqi_internal): + Replace the "move_operand" predicate with "move_int_operand". + (movsf): Modify the preparation statement used during RTL generation + to prevent constant immediates that satisfy "Gz" or "Gc" constraints + from being placed in literal pool. + (movsf_internal): Replace the "move_operand" predicate with + "move_fp_operand", and Add the "MOVI" instruction using the "Gz" + constraint and the "CONST.S" instruction using the "Gs" constraint to + the alternatives. + (movdf_internal): Replace the "move_operand" predicate with + "move_fp_operand". + +2026-08-31 Naveen <[email protected]> + + PR tree-optimization/127102 + * match.pd: Add pattern to simplify MIN(A,B) == 0 to A == 0 and + MIN(A,B) != 0 to A != 0 when B is known positive. + +2026-08-31 Pan Li <[email protected]> + + * config/riscv/vector.md: Leverage Wvr constraint. + +2026-08-31 Sun, Qin <[email protected]> + + PR target/119300 + * config/i386/i386-options.cc (ix86_option_override_internal): + Warn and use SSE arithmetics when -mfpmath=387 is set, 387 is turned + off but SSE is available. + 2026-08-29 Jeff Law <[email protected]> * tree-ssa-loop-ivopts.cc (ivopts_estimate_reg_pressure): Remove diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 08239b647341..820b8ba596e0 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260831 +20260901 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 64018638bf4a..ad72d4a0824b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2026-08-31 Jakub Jelinek <[email protected]> + + PR c++/126922 + * mangle.cc (write_expression): For CONSTRUCTOR skipped + member of std::meta::info type, call write_expression on + get_null_reflection rather than build_zero_cst. + * tree.cc (zero_init_expr_p): If type is std::meta::info, + return true iff t is null reflection. + 2026-08-29 Vincenzo Calabretta <[email protected]> PR c++/127046 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4e89e5141cfd..2fdd83372ec5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,13 @@ +2026-08-31 Jerry DeLisle <[email protected]> + + PR fortran/127128 + * resolve.cc (replace_forall_var): New function. + (replace_in_expr_recursive): Traverse with gfc_traverse_expr + instead of walking the expression by hand. + (replace_in_code_recursive): Substitute in the whole branch chain + of IF and WHERE constructs, in the allocate-objects of ALLOCATE + and DEALLOCATE, and in SELECT TYPE and SELECT RANK case lists. + 2026-08-30 Jerry DeLisle <[email protected]> PR fortran/125722 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d0708957287e..32da5172f6a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,135 @@ +2026-08-31 Dipesh Sharma <[email protected]> + + PR tree-optimization/126690 + * gcc.dg/tree-ssa/pr126690.c: New test. + +2026-08-31 Daniel Barboza <[email protected]> + + PR tree-optimization/127163 + * gcc.dg/torture/pr127163.c: New test. + +2026-08-31 Jeff Law <[email protected]> + + * gcc.target/riscv/rvv/autovec/struct/struct_vect-1.c: Update expected + output. + * gcc.target/riscv/rvv/autovec/struct/struct_vect-2.c: Update expected + * gcc.target/riscv/rvv/autovec/struct/struct_vect-3.c: Update expected + * gcc.target/riscv/rvv/autovec/struct/struct_vect-4.c: Update expected + * gcc.target/riscv/rvv/autovec/struct/struct_vect-5.c: Update expected + * gcc.target/riscv/rvv/vsetvl/avl_single-26.c: Likewise. + +2026-08-31 Aldy Hernandez <[email protected]> + + PR tree-optimization/126906 + * gcc.dg/tree-ssa/ssa-thread-25.c: New test. + * gcc.dg/tree-ssa/ssa-thread-26.c: New test. + +2026-08-31 Jerry DeLisle <[email protected]> + + PR fortran/127128 + * gfortran.dg/do_concurrent_typespec_5.f90: New test. + +2026-08-31 wangjue <[email protected]> + + * gcc.target/riscv/pr122769.c: Add the branch cost and restrict the + test to compatible optimization options. + * gcc.target/riscv/zicond-conditional-add-extend.c: New test. + * gcc.target/riscv/pr123322.c: Update expected output. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/126998 + * gcc.dg/vect/vect-reduc-dot-pr126998-2.c: New testcase. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/127152 + * gcc.dg/vect/vect-pr127152.c: New testcase. + +2026-08-31 Daniel Barboza <[email protected]> + + PR tree-optimization/101179 + * gcc.dg/tree-ssa/pr101179.c: New test. + +2026-08-31 Jin Ma <[email protected]> + + * g++.target/riscv/zbs-branch-bext.C: New test. + * gcc.target/riscv/zbs-branch-bext.c: New test. + +2026-08-31 Richard Biener <[email protected]> + + PR tree-optimization/127116 + * gcc.dg/vect/bb-slp-pr127116.c: New testcase. + +2026-08-31 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/126982 + * gcc.dg/vect/pr126982.c: New test. + +2026-08-31 Kyrylo Tkachov <[email protected]> + + PR tree-optimization/126981 + * gcc.dg/vect/pr126981.c: New test. + +2026-08-31 Lunex <[email protected]> + + PR tree-optimization/126994 + * gcc.c-torture/execute/pr126994.c: New test. + +2026-08-31 Jakub Jelinek <[email protected]> + + PR c++/126922 + * g++.dg/reflect/mangle10.C: New test. + +2026-08-31 Matthias Kretz <[email protected]> + + * gcc.target/i386/avx-pr127055.c: New test. + * gcc.target/i386/avx512f-pr127055.c: New test. + * gcc.target/i386/avx512fp16-pr127055.c: New test. + * gcc.target/i386/sse4_1-pr127055.c: New test. + +2026-08-31 Richard Biener <[email protected]> + + PR testsuite/127122 + * gcc.dg/vect/vect-cselim-2.c: Adjust. + +2026-08-31 Naveen <[email protected]> + + PR tree-optimization/127102 + * gcc.dg/tree-ssa/pr127102.c: New test. + +2026-08-31 Pan Li <[email protected]> + + * gcc.target/riscv/rvv/base/pr112431-55.c: New test. + * gcc.target/riscv/rvv/base/pr112431-56.c: New test. + +2026-08-31 Pan Li <[email protected]> + + * gcc.target/riscv/rvv/autovec/group_overlap/group_overlap.h: + Add test helper macros. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i16-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i16-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i16-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i16-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i16-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i32-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i32-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i32-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i32-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-m1.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-m2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-m4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-mf2.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-mf4.c: New test. + * gcc.target/riscv/rvv/autovec/group_overlap/vwmaccsu_vx-i8-mf8.c: New test. + +2026-08-31 Sun, Qin <[email protected]> + + PR target/119300 + * gcc.target/i386/pr119300.c: New test. + * gcc.target/i386/pr126148.c: Use -mno-sse instead of -mfpmath=387 + to disable SSE math. + 2026-08-30 Iain Sandoe <[email protected]> * gcc.dg/pubtypes-2.c: Relax size constraint. diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 465c68bff18c..8120cf26a667 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,23 @@ +2026-08-31 Ian Lance Taylor <[email protected]> + + * backtrace.h (struct backtrace_moredata): Add + backtrace_decl_lineno field. + * internal.h (BACKTRACE_MOREDATA_VERSION): Change to 4. + * dwarf.c (struct function): Add decl_lineno field. + (call_callback): Add decl_lineno parameter. Change all callers. + (read_referenced_name_from_attr): Likewise. + (read_referenced_name): Likewise. + (report_inlined_functions): Likewise. + (read_function_entry): Set decl_lineno field. + (dwarf_lookup_pc): Handle decl_lineno across inlines. + * mdtest.c (struct mdinfo): Define. + (struct mddata): Define. + (md_callback_one): Adjust for mddata. + (md_callback_three): Likewise. + (test1, f2): Reformat for simpler line number testing. + (f3): Test that decl_lineno is correct. + (f13): Adjust for mddata. + 2026-07-06 Ian Lance Taylor <[email protected]> * backtrace.h (backtrace_create_state): Rewrite comment to change diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6b7aa2df264e..5f983094a803 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2026-08-31 Patrick Palka <[email protected]> + + * include/std/flat_set (_Flat_set_impl::_M_try_emplace): + Turn nullary overload into a non-template. + +2026-08-31 Tomasz Kamiński <[email protected]> + + PR libstdc++/118665 + * include/bits/uniform_int_dist.h (uniform_int_distribution::_S_nd): + Substract __min (_Urbg::min()) from each generator invocation. + * testsuite/26_numerics/random/uniform_int_distribution/operators/values.cc: + Add testDiscreteDist for shifted (with non-zero min()) engine. + 2026-08-30 Anlai Lu <[email protected]> * include/bits/chrono_io.h (__detail::__chrono_write_time):
