https://gcc.gnu.org/g:693570ffa68847f59a24b04caf8c161975091243
commit r15-10920-g693570ffa68847f59a24b04caf8c161975091243 Author: GCC Administrator <[email protected]> Date: Mon Mar 9 00:19:49 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 237 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 9 ++ gcc/cp/ChangeLog | 63 +++++++++++ gcc/testsuite/ChangeLog | 285 ++++++++++++++++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 11 ++ libiberty/ChangeLog | 9 ++ 7 files changed, 615 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5cdb930ac0d8..08f1f3aaafb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,240 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124135 + * tree-inline.cc (expand_call_inline): If both gimple_call_lhs (stmt) + and use_retvar aren't gimple regs but have gimple reg type, use + separate load of use_retva into SSA_NAME and then store of it + into gimple_call_lhs (stmt). + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124358 + * match.pd ((ptr) (x p+ y) p+ z -> (ptr) (x p+ (y + z))): Simplify + into (ptr) x p+ (y + z) instead. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124349 + * config/i386/sse.md (iptrssebvec_2): New define_mode_attr. + (cvthf82ph<mode><mask_name>): Use it for -masm=intel input + operand. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124367 + * config/i386/sse.md (*andnot<mode>3): Use 0x44 rather than $0x44 + for -masm=intel. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124366 + * config/i386/i386.md (@wrss<mode>, @wruss<mode>): Swap operand + order for -masm=intel. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-04 Jakub Jelinek <[email protected]> + + PR target/124341 + * config/i386/sse.md (vcvt<convertfp8_pack><mode><mask_name>): Use + <mask_operand3> rather than <mask_operand2> for -masm=intel. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-04 Jakub Jelinek <[email protected]> + + PR target/124349 + * config/i386/sse.md (avx10_2_comisbf16_v8bf): Use %w1 instead of %1 + for -masm=intel. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-03 Jakub Jelinek <[email protected]> + + PR target/124315 + * config/i386/sse.md (avx512f_vmfmadd_<mode>_mask3<round_name>, + avx512f_vmfmsub_<mode>_mask3<round_name>, + avx512f_vmfnmadd_<mode>_mask3<round_name>, + avx512f_vmfnmsub_<mode>_mask3<round_name>): Use %<iptr>1 instead of + %<iptr>3 in -masm=intel syntax. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-03 Jakub Jelinek <[email protected]> + + PR target/124335 + * config/i386/sse.md (*avx512f_load<mode>_mask): Use %{%3%} instead of + %{3%} for -masm=intel syntax. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-02 Jakub Jelinek <[email protected]> + + PR target/124294 + * config/i386/sse.md (avx512fp16_mov<mode>): Fix ordering of operands + for -masm=intel for the avx10_2 alternative. Fix up indentation in + the insn condition. + (vec_set<mode>_0): Fix comment typo, higer -> higher. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-18 Jakub Jelinek <[email protected]> + + PR target/124138 + * config/i386/i386.cc (avx_vpermilp_parallel): Verify + ipar[2] and ipar[3] aren't larger than 3. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-11 Jakub Jelinek <[email protected]> + + PR middle-end/124056 + * cfgexpand.cc (expand_asm_stmt): If after_md_seq is non-NULL, emit + it at the start of after_rtl_seq instead of after fallthru_label. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-11 Jakub Jelinek <[email protected]> + + PR rtl-optimization/116600 + PR middle-end/123386 + * cfgrtl.cc (force_nonfallthru_and_redirect): Don't do any + asm goto adjustments early, only note in asm_goto_edge if + any labels point originally to e->dest head. After jumpblock + creation don't add an extra edge for asm_goto_edge, instead + adjust those labels pointing to former e->dest head to point + to jumpblock instead. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-07 Jakub Jelinek <[email protected]> + + PR tree-optimization/123672 + * tree-ssa-forwprop.cc (recognise_vec_perm_simplify_seq): Use std::swap + instead of fetching gimple_assign_rhs{1,2} again. Change type of lanes + vector from auto_vec<unsigned int> to auto_vec<bool> and store true + instead of 1 into it. Fix comment typo and formatting fix. + (can_blend_vec_perm_simplify_seqs_p): Put end of comment on the same + line as the last sentence in it. + (calc_perm_vec_perm_simplify_seqs): Change lane_assignment type from + auto_vec<int> to auto_vec<unsigned> and store 2 + l_orig into it + instead of true. Fix comment typo and formatting fix. Set use_seq1 + to line_assignment[i] < 2 instead of line_assignment[i] != 2. Replace + bogus computation of index for !use_seq with using + line_assignment[i] - 2. Set l1 to l1 % nelts and similarly for l2. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-06 Jakub Jelinek <[email protected]> + + PR c/101312 + * alias.cc (get_alias_set): Allow TYPE_CANONICAL (mv) to be + not its own TYPE_MAIN_VARIANT, as long as its TYPE_MAIN_VARIANT + has TYPE_CANONICAL equal to itself. + * tree.cc (verify_type): Likewise. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-05 Jakub Jelinek <[email protected]> + + PR middle-end/123978 + * range-op.h (OP_WIDEN_MULT_SIGNED_UNSIGNED): Define. + (OP_WIDEN_PLUS_SIGNED, OP_WIDEN_PLUS_UNSIGNED, + RANGE_OP_TABLE_SIZE): Renumber. + * gimple-range-op.cc (imple_range_op_handler::maybe_non_standard): + Use 3 different classes instead of 2 for WIDEN_MULT_EXPR, one + for both operands signed, one for both operands unsigned and + one for operands with different signedness. In the last case + canonicalize to first operand signed second unsigned. + * range-op.cc (operator_widen_mult_signed::wi_fold): Use + TYPE_PRECISION (type) rather than wi::get_precision (whatever) * 2, + use SIGNED for all wide_int::from calls. + (operator_widen_mult_unsigned::wi_fold): Similarly but use UNSIGNED + for all wide_int::from calls. + (class operator_widen_mult_signed_unsigned): New type. + (operator_widen_mult_signed_unsigned::wi_fold): Define. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-04 Jakub Jelinek <[email protected]> + + PR c++/123818 + * tree.cc (simple_cst_equal) <case CONSTRUCTOR>: Return -1 if some + recursive call returns -1. Also compare indexes. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-04 Jakub Jelinek <[email protected]> + + PR middle-end/122689 + * gimple-lower-bitint.cc (gimple_lower_bitint): For the PHI handling + if min_prec == prec, break after emitting assignment from c. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-02 Jakub Jelinek <[email protected]> + + PR tree-optimization/121104 + * tree-ssa-math-opts.cc (match_uaddc_usubc): Punt if + lhs of ovf1 or ovf2 doesn't have element type compatible with type. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR tree-optimization/123864 + * match.pd (__builtin_mul_overflow_p (x, cst, (stype) 0) -> + x > stype_max / cst || x < stype_min / cst): Only check + integer_minus_onep for signed types. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR c++/123790 + * fold-const.cc (fold_convert_const): Handle conversion of + integer_zerop to NULLPTR_TYPE. + (fold_convert_loc): Likewise. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR middle-end/123876 + * omp-low.cc (diagnose_sb_2): Handle GIMPLE_ASM. + 2026-03-05 Xi Ruoyao <[email protected]> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index be1b8dbcd101..dea73acc8b8f 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260308 +20260309 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ec211b5caa47..39da24a9be1e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-18 Jakub Jelinek <[email protected]> + + PR c/123365 + * c-decl.cc (build_compound_literal): Call relayout_decl + after completing the type. + 2025-12-11 Jakub Jelinek <[email protected]> Backported from master: diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 143e8476b03a..235ef2dec06d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,66 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-17 Jakub Jelinek <[email protected]> + + PR c++/120685 + * typeck2.cc (build_functional_cast_1): For C++23 auto(x) + without tf_warning or tf_error return error_mark_node instead of + emitting pedwarn and handling it. + * semantics.cc (finish_compound_literal): Similarly for C++26 + auto{x}. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-09 Jakub Jelinek <[email protected]> + + PR c++/123889 + * constexpr.cc (explain_invalid_constexpr_fn): Diagnose + NULL or error_mark_node massaged on non-constructor. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-27 Jakub Jelinek <[email protected]> + + PR c++/123578 + * tree.cc (cxx_printable_name_internal): Call lang_decl_name before + finding the slot to cache it in and repeat search in the cache + after the call. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123737 + * parser.cc (cp_parser_expression): Don't handle CPP_EMBED just + as the last byte in it if expression has or might have overloaded + type. In that case call build_x_compound_expr for each byte + in CPP_EMBED separately. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123667 + * semantics.cc (finish_decltype_type): Allow a structured binding + for ptds.saved to have DECL_HAS_VALUE_EXPR_P cleared, if it is + not within current_function_decl, but in that case assert that + lookup_decomp_type succeeded. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123684 + * name-lookup.cc (handle_namespace_attrs): Only handle visibility and + abi_tag attributes in the gnu namespace and deprecated attribute in + the standard or gnu namespaces. + 2026-03-03 Patrick Palka <[email protected]> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 32282eec383e..445f90997f49 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,288 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-06 Jakub Jelinek <[email protected]> + + PR target/122000 + * gcc.c-torture/execute/pr122000.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124135 + * g++.dg/torture/pr124135-1.C: New test. + * g++.dg/torture/pr124135-2.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-06 Jakub Jelinek <[email protected]> + + PR tree-optimization/124358 + * gcc.c-torture/execute/pr124358.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124349 + * gcc.target/i386/avx10_2-pr124349-2.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124367 + * gcc.target/i386/avx512vl-pr124367.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124366 + * gcc.target/i386/cet-pr124366.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-04 Jakub Jelinek <[email protected]> + + PR target/124341 + * gcc.target/i386/avx10_2-pr124341.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-04 Jakub Jelinek <[email protected]> + + PR target/124349 + * gcc.target/i386/avx10_2-pr124349.c: New test. + +2026-03-08 liuhongt <[email protected]> + + Backported from master: + 2026-03-04 liuhongt <[email protected]> + + PR target/124335 + * gcc.target/i386/avx512fp16-pr124335.c: Require target + avx512fp16 instead of avx512bw. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-03 Jakub Jelinek <[email protected]> + + PR target/124315 + * gcc.target/i386/avx512f-pr124315.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-03 Jakub Jelinek <[email protected]> + + PR target/124335 + * gcc.target/i386/avx512fp16-pr124335.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-02 Jakub Jelinek <[email protected]> + + PR tree-optimization/124288 + * gcc.dg/torture/vec-cvt-1.c (FLTTEST): Use comma expression + to store into {flt,dbl}m{in,ax} and read from it again for + comparison. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-02 Jakub Jelinek <[email protected]> + + PR target/124294 + * gcc.target/i386/avx10_2-pr124294.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-18 Jakub Jelinek <[email protected]> + + PR c/123365 + * gcc.c-torture/compile/pr123365.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-18 Jakub Jelinek <[email protected]> + + PR target/124138 + * gcc.dg/pr124138.c: New test. + * gcc.target/i386/avx512f-pr124138-1.c: New test. + * gcc.target/i386/avx512f-pr124138-2.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-17 Jakub Jelinek <[email protected]> + + PR c++/120685 + * g++.dg/cpp23/auto-fncast19.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-11 Jakub Jelinek <[email protected]> + + PR middle-end/124056 + * gcc.target/i386/pr124056.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-11 Jakub Jelinek <[email protected]> + + PR rtl-optimization/116600 + PR middle-end/123386 + * gcc.c-torture/compile/pr116600.c: New test. + * gcc.c-torture/compile/pr123386.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-09 Jakub Jelinek <[email protected]> + + PR c++/123889 + * g++.dg/cpp0x/constexpr-123889.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-07 Jakub Jelinek <[email protected]> + + PR tree-optimization/123672 + * gcc.dg/pr123672.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-06 Jakub Jelinek <[email protected]> + + PR c/101312 + * gcc.dg/pr101312-1.c: New test. + * gcc.dg/pr101312-2.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-05 Jakub Jelinek <[email protected]> + + PR c/123882 + * gcc.dg/pr123882.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-05 Jakub Jelinek <[email protected]> + + PR middle-end/123978 + * gcc.c-torture/execute/pr123978.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-04 Jakub Jelinek <[email protected]> + + PR c++/123818 + * g++.dg/cpp0x/pr123818.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-04 Jakub Jelinek <[email protected]> + + PR middle-end/122689 + * gcc.dg/bitint-127.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-02-02 Jakub Jelinek <[email protected]> + + PR tree-optimization/121104 + * gcc.dg/pr121104.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR tree-optimization/123864 + * gcc.c-torture/execute/pr123864.c: New test. + * gcc.dg/torture/pr123864.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR c++/123790 + * g++.dg/cpp0x/nullptr47.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR middle-end/123876 + * gcc.dg/gomp/pr123876.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR preprocessor/123273 + * c-c++-common/cpp/dir-only-10.c: New test. + * c-c++-common/cpp/dir-only-11.c: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-27 Jakub Jelinek <[email protected]> + + PR c++/123578 + * g++.dg/cpp2a/pr123578.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123737 + * g++.dg/cpp/embed-28.C: New test. + * g++.dg/parse/comma3.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123667 + * g++.dg/cpp1z/decomp66.C: New test. + * g++.dg/cpp1z/decomp67.C: New test. + +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-24 Jakub Jelinek <[email protected]> + + PR c++/123684 + * g++.dg/cpp0x/gen-attrs-90.C: New test. + 2026-03-04 Martin Jambor <[email protected]> Backported from master: diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 70f2a14a46ff..9097ff46d050 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,14 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-01-30 Jakub Jelinek <[email protected]> + + PR preprocessor/123273 + * lex.cc (cpp_directive_only_process): Only go to done_comment + for '/' if star is true and esc is false. When seeing '\\' with + esc set to true, clear esc as well as star instead of keeping esc + set. + 2026-02-22 Nathaniel Shead <[email protected]> Backported from master: diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 0fa73e8fc520..2547176c1323 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,12 @@ +2026-03-08 Jakub Jelinek <[email protected]> + + Backported from master: + 2026-03-05 Jakub Jelinek <[email protected]> + + PR target/124365 + * simple-object.c (handle_lto_debug_sections): Also copy over + .ARM.attributes section. + 2025-08-08 Release Manager * GCC 15.2.0 released.
