https://gcc.gnu.org/g:cf4f94221bdee9ad674201ba10fc5744bf3c0542
commit r17-6020-gcf4f94221bdee9ad674201ba10fc5744bf3c0542 Author: GCC Administrator <[email protected]> Date: Sun Nov 8 00:16:34 2026 +0000 Daily bump. Diff: --- gcc/ChangeLog | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 6 +++++ gcc/c/ChangeLog | 8 ++++++ gcc/cp/ChangeLog | 13 ++++++++++ gcc/fortran/ChangeLog | 56 +++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 42 ++++++++++++++++++++++++++++++ libgm2/ChangeLog | 6 +++++ libgomp/ChangeLog | 6 +++++ 9 files changed, 207 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 760127b93d4f..4a3e699d4207 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,72 @@ +2026-11-07 Gaius Mulley <[email protected]> + + * doc/install.texi (GM2): Add missing comma. + +2026-11-07 Kael Andrew Franco <[email protected]> + + * defaults.h: Remove one #if. + +2026-11-07 Jeff Law <[email protected]> + + * config/riscv/riscv.md (load->store splitter): New splitter for capturing + narrowing loads in load -> shift -> narrow store sequence. + +2026-11-07 Roger Sayle <[email protected]> + + PR tree-optimization/128135 + PR middle-end/12838 + * match.pd (pow(x,-1) -> 1/x); Only transform when !flag_errno_math + and let fold_const_pow handle cases where x is constant, including + appropriate checks for cases where errno may be updated. + * real.cc (real_isoddinteger): Fix mistakes. Confirm bits after + the decimal point are zero, i.e. test for isoddinteger not isodd. + +2026-11-07 Jakub Jelinek <[email protected]> + + PR middle-end/128111 + * doc/extend.texi (__builtin_clmulg): Document. + * builtins.h (fold_build_builtin_clmulg): Declare. + * fold-const-call.cc (fold_const_call_sss): Handle CFN_CLMUL. + (fold_const_call): Handle CFN_CLMUL_WIDEN. + * internal-fn.h (expand_CLMUL, expand_CLMUL_WIDEN): Declare. + * fold-const.cc (tree_call_nonnegative_p): Handle CFN_CLMUL. + * wide-int.cc (wi::bit_repeat, wi::clmul): New functions. + * wide-int.h (wi::bit_repeat, wi::clmul): Declare. + * builtins.cc (fold_build_builtin_clmulg): New function. + * internal-fn.def (CLMUL, CLMUL_WIDEN): New internal functions. + * internal-fn.cc (commutative_binary_fn_p): Handle IFN_CLMUL + and IFN_CLMUL_WIDEN. + (expand_clmul, expand_CLMUL, expand_CLMUL_WIDEN): New functions. + * optabs.def (clmul_optab, clmul_widen_optab): New optabs. + * gimple-lower-bitint.cc (struct bitint_large_huge): Declare + lower_clmul method. + (bitint_large_huge::lower_clmul): New method. + (bitint_large_huge::lower_call): Handle IFN_CLMUL. + (bitint_large_huge::lower_stmt): Likewise. + (stmt_needs_operand_addr): Likewise. + (build_bitint_stmt_ssa_conflicts): Likewise. + (gimple_lower_bitint): Lower IFN_CLMUL_WIDEN to 2 IFN_CLMUL + calls, 3 IFN_BITREVERSE calls, one shift and one COMPLEX_EXPR. + Handle IFN_CLMUL. + * match.pd (.CLMUL (X, Y) for [0, 1] Y -> X * Y, + .CLMUL_WIDEN (X, Y) -> { .CLMUL (X, 0), 0 } if upper bits are + known to be zeros): New simplifications. + * genmatch.cc (genmatch_diag_selftests): CFN_CLMUL and CFN_CLMUL_WIDEN + are commutative. + (commutative_op): Handle CFN_CLMUL and CFN_CLMUL_WIDEN. + * config/i386/sse.md (clmuldi3, clmul_widendi3): New expanders. + +2026-11-07 Stefan Schulze Frielinghaus <[email protected]> + + * config/s390/s390.cc (expand_perm_as_a_vlbr_vstbr_candidate): Use + simplify_gen_subreg and expand_insn instead of gen_rtx_SUBREG. + (expand_perm_reverse_elements): Ditto. + (expand_perm_with_merge): Force input operands into registers. + * config/s390/vector.md (V_HW_H): New mode iterator for V8HI and V8HF. + (vec_2x_nelts): Add mappings for V1HF, V2HF, V4HF, and V8HF. + (*vmrhh, *vmrlh): Use V_HW_H and vec_2x_nelts. + (eltswapv8hi): Rename to eltswap<mode> and use V_HW_H. + 2026-11-06 Andrew Stubbs <[email protected]> * config/gcn/gcn.cc (gcn_md_reorg): Break contents into .... diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 2bbfc376c270..a36a68e157b3 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20261107 +20261108 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 4b79330ead0e..5213040c1398 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2026-11-07 Jakub Jelinek <[email protected]> + + PR middle-end/128111 + * c-common.h (enum rid): Add RID_BUILTIN_CLMULG enumerator. + * c-common.cc (c_common_reswords): Add __builtin_clmulg entry. + 2026-10-27 Jørgen Kvalsvik <[email protected]> * c-pragma.cc (handle_pragma_suppress_coverage): Don't warn on diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index f3f90d790161..1f14b940480d 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,11 @@ +2026-11-07 Jakub Jelinek <[email protected]> + + PR middle-end/128111 + * c-parser.cc (c_parser_postfix_expression): Handle + RID_BUILTIN_CLMULG. Use argument locations when reporting + problems with a single argument. + * c-decl.cc (names_builtin_p): Handle RID_BUILTIN_CLMULG. + 2026-10-07 Torbjörn SVENSSON <[email protected]> PR analyzer/125265 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a65813f7d9f5..20e6be65c2bd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2026-11-07 Jakub Jelinek <[email protected]> + + PR middle-end/128111 + * parser.cc (cp_parser_postfix_expression): Handle RID_BUILTIN_CLMULG. + * typeck.cc (build_x_clmulg): New function. + * cp-tree.h (build_x_clmulg): Declare. + * pt.cc (tsubst_expr): Handle IFN_CLMUL. + * mangle.cc (write_expression): Likewise. + * cp-objcp-common.cc (names_builtin_p): Handle RID_BUILTIN_CLMULG. + * cp-gimplify.cc (cp_gimplify_expr): Handle IFN_CLMUL. + * constexpr.cc (cxx_eval_internal_function): Likewise. + (potential_constant_expression_1): Likewise. + 2026-11-03 Giuliano Belinassi <[email protected]> * decl.cc (duplicate_decls): Call symtab_node::get_create. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 46d5da31006b..83d14999e87d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,59 @@ +2026-11-07 Paul Thomas <[email protected]> + + PR fortran/82173 + * simplify.cc (gfc_simplify_len): Return NULL for paramterized + string components of nested PDTs. + +2026-11-07 Paul Thomas <[email protected]> + + PR fortran/82173 + * expr.cc (gfc_pdt_requires_hidden_arg): New function to + determine if a dummy PDT needs an accompanying hidden argument. + * gfortran.h : Add prototype for gfc_pdt_requires_hidden_arg. + Add new fields 'hidden_pdt_dummy_decl' field to gfc_symbol and + 'param_list' to gfc_code. + * match.cc (gfc_match_allocate): Copy the type_param_spec_list + from the typespec parsing and transfer it to the new field in + gfc_code. + * resolve.cc (gfc_resolve_finalizers): If finalizers clash void + an ICE by incrementing the refs for the offending finalizer. + * trans-decl.cc (create_function_arglist): A hidden scalar PDT + dummy is created for PDTs that return true for the new function + gfc_pdt_requires_hidden_arg. + (gfc_trans_deferred_vars): Clean up handling of PDT and class + PDT dummies, especially where optional. + * trans-expr.cc (gfc_conv_procedure_call): Pass a hidden PDT + scalar, if gfc_pdt_requires_hidden_arg is true, to pass the + callee's parameter values. Handle passing optional dummies if + the parameter list is not explicit. Pass NULL_TREE if the arg + is not explicit or optional. + * trans-stmt.cc (fixup_assumed_PDT_parameters): New function + than uses the hidden PDT dummy to supply values for assumed + dummy parameters. + (check_PDT_parameters): New function to verify that actual and + ALLOCATE LEN parameters are consistent. If 'stat' is present it + is set if they are inconsistent and 'errmsg' filled as well. If + 'stat' is not present but 'rtcheck' is set to any value, a + runtime error is emitted. Otherwise, the compilation is allowed + to proceed. + (gfc_trans_allocate): Put all the error messages at the top. + 'label_finish' is now referenced unconditionally and so its + TREE_USED field should not be set to zero. If the allocate expr + is a dummy and gfc_pdt_requires_hidden_arg return true, skip + the first branch and proceed to the second. + Use the allocate tyespec derived type and parameter list when + there is a hidden PDT dummy and use it to fix up assumed PDT + parameters in the allocate typespec. + Call the new function check_PDT_parameters to ensure that the + PDT LEN parameters are consistent between the allocate values + and those of the the expression to be allocated. Insert a label + to jump to if the fixup of assumed parameters does not work. + Handle the new error stat and errmsg by deallocating the object + and emitting the values as required. + When done, if required, free the typespec parameter list. + * trans-types.cc (gfc_get_function_type): Generate the type for + hidden PDT dummies. + 2026-11-06 Jerry DeLisle <[email protected]> PR fortran/128357 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3d614f14dd67..691f2331f307 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,45 @@ +2026-11-07 Jeff Law <[email protected]> + + * gcc.target/riscv/load-no-shift.c: New test. + +2026-11-07 Jakub Jelinek <[email protected]> + + * gcc.target/i386/gfni-bitreverse-scalar.c: Add -msse2 to dg-options. + +2026-11-07 Roger Sayle <[email protected]> + + PR tree-optimization/128135 + PR middle-end/12838 + * gcc.dg/errno-5.c: New test case. + * gcc.dg/pr128138.c: Likewise. + +2026-11-07 Jakub Jelinek <[email protected]> + + PR middle-end/128111 + * c-c++-common/builtin-clmulg-1.c: New test. + * c-c++-common/builtin-clmulg-2.c: New test. + * g++.dg/ext/builtin-clmulg-1.C: New test. + * gcc.target/i386/pclmul-builtin-clmulg-1.c: New test. + +2026-11-07 Stefan Schulze Frielinghaus <[email protected]> + + * gcc.target/s390/vector/vperm-rev-1.c: New test. + +2026-11-07 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/pdt_bug25.f90: New test. + +2026-11-07 Paul Thomas <[email protected]> + + PR fortran/82173 + * gfortran.dg/coarray_lib_alloc_1.f90: Update the tree dump + check to cope with the change in the stat name. + * gfortran.dg/coarray_lib_alloc_2.f90: Likewise. + * gfortran.dg/coarray_lib_alloc_3.f90: Likewise. + * gfortran.dg/pdt_bug3.f90: New test. + * gfortran.dg/pdt_bug15.f90: New test. + 2026-11-06 Jerry DeLisle <[email protected]> PR fortran/128357 diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 593d285cc146..94f89a574416 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,9 @@ +2026-11-07 Gaius Mulley <[email protected]> + + * configure: Regenerate. + * configure.ac (maintainer-mode): Remove AC_ARG_ENABLE + definition. + 2026-11-04 Pietro Monteiro <[email protected]> PR bootstrap/103459 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e3bf2efcc0d7..6e734b73151a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2026-11-07 Arsen Arsenović <[email protected]> + + * plugin/plugin-gcn.c (allocate_session_kernargs): Use + 'kernargs_size' instead of 'sizeof (struct kernargs)'. + * testsuite/libgomp.c-c++-common/kernel-launch-many-vars.c: New test. + 2026-11-04 Tobias Burnus <[email protected]> * icv-device.c (omp_set_teams_thread_limit): Add comment.
