https://gcc.gnu.org/g:979ca3ba366da7177f427e049f67673ec3e35442
commit r15-6754-g979ca3ba366da7177f427e049f67673ec3e35442 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Fri Jan 10 00:18:42 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 93 ++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 32 +++++++++++ gcc/c/ChangeLog | 12 +++++ gcc/cp/ChangeLog | 55 +++++++++++++++++++ gcc/fortran/ChangeLog | 21 ++++++++ gcc/testsuite/ChangeLog | 141 ++++++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 6 +++ 8 files changed, 361 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e56b25043f02..e1df4fd30dfa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,96 @@ +2025-01-09 Tamar Christina <tamar.christ...@arm.com> + + PR target/118188 + * config/aarch64/aarch64.cc (aarch64_vector_costs::count_ops): Adjust + throughput of emulated gather and scatters. + +2025-01-09 Vladimir N. Makarov <vmaka...@redhat.com> + + PR target/118017 + * lra-constraints.cc (inherit_reload_reg): Check reg class on uniformity. + +2025-01-09 Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> + + PR target/118362 + * config/s390/s390.cc (s390_constant_via_vgbm_p): Allow at most + 16-byte vectors. + +2025-01-09 Christophe Lyon <christophe.l...@linaro.org> + + PR target/118131 + * config/arm/arm.h (VALID_MVE_STRUCT_MODE): Accept TI, OI and XI + modes again. + +2025-01-09 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/65181 + * config/nvptx/nvptx.cc (nvptx_get_drap_rtx): Handle + '!TARGET_SOFT_STACK'. + * config/nvptx/nvptx.md (define_c_enum "unspec"): Add + 'UNSPEC_STACKSAVE', 'UNSPEC_STACKRESTORE'. + (define_expand "allocate_stack", define_expand "save_stack_block") + (define_expand "save_stack_block"): Handle '!TARGET_SOFT_STACK', + PTX 'alloca'. + (define_insn "@nvptx_alloca_<mode>") + (define_insn "@nvptx_stacksave_<mode>") + (define_insn "@nvptx_stackrestore_<mode>"): New. + * doc/invoke.texi (Nvidia PTX Options): Update '-msoft-stack', + '-mno-soft-stack'. + * doc/sourcebuild.texi (nvptx-specific attributes): Document + 'nvptx_runtime_alloca_ptx'. + (Add Options): Document 'nvptx_alloca_ptx'. + +2025-01-09 Richard Biener <rguent...@suse.de> + + * cfgloopmanip.cc (duplicate_loop_body_to_header_edge): When + copying to the header edge first redirect the entry to the + new loop and then the exit to the old to avoid PHI node + re-allocation. + +2025-01-09 H.J. Lu <hjl.to...@gmail.com> + + PR rtl-optimization/118266 + * ree.cc (add_removable_extension): Skip extension on fixed + register. + +2025-01-09 Jakub Jelinek <ja...@redhat.com> + Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/117927 + * tree-pass.h (PROP_last_full_fold): Define. + * passes.def: Add last= parameters to pass_forwprop. + * tree-ssa-forwprop.cc (pass_forwprop): Add last_p non-static + data member and initialize it in the ctor. + (pass_forwprop::set_pass_param): New method. + (pass_forwprop::execute): Set PROP_last_full_fold in curr_properties + at the start if last_p. + * match.pd (a rrotate (32-b) -> a lrotate b): Only optimize either + if @2 is known not to be equal to prec or if during/after last + forwprop the subtraction has single use and prec is power of two; in + that case transform it into orotate by masked count. + +2025-01-09 Haochen Jiang <haochen.ji...@intel.com> + + * common/config/i386/cpuinfo.h (get_intel_cpu): Remove 0x00. + +2025-01-09 xuli <xu...@eswincomputing.com> + + * config/riscv/riscv-vector-builtins.cc (function_builder::add_unique_function): + Only register overloaded intrinsic for g++. + Only insert non_overloaded_function_table for gcc. + (function_builder::add_overloaded_function): Only register overloaded intrinsic for gcc. + (handle_pragma_vector): Only initialize non_overloaded_function_table for gcc. + +2025-01-09 Tobias Burnus <tbur...@baylibre.com> + + * builtin-types.def (BT_FN_PTRMODE_PTR_INT_PTR): Add. + * gimplify.cc (gimplify_call_expr): Add error for multiple + list items to the OpenMP interop clause if no device clause; + continue instead of restarting after append_args handling. + (gimplify_omp_dispatch): Extract device number from the + single interop-clause list item. + * omp-builtins.def (BUILT_IN_OMP_GET_INTEROP_INT): Add. + 2025-01-08 Thomas Schwinge <tschwi...@baylibre.com> PR target/65181 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index f8b56893859b..a6b5049790e9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250109 +20250110 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 859ce1f9903b..14e602474064 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,35 @@ +2025-01-09 Eric Botcazou <ebotca...@adacore.com> + + PR ada/18765 + * debug.adb (d_q): Document new usage. + * sem_ch6.adb (New_Overloaded_Entity): Apply the special processing + to all equality operators whose base result type is Boolean, but do + not enforce the new Ada 2012 freezing rule if the result type is a + proper subtype of it and the -gnatd_q switch is specified. + +2025-01-09 Eric Botcazou <ebotca...@adacore.com> + + PR ada/118274 + * sem_ch4.adb (Check_Arithmetic_Pair.Has_Fixed_Op): Use the original + node of the operator to identify the case of an expanded name whose + prefix is the package Standard. + +2025-01-09 squirek <squi...@adacore.com> + + * libgnat/a-comutr.adb, libgnat/a-comutr.ads: + Move the declarations of iterator types into the specification and + add additional comments. + +2025-01-09 Javier Miranda <mira...@adacore.com> + + * freeze.adb (Freeze_Expr_Types): Reverse patch; that is, restore + calls to Preanalyze_Spec_Expression instead of Preanalyze_And_Resolve + for the sake of consistency with Analyze_Expression_Function. Patch + suggested by Eric Botcazou. + * exp_put_image.adb (Image_Should_Call_Put_Image): Ensure that + function Defining_Identifier is called with a proper node to + avoid internal assertion failure. + 2025-01-07 Marc Poulhiès <poulh...@adacore.com> * libgnat/a-calcon.ads: Adjust. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 0698e10256d1..6236b7461441 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,15 @@ +2025-01-09 Martin Uecker <uec...@tugraz.at> + + PR c/117866 + * c-decl.cc (get_parm_info): Change condition for warning. + +2025-01-09 Jason Merrill <ja...@redhat.com> + Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + PR c/116060 + * c-typeck.cc (convert_for_assignment): Make sure left hand side and + right hand side has identical named types to aid diagnostic output. + 2025-01-03 Sandra Loosemore <sloosem...@baylibre.com> * c-parser.cc (struct c_parser): Change in_omp_attribute_pragma diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 646e8f30565f..1c41eff0ab84 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,58 @@ +2025-01-09 Jason Merrill <ja...@redhat.com> + + * decl.cc (check_redeclaration_exception_specification): Be more + lenient about ::operator new. + +2025-01-09 Jason Merrill <ja...@redhat.com> + Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + PR c/116060 + * call.cc (standard_conversion): Preserve type name in ck_identity. + (maybe_adjust_type_name): New. + (convert_like_internal): Use it. + Handle -Wsuggest-attribute=format here. + (convert_for_arg_passing): Not here. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/118060 + * constraint.cc (tsubst_valid_expression_requirement): Don't + check convert_to_void during partial substitution. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117887 + * pt.cc (instantiate_template): Set tf_partial if arguments are + dependent. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117925 + * constexpr.cc (potential_constant_expression_1) <case CAST_EXPR>: + Fix check for class conversion to literal type to properly look + through the TREE_LIST operand of a CAST_EXPR. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117925 + * constexpr.cc (cxx_eval_constant_expression) <default>: + Relax ICE when encountering an unexpected tree code into a + checking ICE guarded by flag_checking. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117993 + * search.cc (any_dependent_bases_p): Recurse into bases (of + dependent type) that are not BINFO_DEPENDENT_BASE_P. Document + default argument. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117792 + * pt.cc (type_dependent_expression_p): Consider the dependence + of the address of each template argument of a function + template-id. + 2025-01-08 Jakub Jelinek <ja...@redhat.com> PR c++/117825 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 93b77e35c76f..a047889ec23b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2025-01-09 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/118337 + * resolve.cc (resolve_fl_derived0): Exempt vtypes from cycle + detection. + +2025-01-09 Jakub Jelinek <ja...@redhat.com> + + PR fortran/118337 + * module.cc (COMPAT_MOD_VERSIONS): Define. + (use_iso_fortran_env_module): Don't assume all NAMED_INTCSTs come + first followed by NAMED_UINTCSTs. + (gfc_use_module): Accept also COMPAT_MOD_VERSIONS for compatibility. + * iso-c-binding.def: Reorder entries so that the GCC 14 ones come + before the ones new in GCC 15. + * iso-fortran-env.def: Likewise. + +2025-01-09 Tobias Burnus <tbur...@baylibre.com> + + * types.def (BT_FN_PTRMODE_PTR_INT_PTR): Add. + 2025-01-08 Jakub Jelinek <ja...@redhat.com> PR fortran/118337 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7cc012878641..d525be860bf1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,144 @@ +2025-01-09 Edwin Lu <e...@rivosinc.com> + + * lib/target-supports.exp: Fix effective target sync_char_short + for riscv*-*-* + +2025-01-09 Tamar Christina <tamar.christ...@arm.com> + + PR target/118188 + * gcc.target/aarch64/sve/gather_load_12.c: New test. + * gcc.target/aarch64/sve/gather_load_13.c: New test. + * gcc.target/aarch64/sve/gather_load_14.c: New test. + +2025-01-09 Vladimir N. Makarov <vmaka...@redhat.com> + + PR target/118017 + * gcc.target/i386/pr118017.c: New. + +2025-01-09 Jason Merrill <ja...@redhat.com> + + * g++.dg/cpp0x/noexcept88.C: New test. + +2025-01-09 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + * gcc.target/arm/armv8_2-fp16-conv-1.c: Fix typo. + +2025-01-09 Jakub Jelinek <ja...@redhat.com> + + PR target/118362 + * gcc.c-torture/compile/pr118362.c: New test. + * gcc.target/s390/pr118362.c: New test. + +2025-01-09 Martin Uecker <uec...@tugraz.at> + + PR c/117866 + * gcc.dg/pr117866.c: New test. + * gcc.dg/strub-pr118007.c: Adapt. + +2025-01-09 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + * gcc.target/arm/memset-inline-8.c: Use -Os and prefix assembler + instructions with a tab to improve test stability. + * gcc.target/arm/memset-inline-8-exe.c: Use -Os. + +2025-01-09 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + * gcc.target/arm/armv8_2-fp16-conv-1.c: Convert + scan-assembler-times to check-function-bodies. + +2025-01-09 Jason Merrill <ja...@redhat.com> + Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + PR c/116060 + * c-c++-common/analyzer/out-of-bounds-diagram-8.c: Update to + correct type. + * c-c++-common/analyzer/out-of-bounds-diagram-11.c: Likewise. + * gcc.dg/analyzer/out-of-bounds-diagram-10.c: Likewise. + +2025-01-09 Dimitar Dimitrov <dimi...@dinux.eu> + + * gcc.dg/pr118325.c: Require effective target trampolines. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/118060 + * g++.dg/cpp2a/concepts-requires40.C: New test. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117887 + * g++.dg/cpp2a/concepts-requires39.C: New test. + * g++.dg/cpp2a/lambda-targ10.C: New test. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117925 + * g++.dg/template/non-dependent35.C: New test. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117993 + * g++.dg/template/dependent-base4.C: New test. + * g++.dg/template/dependent-base5.C: New test. + +2025-01-09 Patrick Palka <ppa...@redhat.com> + + PR c++/117792 + * g++.dg/cpp1z/nontype7.C: New test. + +2025-01-09 Thomas Schwinge <tschwi...@baylibre.com> + + * gcc.dg/crc-linux-3.c: Move... + * gcc.dg/torture/crc-linux-3.c: ... here. + +2025-01-09 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/65181 + * gcc.target/nvptx/alloca-1.c: Evolve into... + * gcc.target/nvptx/alloca-1-O0.c: ... this, ... + * gcc.target/nvptx/alloca-1-O1.c: ... this, and... + * gcc.target/nvptx/alloca-1-sm_30.c: ... this. + * gcc.target/nvptx/vla-1.c: Evolve into... + * gcc.target/nvptx/vla-1-O0.c: ... this, ... + * gcc.target/nvptx/vla-1-O1.c: ... this, and... + * gcc.target/nvptx/vla-1-sm_30.c: ... this. + * gcc.c-torture/execute/pr36321.c: Adjust. + * gcc.target/nvptx/__builtin_alloca_0-1-O0.c: Likewise. + * gcc.target/nvptx/__builtin_alloca_0-1-O1.c: Likewise. + * gcc.target/nvptx/__builtin_stack_save___builtin_stack_restore-1.c: + Likewise. + * gcc.target/nvptx/softstack.c: Likewise. + * gcc.target/nvptx/__builtin_stack_save___builtin_stack_restore-1-sm_30.c: + New. + * gcc.target/nvptx/alloca-2-O0.c: Likewise. + * gcc.target/nvptx/alloca-3-O1.c: Likewise. + * gcc.target/nvptx/alloca-4-O3.c: Likewise. + * gcc.target/nvptx/alloca-5.c: Likewise. + * lib/target-supports.exp (check_effective_target_alloca): Adjust. + (check_nvptx_default_ptx_isa_target_architecture_at_least) + (check_nvptx_runtime_ptx_isa_target_architecture_at_least) + (check_effective_target_nvptx_runtime_alloca_ptx) + (add_options_for_nvptx_alloca_ptx): New. + +2025-01-09 H.J. Lu <hjl.to...@gmail.com> + + PR rtl-optimization/118266 + * gcc.target/i386/pr118266.c: New test. + +2025-01-09 Jakub Jelinek <ja...@redhat.com> + Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/117927 + * gcc.dg/tree-ssa/pr117927.c: New test. + +2025-01-09 Tobias Burnus <tbur...@baylibre.com> + + * c-c++-common/gomp/append-args-1.c: Update dg-*. + * c-c++-common/gomp/append-args-3.c: Extend testcase. + * c-c++-common/gomp/dispatch-11.c: Update dg-*. + * c-c++-common/gomp/dispatch-12.c: Update dg-*. + * g++.dg/gomp/append-args-1.C: Update dg-*. + 2025-01-08 Thomas Schwinge <tschwi...@baylibre.com> PR target/65181 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 3083f74f4845..9de2b0c4b3cd 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2025-01-09 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/65181 + * fortran.c (omp_get_device_from_uid_): Adjust. + * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. + 2025-01-07 Tobias Burnus <tbur...@baylibre.com> * libgomp.texi (OpenMP 6.0): Fix typo.