https://gcc.gnu.org/g:9d569367e0e360d736c435b53b448b64d197521c

commit r17-1712-g9d569367e0e360d736c435b53b448b64d197521c
Author: GCC Administrator <[email protected]>
Date:   Sat Jun 20 00:16:32 2026 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           |  90 +++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/ada/ChangeLog       | 117 ++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/algol68/ChangeLog   |   6 +++
 gcc/c/ChangeLog         |   6 +++
 gcc/fortran/ChangeLog   |   4 ++
 gcc/objc/ChangeLog      |   5 +++
 gcc/testsuite/ChangeLog |  41 +++++++++++++++++
 include/ChangeLog       |   5 +++
 libgomp/ChangeLog       |  26 +++++++++++
 10 files changed, 301 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3cfe3e4ea869..bb97c6825440 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,93 @@
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       PR tree-optimization/125857
+       * ipa-prop.cc (ipa_record_return_value_range_1): Don't record
+       pranges which have non ipa-invariants in it.
+
+2026-06-19  Iain Sandoe  <[email protected]>
+
+       * config/aarch64/aarch64.cc
+       (aarch64_vector_costs::count_ops): Treat vec_deconstruct in the
+       same way as vec_construct.
+
+2026-06-19  Peter Bergner  <[email protected]>
+
+       * config/riscv/riscv-cores.def (RISCV_TUNE)<tt-ascalon-d8>: Rename from
+       this...
+       (RISCV_TUNE)<tt-ascalon-x>: ...to this.
+       (RISCV_CORE)<tt-ascalon-d8>: Likewise.
+       (RISCV_CORE)<tt-ascalon-x>: Likewise.
+       (RISCV_CORE_ALIAS): Add tt-ascalon-d8 alias for tt-ascalon-x.
+       * doc/riscv-mcpu.texi: Document the name change.
+       * doc/riscv-mtune.texi: Likewise.
+
+2026-06-19  Peter Bergner  <[email protected]>
+
+       * common/config/riscv/riscv-common.cc (struct riscv_cpu_alias_info):
+       New struct.
+       (riscv_cpu_alias_table): New.
+       (riscv_find_cpu): Add support for cpu alias names.
+       (riscv_get_valid_option_values): Likewise.
+       Add an early loop exit if we found a duplicate name.
+       * config/riscv/riscv-cores.def (RISCV_CORE_ALIAS): New macro.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       PR tree-optimization/122193
+       * tree-ssa-phiopt.cc (factor_out_conditional_load): Support non-zero
+       offsets.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       * tree-ssa-phiopt.cc (is_factor_profitable): Change arg_op
+       to operands and opcount.
+       (factor_out_conditional_operation): Update call to
+       is_factor_profitable.
+       (factor_out_conditional_load): Support when merge has
+       a virtual phi. The load's vuse needs to be the arguments
+       to the virtual phi. Call is_factor_profitable on the new phi
+       arguments. Update the vuse on the new load to the virtual phi.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+           Kyrylo Tkachov  <[email protected]>
+
+       PR tree-optimization/125557
+       * tree-ssa-phiopt.cc (factor_out_conditional_load): New function.
+       (factor_out_all):  Call factor_out_conditional_load.
+
+2026-06-19  Xin Wang  <[email protected]>
+
+       * tree-ssa-loop-im.cc (mem_ref_hasher::equal): Refactor
+       for clarity.
+
+2026-06-19  Arsen Arsenović  <[email protected]>
+
+       * doc/extend.texi: Move @anchor-s referring to tops of nodes
+       after their corresponding @node lines.
+       * doc/invoke.texi: Ditto.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * acinclude.m4 (gcc_GAS_FLAGS): Set to --32 for abi32 targets.
+       * configure.ac (TLS support): Use 32-bit sequence for abi32 targets.
+       * configure: Regenerate.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * tree-nested.cc (lookup_field_for_decl): In the non-pointer case,
+       clear DECL_NONADDRESSABLE_P if the DECL is of an aggregate type.
+
+2026-06-19  Kael Andrew Franco  <[email protected]>
+
+       PR tree-optimization/125641
+       PR tree-optimization/125641
+       * match.pd: Add bit_ior/bit_and {bit_not} rshift to min/max.
+
+2026-06-19  Léo Hardt  <[email protected]>
+
+       * ddg.h (GCC_DDG_H): Removed orphaned comment from 60393bbc
+       * sel-sched-ir.h (GCC_SEL_SCHED_IR_H): Removed orphaned comment from 
c7131fb
+
 2026-06-18  Milan Tripkovic  <[email protected]>
 
        PR target/125405
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 671fa4f884c6..be0a3ca816de 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20260619
+20260620
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 7c690f7c6912..7d2804fcd02a 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,120 @@
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * exp_ch4.adb (Expand_N_Expression_With_Actions): Create a temporary
+       only for types that can be copied, and replace the EWA node by its
+       expression for other types.
+       * exp_ch6.adb (Expand_Ctrl_Function_Call): Bail out when the parent
+       is an EWA node.
+       * sem_ch3.adb (OK_For_Limited_Init_In_05): Recurse on the expression
+       of an EWA node.
+
+2026-06-19  Viljar Indus  <[email protected]>
+
+       * fe.h: Define Error_Msg_Sloc for gigi.
+
+2026-06-19  Viljar Indus  <[email protected]>
+
+       * styleg.adb (Check_Comment): use correct switch name in
+       error message.
+
+2026-06-19  Ronan Desplanques  <[email protected]>
+
+       * exp_attr.adb (Spot, Spot_Kind): New types.
+       (Build_And_Insert_Type_Attr_Subp, Skip_Non_Source_Subps,
+       Find_Insertion_Point_For_Ancestor): Handle case of empty body
+       declaration list.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * sem_res.adb (Check_Discriminant_Use): Rename PN local variable as
+       Par and apply minor formatting tweaks.
+       (Resolve_Allocator): For the subtype indication form, make sure to
+       take the constraints of a subtype into account instead of those of
+       the indication in order to implement the static accessibility check.
+
+2026-06-19  Olivier Hainque  <[email protected]>
+
+       * tracebak.c: Improve documentation of BASE_SKIP.
+       * libgnat/g-traceb.ads (Call_Chain procedure): Clarify the
+       expected behavior wrt Call_Chain itself.
+       * libgnat/g-traceb.adb (Call_Chain procedure): Propagate
+       a Skip_Frames value to System.TB.Call_Chain accordingly.
+       * libgnat/libgnat.gpr: Use the same special switches for
+       g-traceb.adb as for s-traceb.adb.
+       * Makefile.rtl: Likewise.
+       * libgnat/s-traceb.adb: Reword top comment on the need
+       to prevent optimizations. No need to specify how to do it
+       here.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * expander.adb (Expand): Revert latest change.
+       * ghost.adb (Set_Ghost_Mode): Likewise.
+       * sem_ch3.adb (Analyze_Subtype_Declaration): Also copy the RM size
+       for floating-point types.
+       * sem_prag.adb (Analyze_Pragma) <Pragma_Check>: Do not mark the
+       pragma as Ghost when expander is active and the pragma is ignored.
+       Preanalyze it instead of analyzing it, and rewrite it as a null
+       statement at the end of the processing.
+
+2026-06-19  Viljar Indus  <[email protected]>
+
+       * restrict.adb (Check_Restriction_No_Specification_Of_Aspect): add
+       Diagnostic_Id for error message.
+       (Check_Restriction_No_Use_Of_Attribute): Likewise.
+       (Check_Restriction_No_Use_Of_Pragma): Likewise.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * libgnat/a-suenco.adb (Convert): Remove double space after comma.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * sem_ch3.adb (Analyze_Object_Declaration): Streamline test.
+
+2026-06-19  Marc Poulhiès  <[email protected]>
+
+       * par.adb (Pf_Rec.Pexp): Renamed to...
+       (Pf_Rec.Expf): ...this.
+       (Pf_Decl_Gins_Pbod_Rnam_Stub_Pexp): Renamed to...
+       (Pf_Decl_Gins_Pbod_Rnam_Stub_Expf): ... this.
+       (Pf_Decl_Gins_Pbod_Rnam_Stub_Pexp): Renamed to...
+       (Pf_Decl_Gins_Pbod_Rnam_Stub_Expf): ... this.
+       (Pf_Decl_Gins_Pbod_Rnam_Pexp): Renamed to ...
+       (Pf_Decl_Gins_Pbod_Rnam_Expf): ... this.
+       (Pf_Decl_Pbod_Pexp): Renamed to ...
+       (Pf_Decl_Pbod_Expf): ... this.
+       (Pf_Pbod_Pexp): Renamed to ...
+       (Pf_Pbod_Expf): ... this.
+       * par-ch6.adb (Rewrite_Entity_If_Direct_Attribute_Def)
+       (Likely_Expression_Function): Adjust.
+       * par-ch10.adb (P_Compilation_Unit, P_Subunit): Likewise.
+       * par-ch3.adb (P_Declarative_Item): Likewise.
+       * par-ch7.adb (P_Package): Likewise.
+       * par-ch9.adb (P_Entry_Or_Subprogram_With_Indicator)
+       (P_Protected_Operation_Items): Adjust.
+
+2026-06-19  Marc Poulhiès  <[email protected]>
+
+       * exp_ch3.adb (Build_Implicit_Copy_Constructor)
+       (Build_Implicit_Parameterless_Constructor): Refactor how node is
+       discarded.
+
+2026-06-19  Ronan Desplanques  <[email protected]>
+
+       * opt.ads (Init_Or_Norm_Scalars): Turn into expression function.
+       * opt.adb (Restore_Config_Switches, Set_Config_Switches): Remove
+       assignment.
+       * frontend.adb (Frontend): Remove assignment.
+       * sem_prag.adb (Do_Initialize_Scalars, Analyze_Pragma): Remove
+       assignment.
+       * targparm.adb (Get_Target_Parameters): Remove assignment.
+
+2026-06-19  Ronan Desplanques  <[email protected]>
+
+       * opt.adb (Save_Config_Switches): Remove useless assignment.
+       * opt.ads (Config_Switches_Type): Remove unused component.
+
 2026-06-18  Eric Botcazou  <[email protected]>
 
        * accessibility.ads (Apply_Accessibility_Check_For_Allocator):
diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog
index 05c272743e2b..d56b9eefdb64 100644
--- a/gcc/algol68/ChangeLog
+++ b/gcc/algol68/ChangeLog
@@ -1,3 +1,9 @@
+2026-06-19  Kanishka Solanki  <[email protected]>
+
+       * a68-low-clauses.cc (a68_lower_collateral_clause): Do not check
+       for rows before calling a68_low_dup.
+       * a68-low-units.cc (collect_call_arguments): Likewise.
+
 2026-06-16  Jose E. Marchesi  <[email protected]>
 
        * a68-imports.cc (a68_replace_equivalent_mode): Get a moif and
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 0df671fe7c01..7f3fd1bf9e03 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2026-06-19  Kees Cook  <[email protected]>
+
+       PR c/125604
+       * c-typeck.cc (build_unary_op): Unwrap .ACCESS_WITH_SIZE
+       from the operand before further processing.
+
 2026-06-10  Jakub Jelinek  <[email protected]>
 
        PR c/125694
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 98220aa84a95..0e62b05e7590 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2026-06-19  Léo Hardt  <[email protected]>
+
+       * trans-intrinsic.cc: Removed orphaned comment from 69f293c
+
 2026-06-18  Jerry DeLisle  <[email protected]>
 
        PR fortran/125535
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 51e8c3afc865..63d7494e74c4 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2026-06-19  Léo Hardt  <[email protected]>
+
+       * objc-act.cc: Removed orphaned comment from 69f293c
+       * objc-encoding.cc: Removed orphaned comment from 69f293c
+
 2026-05-30  Dhruv Chawla  <[email protected]>
 
        * objc-act.cc (objc_compare_types): Fix typos.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dba7e75c6157..b917cbc90972 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,44 @@
+2026-06-19  Kees Cook  <[email protected]>
+
+       PR c/125604
+       * gcc.dg/counted-by-unary.c: New test.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       PR tree-optimization/125857
+       * gcc.dg/pr125857-1.c: New test.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       PR tree-optimization/122193
+       * gcc.dg/tree-ssa/factor_op_phi-load-offsets-1.c: New test.
+       * gcc.dg/tree-ssa/factor_op_phi-load-offsets-2.c: New test.
+       * gcc.dg/tree-ssa/factor_op_phi-load-offsets-3.c: New test.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+
+       * gcc.dg/tree-ssa/factor_op_phi-load-stores-1.c: New test.
+
+2026-06-19  Andrew Pinski  <[email protected]>
+           Kyrylo Tkachov  <[email protected]>
+
+       PR tree-optimization/125557
+       * gcc.dg/tree-ssa/scc-diamond-1.c: New test.
+       * gcc.dg/tree-ssa/scc-diamond-3.c: New test.
+       * gcc.dg/tree-ssa/scc-diamond-4.c: New test.
+       * gcc.target/aarch64/scc-diamond-2.c: New test.
+
+2026-06-19  Eric Botcazou  <[email protected]>
+
+       * gnat.dg/opt108.adb: New test.
+       * gnat.dg/opt108_pkg.ads, gnat.dg/opt108_pkg.adb: New helper.
+
+2026-06-19  Kael Andrew Franco  <[email protected]>
+
+       PR tree-optimization/125641
+       PR tree-optimization/125641
+       * gcc.dg/pr125641.c: New test.
+
 2026-06-18  Milan Tripkovic  <[email protected]>
 
        PR target/125405
diff --git a/include/ChangeLog b/include/ChangeLog
index 67a0fadfdc23..3feff810c6f2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2026-06-19  Tobias Burnus  <[email protected]>
+
+       PR libgomp/125877
+       * cuda/cuda.h (cuDeviceGetPCIBusId): Declare.
+
 2026-06-13  Sunil Dora  <[email protected]>
 
        PR driver/111527
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index f9c63eda4800..f59c431a1cd8 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,29 @@
+2026-06-19  Tobias Burnus  <[email protected]>
+
+       PR libgomp/125877
+       * affinity.c (gomp_get_current_numa_node,
+       gomp_get_numa_distance): New functions.
+       * config/linux/affinity.c (gomp_get_current_numa_node,
+       gomp_get_numa_distance): Likewise.
+       * libgomp-plugin.h (GOMP_OFFLOAD_get_numa_node): Declare.
+       * libgomp.h (gomp_get_current_numa_node,
+       gomp_get_numa_distance): Declare.
+       (struct gomp_device_descr): Add get_numa_node_func.
+       * libgomp.map (OMP_6.1): Add.
+       * libgomp.texi (omp_get_device_distances): Add routine.
+       * omp.h.in (omp_get_device_distances): Declare.
+       * omp_lib.f90.in (omp_get_device_distances): Add interface.
+       * omp_lib.h.in (omp_get_device_distances): Likewise.
+       * plugin/cuda-lib.def (cuDeviceGetPCIBusId): Add.
+       * plugin/plugin-gcn.c (struct agent_info): Add numa_node.
+       (GOMP_OFFLOAD_get_numa_node): New.
+       * plugin/plugin-nvptx.c (struct ptx_device): Add numa_node.
+       (GOMP_OFFLOAD_get_numa_node): New.
+       * target.c (omp_get_device_distances): New function.
+       (gomp_load_plugin_for_device): Load get_numa_node symbol.
+       * testsuite/libgomp.c/omp-get-device-distances.c: New test.
+       * testsuite/libgomp.fortran/omp-get-device-distances.f90: New test.
+
 2026-06-18  Thomas Schwinge  <[email protected]>
 
        * config/accel/target-indirect.h (GOMP_INDIRECT_ADDR_MAP)

Reply via email to