https://gcc.gnu.org/g:b595842adcff497016857741ba3ee5f863d6ddd9
commit r16-4545-gb595842adcff497016857741ba3ee5f863d6ddd9 Author: GCC Administrator <[email protected]> Date: Wed Oct 22 00:19:22 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 65 +++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 6 +++ gcc/c/ChangeLog | 23 +++++++++++ gcc/cp/ChangeLog | 26 +++++++++++++ gcc/fortran/ChangeLog | 27 +++++++++++++ gcc/testsuite/ChangeLog | 100 ++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 248 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ddb02e70d991..0695ecbdd31e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,68 @@ +2025-10-21 Antoni Boucher <[email protected]> + + * config.gcc (jit_target_objs): Don't set this variable since + the object files don't exist. + +2025-10-21 Roger Sayle <[email protected]> + + * config/i386/i386-features.cc (timode_concatdi_p): New + function to recognize the various variants of *concatditi3_[1-7]. + (scalar_chain::add_insn): Like VEC_SELECT, ZERO_EXTEND and + timode_concatdi_p instructions don't require their input + operands to be converted (to TImode). + (timode_scalar_chain::compute_convert_gain): Split/clone XOR and + IOR cases from AND case, to handle timode_concatdi_p costs. + <case PLUS>: Handle timode_concatdi_p conversion costs. + <case ZERO_EXTEND>: Provide costs of DImode to TImode extension. + (timode_convert_concatdi): Helper function to transform + a *concatditi3 instruction into a vec_concatv2di instruction. + (timode_scalar_chain::convert_insn): Split/clone XOR and IOR + cases from ANS case, to handle timode_concatdi_p using the new + timode_convert_concatdi helper function. + <case ZERO_EXTEND>: Convert zero_extendditi2 to *vec_concatv2di_0. + <case PLUS>: Handle timode_concatdi_p using the new + timode_convert_concatdi helper function. + (timode_scalar_to_vector_candidate_p): Support timode_concatdi_p + instructions in IOR, XOR and PLUS cases. + <case ZERO_EXTEND>: Consider zero extension of a register from + DImode to TImode to be a candidate. + +2025-10-21 Richard Biener <[email protected]> + + PR tree-optimization/120687 + * tree-vect-slp.cc (vect_analyze_slp_reduc_chain): When + there's no natural reduction chain see if vect_slp_linearize_chain + can recover one and built the SLP instance manually in that + case. + (vect_schedule_slp): Deal with NULL lanes when looking for + stores to remove. + * tree-vect-loop.cc (vect_transform_cycle_phi): Dump when we + are successfully transforming a reduction chain. + +2025-10-21 Richard Biener <[email protected]> + + * tree-vect-loop.cc (vect_create_partial_epilog): Pun back + to the requested type if necessary. + +2025-10-21 Andrew Pinski <[email protected]> + + PR tree-optimization/95699 + PR tree-optimization/101024 + PR tree-optimization/110068 + * match.pd (`(type1)x CMP CST1 ? (type2)x : CST2`): Treat + `(signed)x </>= 0` as `x >=/< SIGNED_TYPE_MIN` + +2025-10-21 Olivier Hainque <[email protected]> + + * config/rs6000/vxworks.h (ASM_PREFERRED_EH_DATA_FORMAT): + Redefine. + +2025-10-21 Olivier Hainque <[email protected]> + + * config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): + Remove guard on -fself-tests and replace %:getenv(VSB_DIR) by + sysroot references. + 2025-10-20 Josef Melcr <[email protected]> * ipa-fnsummary.cc (redirect_to_unreachable): Purge callback diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 85077f466544..1ec5bc821ede 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20251021 +20251022 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 30a66de876fd..d5d21efad024 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2025-10-21 Tobias Burnus <[email protected]> + + * c-omp.cc (c_omp_directives): Uncomment 'declare mapper', + add comment to 'begin metadirective', add 6.x unimplemented + directives as comment-out entries. + 2025-10-17 Josef Melcr <[email protected]> * c-attribs.cc: Define callback attr. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 241e71bf25ce..6f51dd9949a7 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,26 @@ +2025-10-21 Martin Uecker <[email protected]> + + * c-decl.cc (build_array_declarator): Remove error. + (grokgenassoc): New function. + (grokdeclarator): Add error. + * c-parser.cc (c_parser_generic_selection): Use grokgenassoc. + * c-tree.h (grokgenassoc): Add prototype. + +2025-10-21 Paul-Antoine Arras <[email protected]> + + PR c/120180 + PR fortran/122306 + * c-parser.cc (c_parser_pragma): Accept a subset of non-executable + OpenMP directives in intervening code. + (c_parser_omp_error): Reject 'error at(execution)' in intervening code. + (c_parser_omp_metadirective): Return early if only one selector matches + and it resolves to 'omp nothing'. + +2025-10-21 Tobias Burnus <[email protected]> + + * c-parser.cc (c_parser_omp_assumption_clauses): Switch to + 'unknown' not 'invalid' directive name for end directives. + 2025-10-08 Joseph Myers <[email protected]> * c-typeck.cc (in_generic, save_maybe_used, restore_maybe_used): diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 3bf1e7d1516b..75cd6fec9ac4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,29 @@ +2025-10-21 Jakub Jelinek <[email protected]> + + * cp-tree.h: Implement C++23 P2674R1 - A trait for implicit lifetime + types. + (implicit_lifetime_type_p): Declare. + * tree.cc (implicit_lifetime_type_p): New function. + * cp-trait.def (IS_IMPLICIT_LIFETIME): New unary trait. + * semantics.cc (trait_expr_value): Handle CPTK_IS_IMPLICIT_LIFETIME. + (finish_trait_expr): Likewise. + * constraint.cc (diagnose_trait_expr): Likewise. + +2025-10-21 Paul-Antoine Arras <[email protected]> + + PR c/120180 + PR fortran/122306 + * parser.cc (cp_parser_omp_metadirective): Return early if only one + selector matches and it resolves to 'omp nothing'. + (cp_parser_omp_error): Reject 'error at(execution)' in intervening code. + (cp_parser_pragma): Accept a subset of non-executable OpenMP directives + as intervening code. + +2025-10-21 Tobias Burnus <[email protected]> + + * parser.cc (cp_parser_omp_assumption_clauses): Switch to + 'unknown' not 'invalid' directive name for end directives. + 2025-10-18 Iain Sandoe <[email protected]> PR c++/119060 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 81d666cc1b9d..792f3c7d8785 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,30 @@ +2025-10-21 Paul-Antoine Arras <[email protected]> + + PR c/120180 + PR fortran/122306 + * gfortran.h (enum gfc_exec_op): Add EXEC_OMP_FIRST_OPENMP_EXEC and + EXEC_OMP_LAST_OPENMP_EXEC. + * openmp.cc (gfc_match_omp_context_selector): Remove static. Remove + checks on score. Add cleanup. Remove checks on trait properties. + (gfc_match_omp_context_selector_specification): Remove static. Adjust + calls to gfc_match_omp_context_selector. + (gfc_match_omp_declare_variant): Adjust call to + gfc_match_omp_context_selector_specification. + (match_omp_metadirective): Likewise. + (icode_code_error_callback): Reject all statements except + 'assume' and 'metadirective'. + (gfc_resolve_omp_context_selector): New function. + (resolve_omp_metadirective): Skip metadirectives which context selectors + can be statically resolved to false. Replace metadirective by its body + if only 'nothing' remains. + (gfc_resolve_omp_declare): Call gfc_resolve_omp_context_selector for + each variant. + +2025-10-21 Tobias Burnus <[email protected]> + + * openmp.cc (gfc_omp_directive): Add comment to 'allocate'; + add 6.x unimplemented directives as comment-out entries. + 2025-10-18 Yuao Ma <[email protected]> * resolve.cc (resolve_conditional): Allow character in cond-expr. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a2ec661b9c04..d0c104e4e6cf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,103 @@ +2025-10-21 Martin Uecker <[email protected]> + + * gcc.dg/c2y-generic-6.c: New test. + * gcc.dg/c2y-generic-7.c: New test. + +2025-10-21 Jakub Jelinek <[email protected]> + + * g++.dg/ext/is_implicit_lifetime.C: New test. + +2025-10-21 Christophe Lyon <[email protected]> + + PR target/122189 + * gcc.target/arm/mve/intrinsics/vadcq_m_s32.c + * gcc.target/arm/mve/intrinsics/vadcq_m_u32.c + * gcc.target/arm/mve/intrinsics/vsbcq_m_s32.c + * gcc.target/arm/mve/intrinsics/vsbcq_m_u32.c + +2025-10-21 Paul-Antoine Arras <[email protected]> + + PR c/120180 + PR fortran/122306 + * c-c++-common/gomp/imperfect1.c: Adjust dg-error. + * c-c++-common/gomp/imperfect4.c: Likewise. + * c-c++-common/gomp/pr120180.c: Move to... + * c-c++-common/gomp/pr120180-1.c: ...here. Remove dg-error. + * g++.dg/gomp/attrs-imperfect1.C: Adjust dg-error. + * g++.dg/gomp/attrs-imperfect4.C: Likewise. + * gfortran.dg/gomp/declare-variant-2.f90: Adjust dg-error. + * gfortran.dg/gomp/declare-variant-20.f90: Likewise. + * c-c++-common/gomp/pr120180-2.c: New test. + * g++.dg/gomp/pr120180-1.C: New test. + * gfortran.dg/gomp/pr120180-1.f90: New test. + * gfortran.dg/gomp/pr120180-2.f90: New test. + * gfortran.dg/gomp/pr122306-1.f90: New file. + * gfortran.dg/gomp/pr122306-2.f90: New file. + +2025-10-21 Roger Sayle <[email protected]> + + * gcc.target/i386/sse4_1-stv-10.c: New test case. + * gcc.target/i386/sse4_1-stv-11.c: Likewise. + * gcc.target/i386/sse4_1-stv-12.c: Likewise. + +2025-10-21 Tobias Burnus <[email protected]> + + * c-c++-common/gomp/assumes-2.c: Change for 'invalid' + to 'unknown' change for end directives. + * c-c++-common/gomp/begin-assumes-2.c: Likewise. + * c-c++-common/gomp/assume-2.c: Likewise. Check 'declare + mapper'. + +2025-10-21 Richard Biener <[email protected]> + + PR tree-optimization/120687 + * gcc.dg/vect/vect-reduc-chain-4.c: New testcase. + +2025-10-21 Avinash Jayakar <[email protected]> + + PR target/104116 + * gcc.dg/vect/pr104116-ceil-div-2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-div-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-div.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-mod-2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-mod-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-mod.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-udiv-2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-udiv-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-udiv.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-umod-2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-umod-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-ceil-umod.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-div-2.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-div-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-div.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-mod-2.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-mod-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-floor-mod.c: disable vectorization. + * gcc.dg/vect/pr104116-round-div-2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-div-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-div.c: disable vectorization. + * gcc.dg/vect/pr104116-round-mod-2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-mod-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-mod.c: disable vectorization. + * gcc.dg/vect/pr104116-round-udiv-2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-udiv-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-udiv.c: disable vectorization. + * gcc.dg/vect/pr104116-round-umod-2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-umod-pow2.c: disable vectorization. + * gcc.dg/vect/pr104116-round-umod.c: disable vectorization. + * gcc.dg/vect/pr104116.h (init_arr): use std idiom, correct + indentation. + (init_uarr): use std idiom. + +2025-10-21 Andrew Pinski <[email protected]> + + PR tree-optimization/95699 + PR tree-optimization/101024 + PR tree-optimization/110068 + * gcc.dg/tree-ssa/pr101024-1.c: New test. + * gcc.dg/tree-ssa/pr110068-1.c: New test. + 2025-10-20 Jeff Law <[email protected]> * gcc.target/riscv/rvv/autovec/reduc/reduc-8.c: Adjust expected output.
