https://gcc.gnu.org/g:01ed5c62bf8a9759442d1f4c80ea6dc3d71f3719

commit r15-4559-g01ed5c62bf8a9759442d1f4c80ea6dc3d71f3719
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Wed Oct 23 00:19:43 2024 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 109 +++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |   2 +-
 gcc/c-family/ChangeLog  |   7 +++
 gcc/c/ChangeLog         |  16 +++++++
 gcc/cp/ChangeLog        |  24 +++++++++++
 gcc/testsuite/ChangeLog | 110 ++++++++++++++++++++++++++++++++++++++++++++++++
 libgomp/ChangeLog       |  23 ++++++++++
 libstdc++-v3/ChangeLog  |  28 ++++++++++++
 8 files changed, 318 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b77da017ed11..2bdea613a5b2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,112 @@
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR middle-end/117199
+       * varasm.cc (compare_constant): Handle RAW_DATA_CST.  Formatting fix
+       in the STRING_CST case.
+
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117190
+       * varasm.cc (array_size_for_constructor): For RAW_DATA_CST,
+       use bitsize_int rather than size_int.
+
+2024-10-22  Tobias Burnus  <tbur...@baylibre.com>
+
+       * config/gcn/gcn-devices.def: Add generic version/flag as additional
+       value and architecture family entry; update; add gfx-10-3-generic
+       and gfx11-generic.
+       * config/gcn/gcn-hsa.h (ABI_VERSION_SPEC): Remove
+       (ASM_SPEC): Use generated ABI_VERSION_OPT instead.
+       * config/gcn/gcn-tables.opt: Regenerate
+       * config/gcn/gcn.h (gcn_device_def): Add generic_version and
+       arch_family members.
+       (TARGET_CPU_CPP_BUILTINS): Fix allocation bug, handle '-' in the
+       name and add additional macro defines.
+       * config/gcn/gcn.cc (gcn_devices): Handle it.
+       * config/gcn/gen-gcn-device-macros.awk: Likewise; use ELF name
+       for the macro name; generate ABI_VERSION_OPT.
+       * config/gcn/mkoffload.cc (ELFABIVERSION_AMDGPU_HSA_V6,
+       EF_AMDGPU_GENERIC_VERSION_V, EF_AMDGPU_GENERIC_VERSION_OFFSET,
+       GET_GENERIC_VERSION, SET_GENERIC_VERSION): Define.
+       (get_arch): Call SET_GENERIC_VERSION flag on elf_flags.
+       (copy_early_debug_info): If the arch sets the generic version,
+       use ELFABIVERSION_AMDGPU_HSA_V6.
+
+2024-10-22  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/117254
+       * gimple-ssa-warn-access.cc (maybe_warn_nonstring_arg):
+       Check the array domain max is constant before using it.
+
+2024-10-22  Andrew Stubbs  <a...@baylibre.com>
+           Tobias Burnus  <tbur...@baylibre.com>
+
+       * config.gcc (amdgcn): Add gcn-device-macros.h to tm_file.
+       Add gcn-tables.opt to extra_options.
+       * config/gcn/gcn-hsa.h (NO_XNACK): Delete.
+       (NO_SRAM_ECC): Delete.
+       (SRAMOPT): Move definition to generated file gcn-device-macros.h.
+       (XNACKOPT): Likewise.
+       (ASM_SPEC): Redefine using generated values from gcn-device-macros.h.
+       * config/gcn/gcn-opts.h
+       (enum processor_type): Generate from gcn-devices.def.
+       (TARGET_VEGA10): Delete.
+       (TARGET_VEGA20): Delete.
+       (TARGET_GFX908): Delete.
+       (TARGET_GFX90a): Delete.
+       (TARGET_GFX90c): Delete.
+       (TARGET_GFX1030): Delete.
+       (TARGET_GFX1036): Delete.
+       (TARGET_GFX1100): Delete.
+       (TARGET_GFX1103): Delete.
+       (TARGET_XNACK): Redefine to allow for HSACO_ATTR_UNSUPPORTED.
+       (enum hsaco_attr_type): Add HSACO_ATTR_UNSUPPORTED.
+       (TARGET_TGSPLIT): New define.
+       * config/gcn/gcn.cc (gcn_devices): New constant table.
+       (gcn_option_override): Rework to use gcn_devices table.
+       (gcn_omp_device_kind_arch_isa): Likewise.
+       (output_file_start): Likewise.
+       (gcn_hsa_declare_function_name): Rework using TARGET_* macros.
+       * config/gcn/gcn.h (gcn_devices): Declare struct and table.
+       (TARGET_CPU_CPP_BUILTINS): Rework using gcn_devices.
+       * config/gcn/gcn.opt: Move enum data to generated file gcn-tables.opt.
+       Use new names for the default values.
+       * config/gcn/mkoffload.cc (EF_AMDGPU_MACH_AMDGCN_GFX900): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX906): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX908): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX90a): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX90c): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX1030): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX1036): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX1100): Delete.
+       (EF_AMDGPU_MACH_AMDGCN_GFX1103): Delete.
+       (enum elf_arch_code): Define using gcn-devices.def.
+       (get_arch): Rework using gcn-devices.def.
+       (main): Rework using gcn-devices.def
+       * config/gcn/t-gcn-hsa (gcn-tables.opt): Generate file.
+       (gcn-device-macros.h): Generate file.
+       * config/gcn/t-omp-device: Generate isa list from gcn-devices.def.
+       * config/gcn/gcn-devices.def: New file.
+       * config/gcn/gcn-tables.opt: New file.
+       * config/gcn/gcn-tables.opt.urls: New file.
+       * config/gcn/gen-gcn-device-macros.awk: New file.
+       * config/gcn/gen-opt-tables.awk: New file.
+
+2024-10-22  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/117123
+       * tree-ssa-sccvn.cc (visit_phi): First process a non-constant
+       argument edge to handle more equivalences.  Remove the
+       two-arg special case.
+
+2024-10-22  xuli  <xu...@eswincomputing.com>
+
+       * match.pd: Support IMM=1.
+
+2024-10-22  xuli  <xu...@eswincomputing.com>
+
+       * match.pd: Support IMM=max-1.
+
 2024-10-21  Jeff Law  <j...@ventanamicro.com>
 
        PR rtl-optimization/116488
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index cf7fc14e4eae..c961d1b391ea 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241022
+20241023
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index aaf54b672b59..3484a212b2f2 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117230
+       * c-warn.cc (sizeof_pointer_memaccess_warning): Only compare
+       TYPE_PRECISION of TREE_TYPE (type) to precision of char if
+       TREE_TYPE (type) is integral type.
+
 2024-10-17  Jakub Jelinek  <ja...@redhat.com>
 
        PR c/117028
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index c6f9d95dba68..64273cb83558 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,19 @@
+2024-10-23  Joseph Myers  <josmy...@redhat.com>
+
+       * c-decl.cc (c_struct_parse_info): Add member refloc.
+       (start_struct): Store refloc in struct_parse_info.
+       (finish_struct): Give "originally defined" message for C23 struct
+       redefinition errors.
+
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117190
+       * c-parser.cc (c_parser_initval): Revert 2024-10-17 changes.
+       Instead peek the 4th token and if it is not CPP_NUMBER,
+       handle it like 3rd token CPP_CLOSE_BRACE for orig_len == INT_MAX.
+       Also, check (2 + 2 * i)th raw token for the orig_len == INT_MAX
+       case and punt if it is not CPP_NUMBER.
+
 2024-10-19  Joseph Myers  <josmy...@redhat.com>
 
        * c-tree.h (c_arg_info): Add c23_empty_parens.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b4b14b5130d8..00d1d4f275b5 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,27 @@
+2024-10-22  Jason Merrill  <ja...@redhat.com>
+
+       PR c++/117107
+       PR c++/92687
+       * decl.cc (lookup_decomp_type): Handle null table.
+
+2024-10-22  Patrick Palka  <ppa...@redhat.com>
+
+       * pt.cc (register_specialization): Set elt.hash.
+
+2024-10-22  Nathaniel Shead  <nathanielosh...@gmail.com>
+
+       * module.cc (depset::DB_IS_MEMBER_BIT): Rename to...
+       (depset::DB_IS_PENDING_BIT): ...this.
+       (depset::is_member): Remove.
+       (depset::is_pending_entity): New function.
+       (depset::hash::make_dependency): Mark definitions of
+       namespace-scope types as maybe-pending entities.
+       (depset::hash::add_class_entities): Rename DB_IS_MEMBER_BIT to
+       DB_IS_PENDING_BIT.
+       (depset::hash::find_dependencies): Use is_pending_entity
+       instead of is_member.
+       (module_state::write_pendings): Likewise; adjust comment.
+
 2024-10-18  Alejandro Colomar  <a...@kernel.org>
 
        * cp-tree.h (array_type_nelts_top)
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f3780d4ac072..0e381a885ebf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,113 @@
+2024-10-23  Joseph Myers  <josmy...@redhat.com>
+
+       * gcc.dg/gnu17-tag-1.c, gcc.dg/gnu23-tag-5.c: New tests.
+
+2024-10-22  Jason Merrill  <ja...@redhat.com>
+
+       PR c++/117107
+       PR c++/92687
+       * g++.dg/cpp2a/decomp10.C: New test.
+
+2024-10-22  Jason Merrill  <ja...@redhat.com>
+
+       PR c++/116929
+       * g++.dg/modules/enum-14.C: New test.
+
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117190
+       * c-c++-common/init-5.c: New test.
+
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR c/117230
+       * c-c++-common/Wsizeof-pointer-memaccess5.c: New test.
+
+2024-10-22  Jakub Jelinek  <ja...@redhat.com>
+
+       PR middle-end/117199
+       * gcc.dg/lto/pr117199_0.c: New test.
+
+2024-10-22  Torbjörn SVENSSON  <torbjorn.svens...@foss.st.com>
+
+       * gcc.target/arm/fp16-aapcs-1.c: Use check-function-bodies.
+       * gcc.target/arm/fp16-aapcs-2.c: Likewise.
+       * gcc.target/arm/fp16-aapcs-3.c: Likewise.
+       * gcc.target/arm/fp16-aapcs-4.c: Likewise.
+
+2024-10-22  Torbjörn SVENSSON  <torbjorn.svens...@foss.st.com>
+
+       * gcc.target/arm/cmse/mainline/8_1m/bitfield-4.c: Allow lsl and
+       lsr instructions.
+       * gcc.target/arm/cmse/mainline/8_1m/bitfield-6.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/bitfield-8.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/bitfield-and-union.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/union-2.c: Likewise.
+
+2024-10-22  Torbjörn SVENSSON  <torbjorn.svens...@foss.st.com>
+
+       * gcc.target/arm/cmse/mainline/8m/hard-sp/cmse-5.c: Use
+       check-function-bodies.
+       * gcc.target/arm/cmse/mainline/8m/hard/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8m/soft/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8m/softfp-sp/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8m/softfp/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/hard-sp/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/hard/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/soft/cmse-5.c: Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/softfp-sp/cmse-5.c:
+       Likewise.
+       * gcc.target/arm/cmse/mainline/8_1m/softfp/cmse-5.c: Likewise.
+
+2024-10-22  Jennifer Schmitz  <jschm...@nvidia.com>
+
+       * gcc.dg/tree-ssa/log_ident.c: Add scan for removal of
+       link_error in optimized tree dump.
+
+2024-10-22  Richard Sandiford  <richard.sandif...@arm.com>
+
+       * gcc.dg/torture/pr112305.c: Skip at -O0 and -O1 for simulators.
+
+2024-10-22  Nathaniel Shead  <nathanielosh...@gmail.com>
+
+       * g++.dg/modules/inst-4_b.C: Adjust pending-entity count.
+       * g++.dg/modules/member-def-1_c.C: Likewise.
+       * g++.dg/modules/member-def-2_c.C: Likewise.
+       * g++.dg/modules/tpl-spec-3_b.C: Likewise.
+       * g++.dg/modules/tpl-spec-4_b.C: Likewise.
+       * g++.dg/modules/tpl-spec-5_b.C: Likewise.
+       * g++.dg/modules/class-9_a.H: New test.
+       * g++.dg/modules/class-9_b.H: New test.
+       * g++.dg/modules/class-9_c.C: New test.
+
+2024-10-22  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/117254
+       * gcc.dg/pr117254.c: New testcase.
+
+2024-10-22  Richard Biener  <rguent...@suse.de>
+
+       PR tree-optimization/117123
+       * g++.dg/tree-ssa/pr117123.C: New testcase.
+
+2024-10-22  Stefan Schulze Frielinghaus  <stefa...@gcc.gnu.org>
+
+       * g++.dg/cpp23/ext-floating19.C: Fix typo for bfloat16 guard.
+
+2024-10-22  xuli  <xu...@eswincomputing.com>
+
+       * gcc.target/riscv/sat_u_sub_imm-1_4.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-2_4.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-3_4.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-4_2.c: New test.
+
+2024-10-22  xuli  <xu...@eswincomputing.com>
+
+       * gcc.target/riscv/sat_u_sub_imm-1_3.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-2_3.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-3_3.c: New test.
+       * gcc.target/riscv/sat_u_sub_imm-4_1.c: New test.
+
 2024-10-21  Jeff Law  <j...@ventanamicro.com>
 
        PR rtl-optimization/116488
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index c4e7b0efa944..3c2d827013a4 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,26 @@
+2024-10-22  Andrew Stubbs  <a...@baylibre.com>
+           Tobias Burnus  <tbur...@baylibre.com>
+
+       * plugin/plugin-gcn.c (EF_AMDGPU_MACH): Generate from gcn-devices.def.
+       (gcn_gfx803_s): Delete.
+       (gcn_gfx900_s): Delete.
+       (gcn_gfx906_s): Delete.
+       (gcn_gfx908_s): Delete.
+       (gcn_gfx90a_s): Delete.
+       (gcn_gfx90c_s): Delete.
+       (gcn_gfx1030_s): Delete.
+       (gcn_gfx1036_s): Delete.
+       (gcn_gfx1100_s): Delete.
+       (gcn_gfx1103_s): Delete.
+       (gcn_isa_name_len): Delete.
+       (isa_hsa_name): Rename ...
+       (isa_name): ... to this, and rework using gcn-devices.def.
+       (isa_gcc_name): Delete.
+       (isa_code): Rework using gcn-devices.def.
+       (max_isa_vgprs): Rework using gcn-devices.def.
+       (isa_matches_agent): Update isa_name usage.
+       (GOMP_OFFLOAD_init_device): Improve diagnostic using the name.
+
 2024-10-16  Tobias Burnus  <tbur...@baylibre.com>
 
        * testsuite/libgomp.oacc-fortran/acc_on_device-1-4.f: New test;
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bc199a0d409f..d8e5716175d1 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,31 @@
+2024-10-22  Patrick Palka  <ppa...@redhat.com>
+
+       * include/std/ranges (concat_view::begin): Add space after
+       'requires' starting a requires-clause.
+       (concat_view::end): Likewise.  Refine condition for returning an
+       iterator rather than default_sentinel as per LWG 4166.
+       * testsuite/std/ranges/concat/1.cc (test03): Verify LWG 4166
+       example.
+
+2024-10-22  Jonathan Wakely  <jwak...@redhat.com>
+
+       * include/bits/basic_string.h (basic_string::assign): Replace
+       use of __to_address with __niter_base or std::to_address as
+       appropriate.
+       * include/bits/ptr_traits.h (__to_address): Add comment.
+       * include/bits/shared_ptr_base.h (__shared_ptr): Qualify calls
+       to __to_address.
+       * include/bits/stl_algo.h (find): Replace use of __to_address
+       with __niter_base or std::to_address as appropriate. Only use
+       either of them when the range is not empty.
+       * include/bits/stl_iterator.h (__to_address): Remove overload
+       for __normal_iterator.
+       * include/debug/safe_iterator.h (__to_address): Remove overload
+       for _Safe_iterator.
+       * include/std/ranges (views::counted): Replace use of
+       __to_address with std::to_address.
+       * testsuite/24_iterators/normal_iterator/to_address.cc: Removed.
+
 2024-10-21  Jonathan Wakely  <jwak...@redhat.com>
 
        * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc:

Reply via email to