https://gcc.gnu.org/g:2f39b1b8d7cc29f2cb09c14c10f1fa1f51346ee4

commit r15-10056-g2f39b1b8d7cc29f2cb09c14c10f1fa1f51346ee4
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Wed Jul 23 00:26:52 2025 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           |  78 ++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/ada/ChangeLog       |  37 ++++++++
 gcc/testsuite/ChangeLog |  25 +++++
 libgcc/ChangeLog        |  11 +++
 libgomp/ChangeLog       | 241 ++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 393 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17c9a0443ff3..c96021917699 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,81 @@
+2025-07-22  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-17  Tobias Burnus  <tbur...@baylibre.com>
+
+       * omp-offload.cc (omp_discover_declare_target_tgt_fn_r): Also
+       walk external functions that are declare inline (and have a
+       DECL_SAVED_TREE).
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-06-04  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * config/nvptx/mkoffload.cc (process): Use an 'auto_vec' for
+       'file_idx'.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Thomas Schwinge  <tschwi...@baylibre.com>
+                   Richard Biener  <rguent...@suse.de>
+
+       PR middle-end/119835
+       * tree-nrv.cc (pass_nrv::execute): Defuse 'RESULT_DECL' check.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-19  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR lto/120308
+       * lto-streamer-out.cc (hash_tree): Don't handle 'TYPE_EMPTY_P' for
+       'lto_stream_offload_p'.
+       * tree-streamer-in.cc (unpack_ts_type_common_value_fields):
+       Likewise.
+       * tree-streamer-out.cc (pack_ts_type_common_value_fields):
+       Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * config/nvptx/nvptx-sm.def: Add '61'.
+       * config/nvptx/nvptx-gen.h: Regenerate.
+       * config/nvptx/nvptx-gen.opt: Likewise.
+       * config/nvptx/nvptx.cc (first_ptx_version_supporting_sm): Adjust.
+       * config/nvptx/nvptx.opt (-march-map=sm_61, -march-map=sm_62):
+       Likewise.
+       * config.gcc: Likewise.
+       * doc/invoke.texi (Nvidia PTX Options): Document '-march=sm_61'.
+       * config/nvptx/gen-multilib-matches-tests: Extend.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * config/nvptx/nvptx-opts.h (enum ptx_version): Add
+       'PTX_VERSION_5_0'.
+       * config/nvptx/nvptx.cc (ptx_version_to_string)
+       (ptx_version_to_number): Adjust.
+       * config/nvptx/nvptx.h (TARGET_PTX_5_0): New.
+       * config/nvptx/nvptx.opt (Enum(ptx_version)): Add 'EnumValue'
+       '5.0' for 'PTX_VERSION_5_0'.
+       * doc/invoke.texi (Nvidia PTX Options): Document '-mptx=5.0'.
+
+2025-07-22  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       Backported from master:
+       2025-04-25  Andrew Pinski  <quic_apin...@quicinc.com>
+                   Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119737
+       * config/gcn/gcn.cc (gcn_hsa_declare_function_name): Properly
+       switch sections.
+
 2025-07-21  Richard Sandiford  <richard.sandif...@arm.com>
 
        Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 7578d8939d61..bd609e4dd0ce 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250722
+20250723
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 759f05495a8c..e568e4a88bbc 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,40 @@
+2025-07-22  Ronan Desplanques  <desplanq...@adacore.com>
+
+       * gen_il-fields.ads (Is_Implicit_Full_View): New field.
+       * gen_il-gen-gen_entities.adb (Type_Kind): Use new field.
+       * einfo.ads (Is_Implicit_Full_View): Document new field.
+       * exp_ch7.adb (Make_Adjust_Call, Make_Init_Call, Make_Final_Call): Use
+       new field.
+       * exp_util.adb (Finalize_Address): Likewise.
+       * sem_ch3.adb (Copy_And_Build): Set new field.
+
+2025-07-22  Eric Botcazou  <ebotca...@adacore.com>
+
+       * exp_util.ads (May_Generate_Large_Temp): Delete.
+       * exp_util.adb (May_Generate_Large_Temp): Likewise.
+       (Safe_Unchecked_Type_Conversion): Do not take stack checking into
+       account to compute the result.
+
+2025-07-22  Eric Botcazou  <ebotca...@adacore.com>
+
+       * exp_util.adb (Safe_Unchecked_Type_Conversion): Always return True
+       if the expression is the prefix of an N_Selected_Component.
+
+2025-07-22  Piotr Trojanek  <troja...@adacore.com>
+
+       * sem_util.adb (Get_Actual_Subtype): Do the same for GCC and GNATprove
+       backends.
+
+2025-07-22  Eric Botcazou  <ebotca...@adacore.com>
+
+       * sem_util.adb (Get_Actual_Subtype): Only create a new subtype when
+       the expander is active.  Remove a useless test of type inequality,
+       as well as a useless call to Set_Has_Delayed_Freeze on the subtype.
+
+2025-07-22  Ghjuvan Lacambre  <lacam...@adacore.com>
+
+       * exp_util.adb (Finalize_Address): Prevent infinite loop
+
 2025-07-21  Eric Botcazou  <ebotca...@gcc.gnu.org>
 
        PR ada/121184
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 66bf434f51da..c9c0b11341ea 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,28 @@
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-19  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR lto/120308
+       * gcc.target/nvptx/abi-struct-arg.c: Add empty structure testing.
+       * gcc.target/nvptx/abi-struct-ret.c: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * gcc.target/nvptx/march-map=sm_61.c: Adjust.
+       * gcc.target/nvptx/march-map=sm_62.c: Likewise.
+       * gcc.target/nvptx/march=sm_61.c: New.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * gcc.target/nvptx/mptx=5.0.c: New.
+
 2025-07-21  Richard Sandiford  <richard.sandif...@arm.com>
 
        Backported from master:
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 03d304019f1c..f266829beb80 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,14 @@
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-04-25  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119853
+       PR target/119854
+       * config/gcn/crt0.c (_fini_array): Call
+       '__GCC_offload___cxa_finalize'.
+       * config/nvptx/gbl-ctors.c (__static_do_global_dtors): Likewise.
+
 2025-04-25  Release Manager
 
        * GCC 15.1.0 released.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index c9035c3d0c86..649b03de0450 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,244 @@
+2025-07-22  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-17  Tobias Burnus  <tbur...@baylibre.com>
+
+       * testsuite/libgomp.c++/declare_target-2.C: New test.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c++/target-std__valarray-1.C: New.
+       * testsuite/libgomp.c++/target-std__valarray-1.output: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c++/target-std__array-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__array-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__bitset-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__bitset-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__deque-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__deque-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__forward_list-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__forward_list-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__list-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__list-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__map-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__map-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__multimap-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__multimap-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__multiset-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__multiset-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__set-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__set-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__span-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__span-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__valarray-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__valarray-concurrent.C: Adjust.
+       * testsuite/libgomp.c++/target-std__vector-concurrent-usm.C: New.
+       * testsuite/libgomp.c++/target-std__vector-concurrent.C: Adjust.
+
+2025-07-22  Kwok Cheung Yeung  <kcye...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Kwok Cheung Yeung  <kcye...@baylibre.com>
+                   Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c++/target-std__array-concurrent.C: New.
+       * testsuite/libgomp.c++/target-std__bitset-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__deque-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__flat_map-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__flat_multimap-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__flat_multiset-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__flat_set-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__forward_list-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__list-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__map-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__multimap-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__multiset-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__set-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__span-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__unordered_map-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__unordered_multimap-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__unordered_multiset-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__unordered_set-concurrent.C: 
Likewise.
+       * testsuite/libgomp.c++/target-std__valarray-concurrent.C: Likewise.
+       * testsuite/libgomp.c++/target-std__vector-concurrent.C: Likewise.
+
+2025-07-22  Kwok Cheung Yeung  <kcye...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Kwok Cheung Yeung  <kcye...@baylibre.com>
+
+       * testsuite/libgomp.c++/target-std__cmath.C: New.
+       * testsuite/libgomp.c++/target-std__complex.C: Likewise.
+       * testsuite/libgomp.c++/target-std__numbers.C: Likewise.
+
+2025-07-22  Waffl3x  <waff...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Waffl3x  <waff...@baylibre.com>
+                   Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c++/target-flex-10.C: New test.
+       * testsuite/libgomp.c++/target-flex-100.C: New test.
+       * testsuite/libgomp.c++/target-flex-101.C: New test.
+       * testsuite/libgomp.c++/target-flex-11.C: New test.
+       * testsuite/libgomp.c++/target-flex-12.C: New test.
+       * testsuite/libgomp.c++/target-flex-2000.C: New test.
+       * testsuite/libgomp.c++/target-flex-2001.C: New test.
+       * testsuite/libgomp.c++/target-flex-2002.C: New test.
+       * testsuite/libgomp.c++/target-flex-2003.C: New test.
+       * testsuite/libgomp.c++/target-flex-30.C: New test.
+       * testsuite/libgomp.c++/target-flex-300.C: New test.
+       * testsuite/libgomp.c++/target-flex-31.C: New test.
+       * testsuite/libgomp.c++/target-flex-32.C: New test.
+       * testsuite/libgomp.c++/target-flex-33.C: New test.
+       * testsuite/libgomp.c++/target-flex-41.C: New test.
+       * testsuite/libgomp.c++/target-flex-60.C: New test.
+       * testsuite/libgomp.c++/target-flex-61.C: New test.
+       * testsuite/libgomp.c++/target-flex-62.C: New test.
+       * testsuite/libgomp.c++/target-flex-70.C: New test.
+       * testsuite/libgomp.c++/target-flex-80.C: New test.
+       * testsuite/libgomp.c++/target-flex-81.C: New test.
+       * testsuite/libgomp.c++/target-flex-90.C: New test.
+       * testsuite/libgomp.c++/target-flex-common.h: New test.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-30  Thomas Schwinge  <tschwi...@baylibre.com>
+                   Richard Biener  <rguent...@suse.de>
+
+       PR middle-end/119835
+       * testsuite/libgomp.oacc-c-c++-common/abi-struct-1.c:
+       '#pragma GCC optimize "-fno-inline"'.
+       * testsuite/libgomp.c-c++-common/target-abi-struct-1.c: New.
+       * testsuite/libgomp.c-c++-common/target-abi-struct-1-O0.c: Adjust.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-19  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR lto/120308
+       * testsuite/libgomp.oacc-c-c++-common/abi-struct-1.c: Add empty
+       structure testing.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-19  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c-c++-common/target-abi-struct-1-O0.c: New.
+       * testsuite/libgomp.oacc-c-c++-common/abi-struct-1.c: Likewise.
+
+2025-07-22  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2025-06-06  Tobias Burnus  <tbur...@baylibre.com>
+
+       PR target/120530
+       * testsuite/libgomp.c/target-map-zero-sized-3.c (main): Add missing
+       map clause; remove unused variable.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-07-17  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119692
+       * testsuite/libgomp.c++/pr119692-1-4.C: '{ dg-timeout 10 { target 
offload_device } }'.
+       * testsuite/libgomp.c++/pr119692-1-5.C: Likewise.
+       * testsuite/libgomp.c++/target-exceptions-bad_cast-1.C: Likewise.
+       * testsuite/libgomp.c++/target-exceptions-bad_cast-2.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-bad_cast-1.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-bad_cast-2.C: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119692
+       * testsuite/libgomp.c++/pr119692-1-4.C: '{ dg-timeout 10 }'.
+       * testsuite/libgomp.c++/pr119692-1-5.C: Likewise.
+       * testsuite/libgomp.c++/target-exceptions-bad_cast-1.C: Likewise.
+       * testsuite/libgomp.c++/target-exceptions-bad_cast-2.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-bad_cast-1.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-bad_cast-2.C: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-05-12  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c/declare-variant-3-sm61.c: New.
+       * testsuite/libgomp.c/declare-variant-3.h: Adjust.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-07-21  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119853
+       PR target/119854
+       * testsuite/libgomp.c++/target-cdtor-1.C: Adjust for
+       'targetm.cxx.use_aeabi_atexit'.
+       * testsuite/libgomp.c++/target-cdtor-2.C: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-04-25  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119853
+       PR target/119854
+       * target-cxa-dso-dtor.c: New.
+       * config/accel/target-cxa-dso-dtor.c: Likewise.
+       * Makefile.am (libgomp_la_SOURCES): Add it.
+       * Makefile.in: Regenerate.
+       * testsuite/libgomp.c++/target-cdtor-1.C: New.
+       * testsuite/libgomp.c++/target-cdtor-2.C: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-04-25  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       * testsuite/libgomp.c-c++-common/target-cdtor-1.c: New.
+
+2025-07-22  Andrew Pinski  <quic_apin...@quicinc.com>
+
+       Backported from master:
+       2025-04-25  Andrew Pinski  <quic_apin...@quicinc.com>
+                   Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/119737
+       * testsuite/libgomp.c++/target-exceptions-throw-1.C: Remove
+       PR119737 XFAILing.
+       * testsuite/libgomp.c++/target-exceptions-throw-2.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-throw-1.C: Likewise.
+       * testsuite/libgomp.oacc-c++/exceptions-throw-2.C: Likewise.
+
+2025-07-22  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       Backported from master:
+       2025-04-25  Thomas Schwinge  <tschwi...@baylibre.com>
+
+       PR target/118794
+       * testsuite/libgomp.c++/target-exceptions-pr118794-1.C: Adjust for
+       'targetm.arm_eabi_unwinder'.
+       * 
testsuite/libgomp.c++/target-exceptions-pr118794-1-offload-sorry-GCN.C:
+       Likewise.
+       * 
testsuite/libgomp.c++/target-exceptions-pr118794-1-offload-sorry-nvptx.C:
+       Likewise.
+
 2025-05-28  Tobias Burnus  <tbur...@baylibre.com>
 
        Backported from master:

Reply via email to