https://gcc.gnu.org/g:77fa15d19146d368fc2fc270bf4bcf22eff0a78a
commit r16-979-g77fa15d19146d368fc2fc270bf4bcf22eff0a78a Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Fri May 30 00:18:56 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 92 +++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 20 ++++++++ gcc/cp/ChangeLog | 72 +++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 6 +++ gcc/testsuite/ChangeLog | 118 ++++++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 33 ++++++++++++++ libstdc++-v3/ChangeLog | 49 ++++++++++++++++++++ 8 files changed, 391 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca53504deb34..5f4d53c50688 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,95 @@ +2025-05-29 Kugan Vivekanandarajah <kvivekana...@nvidia.com> + + * config/aarch64/gcc-auto-profile: Make script executable. + +2025-05-29 Andrew Pinski <quic_apin...@quicinc.com> + + * tree-ssa-forwprop.cc (optimize_memcpy_to_memset): Adds + statistics when the statement changed. + +2025-05-29 Andrew Pinski <quic_apin...@quicinc.com> + + * tree-ssa-forwprop.cc (optimize_memcpy_to_memset): Change check + from NULL/non-ssa name to default name. + +2025-05-29 David Malcolm <dmalc...@redhat.com> + + * diagnostic-format-html.cc (HTML_STYLE): Fix PatternFly URL in + comment. + +2025-05-29 David Malcolm <dmalc...@redhat.com> + + * diagnostic-format-html.cc + (html_builder::make_element_for_diagnostic::html_token_printer): + Reimplement in terms of xml::printer. + (html_builder::make_element_for_diagnostic): Create an + xml::printer and use it with the html_token_printer. + +2025-05-29 David Malcolm <dmalc...@redhat.com> + + * diagnostic-format-html.cc (html_builder::make_metadata_element): + Gracefully handle the case where "url" is null. + +2025-05-29 David Malcolm <dmalc...@redhat.com> + + * pretty-print.cc (pretty_printer::pretty_printer): Use "nullptr" + rather than "NULL". Remove explicit delete of + m_format_postprocessor. + * pretty-print.h (format_postprocessor::clone): Use unique_ptr. + (pretty_printer::set_format_postprocessor): New. + (pretty_printer::m_format_postprocessor): Use unique_ptr. + (pp_format_postprocessor): Update for use of unique_ptr, removing + reference from return type. + +2025-05-29 Martin Jambor <mjam...@suse.cz> + + PR ipa/120295 + * ipa-prop.cc (update_jump_functions_after_inlining): Do not + combine pass-through jump functions with type-casts changing + signedness. + +2025-05-29 Martin Jambor <mjam...@suse.cz> + + * ipa-prop.cc (ipa_dump_jump_function): Fix whitespace when + dumping IPA VRs. + +2025-05-29 Pranav Gorantla <pranav.goran...@amd.com> + + * config/i386/i386-expand.cc (emit_reduc_half): Use shuffles to + generate reduc half for V4SI, similar modes. + * config/i386/i386.h (TARGET_SSE_REDUCTION_PREFER_PSHUF): New Macro. + * config/i386/x86-tune.def (X86_TUNE_SSE_REDUCTION_PREFER_PSHUF): + New tuning. + +2025-05-29 Jakub Jelinek <ja...@redhat.com> + + PR bootstrap/120464 + * ggc-page.cc (struct ggc_globals): Fix up comment formatting. + (find_free_list): Likewise. + (alloc_page): For defined(USING_MALLOC_PAGE_GROUPS) use + free_list->free_pages instead of G.free_pages. + (do_release_pages): Add n1 and n2 arguments, make them used. + Move defined(USING_MALLOC_PAGE_GROUPS) page group freeing to + release_pages and dumping of statistics as well. Formatting fixes. + (release_pages): Adjust do_release_pages caller, move here + defined(USING_MALLOC_PAGE_GROUPS) page group freeing and dumping + of statistics. + (ggc_handle_finalizers): Fix up comment formatting and typo. + +2025-05-29 Jerry Zhang Jian <jerry.zhangj...@sifive.com> + + * config/riscv/riscv-ext.def: New extensions + * config/riscv/riscv-ext.opt: Auto re-generated + * doc/riscv-ext.texi: Auto re-generated + +2025-05-29 Pan Li <pan2...@intel.com> + + * config/riscv/riscv-v.cc (expand_vx_binary_vec_dup_vec): Add + new case for MULT op. + (expand_vx_binary_vec_vec_dup): Ditto. + * config/riscv/riscv.cc (riscv_rtx_costs): Ditto. + * config/riscv/vector-iterators.md: Add new op mult to no_shift_vx_ops. + 2025-05-28 Jan Hubicka <hubi...@ucw.cz> PR target/119298 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 939851372b3b..ac2743335765 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250529 +20250530 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index c8587b48e7d6..f24c084914cc 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,23 @@ +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + * c-parser.cc (c_parser_skip_to_closing_brace): New, copied from + the equivalent function in the C++ front end. + (c_parser_skip_to_end_of_block_or_statement): Pass false to + the error flag. + (c_parser_omp_context_selector): Immediately return error_mark_node + after giving an error that the integer trait property is invalid, + similarly to C++ front end. + (c_parser_omp_context_selector_specification): Likewise handle + error return from c_parser_omp_context_selector similarly to C++. + (c_parser_omp_metadirective): Do not call + c_parser_skip_to_end_of_block_or_statement after an error. + +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + PR c/120180 + * c-parser.cc (c_parser_omp_metadirective): Only consume the + token if it is the expected close paren. + 2025-05-27 Jakub Jelinek <ja...@redhat.com> PR c/117025 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index db79783d1e2a..9e425ab6222f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,75 @@ +2025-05-29 David Malcolm <dmalc...@redhat.com> + + * error.cc (cxx_format_postprocessor::clone): Update to use + unique_ptr. + (cxx_dump_pretty_printer::cxx_dump_pretty_printer): Likewise. + (cxx_initialize_diagnostics): Likewise. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + PR c++/113563 + * lambda.cc (build_capture_proxy): Check pointerness of the + member, not the proxy type. + (lambda_expr_this_capture): Don't assume current_class_ref. + (nonlambda_method_basetype): Likewise. + * semantics.cc (finish_non_static_data_member): Don't assume + TREE_TYPE (object) is set. + (finish_this_expr): Check current_class_type for lambda, + not current_class_ref. + +2025-05-29 Iain Sandoe <i...@sandoe.co.uk> + + PR c++/109283 + * coroutines.cc (find_any_await): Only save the statement + pointer if the caller passes a place for it. + (flatten_await_stmt): When checking that ternary expressions + have been handled, also check that they contain a co_await. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + * decl.cc (start_decl): Also set invalid_constexpr + for maybe_constexpr_fn. + * parser.cc (cp_parser_jump_statement): Likewise. + * constexpr.cc (potential_constant_expression_1): Ignore + goto to an artificial label. + +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + * parser.cc (cp_parser_omp_metadirective): Do not call + cp_parser_skip_to_end_of_block_or_statement after an error. + +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + PR c/120180 + * parser.cc (cp_parser_omp_metadirective): Only consume the + token if it is the expected close paren. + +2025-05-29 Iain Sandoe <i...@sandoe.co.uk> + + * coroutines.cc (analyze_fn_parms): No longer + create a parameter copy guard var. + * coroutines.h (struct param_info): Remove the + entry for the parameter copy destructor guard. + +2025-05-29 Iain Sandoe <i...@sandoe.co.uk> + + PR c++/120453 + * cp-tree.h (DECL_RAMP_P): New. + * typeck.cc (check_return_expr): Use DECL_RAMP_P instead + of DECL_RAMP_FN. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + PR c++/107600 + * cp-trait.def (IS_DESTRUCTIBLE, IS_NOTHROW_DESTRUCTIBLE) + (IS_TRIVIALLY_DESTRUCTIBLE): New. + * constraint.cc (diagnose_trait_expr): Explain them. + * method.cc (destructible_expr): New. + (is_xible_helper): Use it. + * semantics.cc (finish_trait_expr): Handle new traits. + (trait_expr_value): Likewise. Complain about asking + whether a deleted dtor is trivial. + 2025-05-28 Jason Merrill <ja...@redhat.com> * module.cc (module_state::write_namespaces): Write diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3496d06e0305..1218bb8d446b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2025-05-29 Jerry DeLisle <jvdeli...@gcc.gnu.org> + + PR fortran/120049 + * check.cc(check_c_ptr_2): Rephrase error message + for clarity. + 2025-05-28 Tobias Burnus <tbur...@baylibre.com> PR fortran/113152 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9b97c4ab01f8..27ddc571f77b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,121 @@ +2025-05-29 Kugan Vivekanandarajah <kvivekana...@nvidia.com> + + * lib/target-supports.exp: Enable autofdo tests for aarch64. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + PR c++/113563 + * g++.dg/cpp23/explicit-obj-lambda16.C: New test. + +2025-05-29 Iain Sandoe <i...@sandoe.co.uk> + + PR c++/109283 + * g++.dg/coroutines/pr109283.C: New test. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + * g++.dg/cpp1z/constexpr-lambda29.C: New test. + +2025-05-29 Jerry DeLisle <jvdeli...@gcc.gnu.org> + + PR fortran/120049 + * gfortran.dg/c_f_pointer_tests_6.f90: Adjust dg-error + directive. + +2025-05-29 Alice Carlotti <alice.carlo...@arm.com> + Alfie Richards <alfie.richa...@arm.com> + + * g++.target/i386/mv-symbols1.C: New test. + * g++.target/i386/mv-symbols2.C: New test. + * g++.target/i386/mv-symbols3.C: New test. + * g++.target/i386/mv-symbols4.C: New test. + * g++.target/i386/mv-symbols5.C: New test. + * g++.target/i386/mvc-symbols1.C: New test. + * g++.target/i386/mvc-symbols2.C: New test. + * g++.target/i386/mvc-symbols3.C: New test. + * g++.target/i386/mvc-symbols4.C: New test. + +2025-05-29 Alice Carlotti <alice.carlo...@arm.com> + Alfie Richards <alfie.richa...@arm.com> + + * g++.target/powerpc/mvc-symbols1.C: New test. + * g++.target/powerpc/mvc-symbols2.C: New test. + * g++.target/powerpc/mvc-symbols3.C: New test. + * g++.target/powerpc/mvc-symbols4.C: New test. + +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + * c-c++-common/gomp/declare-variant-2.c: Adjust patterns now that + C and C++ now behave similarly. + * c-c++-common/gomp/metadirective-error-recovery.c: New. + +2025-05-29 Sandra Loosemore <sloosem...@baylibre.com> + + PR c/120180 + * c-c++-common/gomp/pr120180.c: New. + +2025-05-29 Iain Sandoe <i...@sandoe.co.uk> + + PR c++/120453 + * g++.dg/coroutines/pr120453.C: New test. + +2025-05-29 Martin Jambor <mjam...@suse.cz> + + PR ipa/120295 + * gcc.dg/ipa/pr120295.c: New test. + +2025-05-29 Pranav Gorantla <pranav.goran...@amd.com> + + * gcc.target/i386/reduc-pshuf.c: New test. + +2025-05-29 Jerry Zhang Jian <jerry.zhangj...@sifive.com> + + * gcc.target/riscv/arch-57.c: New test + * gcc.target/riscv/arch-58.c: New test + +2025-05-29 Pan Li <pan2...@intel.com> + + * gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i16.c: Add asm + check for vmul.vx combine. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-4-i8.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i16.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-5-i8.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i16.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-6-i8.c: Ditto. + +2025-05-29 Pan Li <pan2...@intel.com> + + * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i16.c: Add asm check + for vmul.vx combine. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-1-i8.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i16.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-2-i8.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i16.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i32.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i64.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx-3-i8.c: Ditto. + * gcc.target/riscv/rvv/autovec/vx_vf/vx_binary_data.h: Add test + data for vmul run test. + * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmul-run-1-i16.c: New test. + * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmul-run-1-i32.c: New test. + * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmul-run-1-i64.c: New test. + * gcc.target/riscv/rvv/autovec/vx_vf/vx_vmul-run-1-i8.c: New test. + +2025-05-29 Jason Merrill <ja...@redhat.com> + + PR c++/107600 + * g++.dg/ext/is_destructible1.C: New test. + 2025-05-28 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/119586 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 4aab62b1a607..fd9d59e2be06 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,36 @@ +2025-05-29 Tobias Burnus <tbur...@baylibre.com> + + PR libgomp/93226 + * libgomp-plugin.h (GOMP_OFFLOAD_openacc_async_dev2dev): New + prototype. + * libgomp.h (struct acc_dispatch_t): Add dev2dev_func. + (gomp_copy_dev2dev): New prototype. + * libgomp.map (OACC_2.6.1): New; add acc_memcpy_device{,_async}. + * libgomp.texi (acc_memcpy_device): New. + * oacc-mem.c (memcpy_tofrom_device): Change to take from/to + device boolean; use memcpy not memmove; add early return if + size == 0 or same device + same ptr. + (acc_memcpy_to_device, acc_memcpy_to_device_async, + acc_memcpy_from_device, acc_memcpy_from_device_async): Update. + (acc_memcpy_device, acc_memcpy_device_async): New. + * openacc.f90 (acc_memcpy_device, acc_memcpy_device_async): + Add interface. + * openacc_lib.h (acc_memcpy_device, acc_memcpy_device_async): + Likewise. + * openacc.h (acc_memcpy_device, acc_memcpy_device_async): Add + prototype. + * plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_async_host2dev): + Update comment. + (GOMP_OFFLOAD_openacc_async_dev2host): Update call. + (GOMP_OFFLOAD_openacc_async_dev2dev): New. + * plugin/plugin-nvptx.c (cuda_memcpy_dev_sanity_check): New. + (GOMP_OFFLOAD_dev2dev): Call it. + (GOMP_OFFLOAD_openacc_async_dev2dev): New. + * target.c (gomp_copy_dev2dev): New. + (gomp_load_plugin_for_device): Load dev2dev and async_dev2dev. + * testsuite/libgomp.oacc-c-c++-common/acc_memcpy_device-1.c: New test. + * testsuite/libgomp.oacc-fortran/acc_memcpy_device-1.f90: New test. + 2025-05-28 Tobias Burnus <tbur...@baylibre.com> PR middle-end/118694 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ba4a3983b58a..e3da41b4b6e0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,52 @@ +2025-05-29 Patrick Palka <ppa...@redhat.com> + + * include/std/flat_map (_Flat_map_impl::operator==): Compare + keys and values separately. + +2025-05-29 Patrick Palka <ppa...@redhat.com> + Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/120465 + * include/std/flat_map (_Flat_map_impl::_M_erase_if): Use a + projection with ranges::remove_if to pass a pair instead of + a tuple to the predicate. + * testsuite/23_containers/flat_map/1.cc (test07): Strengthen + to expect the argument passed to the predicate is a pair. + * testsuite/23_containers/flat_multimap/1.cc (test07): Likewise. + +2025-05-29 Jonathan Wakely <jwak...@redhat.com> + + * testsuite/17_intro/names.cc [_AIX] (a): Undefine. + * testsuite/experimental/names.cc [_AIX] (ptr): Undefine. + +2025-05-29 Jonathan Wakely <jwak...@redhat.com> + + * testsuite/22_locale/num_put/put/char/lwg4084.cc [_AIX]: Adjust + expected output for NaN and infinity. + +2025-05-29 Jonathan Wakely <jwak...@redhat.com> + + * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: + Remove dg-xfail-run-if for AIX. + * testsuite/23_containers/unordered_map/96088.cc: Replace + dg-xfail-run-if with dg-require-effective-target c++20. + * testsuite/23_containers/unordered_multimap/96088.cc: Likewise. + * testsuite/23_containers/unordered_multiset/96088.cc: Likewise. + * testsuite/23_containers/unordered_set/96088.cc: Likewise. + +2025-05-29 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/boost_concept_check.h: Disable -Wlong-long + warnings. + * testsuite/24_iterators/operations/prev_neg.cc: Adjust dg-error + line number. + +2025-05-29 Jonathan Wakely <jwak...@redhat.com> + + * doc/xml/manual/test.xml: Remove outdated documentation on + testing with -std options in --target_board. + * doc/html/manual/test.html: Regenerate. + 2025-05-27 Jonathan Wakely <jwak...@redhat.com> * testsuite/17_intro/names.cc [_AIX] (n): Undefine.