https://gcc.gnu.org/g:68de3c4b89270dd03a08a4b696e183fed742d27d
commit r16-5825-g68de3c4b89270dd03a08a4b696e183fed742d27d Author: GCC Administrator <[email protected]> Date: Tue Dec 2 09:47:45 2025 +0000 Daily bump. Diff: --- contrib/ChangeLog | 10 +++ gcc/ChangeLog | 179 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/algol68/ChangeLog | 11 +++ gcc/cobol/ChangeLog | 76 ++++++++++++++++++++ gcc/cp/ChangeLog | 33 +++++++++ gcc/fortran/ChangeLog | 24 +++++++ gcc/testsuite/ChangeLog | 92 +++++++++++++++++++++++++ include/ChangeLog | 6 ++ libcc1/ChangeLog | 9 +++ libgomp/ChangeLog | 58 ++++++++++++++++ libstdc++-v3/ChangeLog | 33 +++++++++ 12 files changed, 532 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 01afa80b8a31..0e08c4212b65 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,13 @@ +2025-12-02 Jakub Jelinek <[email protected]> + + * gcc-changelog/git_update_version.py (ignored_commits): Add + e69bea9b4ccfe79efeec6e87d7d24e6350f31375. + +2025-12-01 Jose E. Marchesi <[email protected]> + + * gcc-changelog/git_commit.py: Add gcc/algol68 and libga68 to + default_changelog_locations. + 2025-11-22 Andrew Pinski <[email protected]> * gcc-changelog/git_commit.py: Add algol68. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cab26dad2493..baa0b382577b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,182 @@ +2025-12-02 Kugan Vivekanandarajah <[email protected]> + + * ipa-inline.cc (inline_functions_by_afdo): Remove resetting bool inlined. + +2025-12-02 Andrew Pinski <[email protected]> + + PR target/122912 + * config/aarch64/t-aarch64 (TM_H): Add aarch64-tuning-enums.def. + +2025-12-02 Alexandre Oliva <[email protected]> + + * hard-reg-set.h (hard_reg_set_iter_init): Drop unnecessary + increment of min. + (hard_reg_set_iter_set): Use ctz_hwi, and compute + word-advanced regno from word_no. + (hard_reg_set_iter_next): Only clear the cached LSB. + +2025-12-02 David Guillen Fandos <[email protected]> + + * config/mips/mips.h (ISA_HAS_MADD_MSUB): Include allegrex. + * config/mips/mips.md: Tweak mul_acc_si/mul_sub_si to make it + work when MUL3 is not available. + +2025-12-02 David Guillen Fandos <[email protected]> + + * config/mips/mips.h (ISA_HAS_WSBW): Defined a new macro. + * config/mips/mips.md (bswapsi2): Add new instruction. + (wsbwsi2): Replace with expand to support both wsbw and wsbh. + +2025-12-02 David Guillen Fandos <[email protected]> + + * config/mips/mips.h (ISA_HAS_MIN_MAX): Defined a new macro. + * config/mips/mips.md (sminsi3): Defined a new instruction. + (smaxsi3): Defined a new instruction. + +2025-12-02 David Guillen Fandos <[email protected]> + + * config/mips/mips-cpus.def (MIPS_CPU): Added a new CPU. + * config/mips/mips-tables.opt: Regenerated table. + * config/mips/mips.cc: Added cost table for the new CPU. + * config/mips/mips.h (TARGET_ALLEGREX): Defined a new macro. + (TUNE_ALLEGREX): Defined a new macro. + (ISA_HAS_CONDMOVE): Added Allegrex CPU to the list. + (ISA_HAS_LDC1_SDC1): Exclude Allegrex from the list. + (ISA_HAS_COND_TRAP): Exclude Allegrex from the list. + (ISA_HAS_COND_TRAPI): Exclude Allegrex from the list. + (ISA_HAS_CLZ_CLO): Added Allegrex CPU to the list. + (ISA_HAS_ROR): Added Allegrex CPU to the list. + (ISA_HAS_WSBH): Added Allegrex CPU to the list. + (ISA_HAS_SEB_SEH): Added Allegrex CPU to the list. + (ISA_HAS_EXT_INS): Added Allegrex CPU to the list. + (ISA_HAS_XFER_DELAY): Exclude Allegrex from the list. + (ISA_HAS_HILO_INTERLOCKS): Added Allegrex CPU to the list. + * config/mips/mips.md: Added Allegrex CPU as a new processor. + * doc/invoke.texi: Documented Allegrex as a new arch + +2025-12-02 Saurabh Jha <[email protected]> + Radek Barton <[email protected]> + + * config.gcc: Add new Makefile fragment and new object file. + * config/aarch64/aarch64-builtins.cc + (aarch64_ms_variadic_abi_init_builtins): Initialize builtin + variadic functions for aarch64-w64-mingw32. + * config/aarch64/aarch64-protos.h + (aarch64_ms_variadic_abi_init_builtins): Initialize builtin + variadic functions for aarch64-w64-mingw32. + * config/aarch64/aarch64.cc + (handle_aarch64_vector_pcs_attribute): Add support for + ARM_PCS_MS_VARIADIC. + (aarch64_ms_variadic_abi): Return descriptor to variadic + function call ABI for aarch64-w64-mingw32 target. + (aarch64_fntype_abi): Add support for variadic functions for + aarch64-w64-mingw32 target. + (aarch64_reg_save_mode): Add support for ARM_PCS_MS_VARIADIC. + (num_pcs_arg_regs): Add support for ARM_PCS_MS_VARIADIC. + (get_pcs_arg_reg): Add support for ARM_PCS_MS_VARIADIC. + (aarch64_arg_size): Returns size of argument. + (aarch64_ms_variadic_abi_layout_arg): aarch64-w64-mingw32 + specific support for variadic ABI. + (aarch64_layout_arg): Add support for ARM_PCS_MS_VARIADIC. + (aarch64_function_arg): Implement TARGET_FUNCTION_ARG. + (aarch64_function_arg_advance): Add support for + ARM_PCS_MS_VARIADIC. + (aarch64_function_arg_regno_p): Add support for + ARM_PCS_MS_VARIADIC. + (aarch64_init_builtins): Add support for TARGET_AARCH64_MS_ABI. + (aarch64_ms_variadic_abi_build_builtin_va_list): Setup va_list + for aarch64-w64-mingw32. + (aarch64_build_builtin_va_list): Add support for + TARGET_AARCH64_MS_ABI. + (aarch64_ms_variadic_abi_expand_builtin_va_start): Implement + TARGET_BUILD_BUILTIN_VA_START. + (aarch64_setup_incoming_varargs): Implement + TARGET_SETUP_INCOMING_VARARGS. + (aarch64_mangle_type): Implement TARGET_MANGLE_TYPE. + (aarch64_variadic_abi_strict_argument_naming): Implement + TARGET_STRICT_ARGUMENT_NAMING. + * config/aarch64/aarch64.h + (aarch64_frame): Add new field + unaligned_saved_varargs_size. + (enum arm_pcs): Add new enum option + ARM_PCS_MS_VARIADIC. + * config/aarch64/cygming.h + (SUBTARGET_ATTRIBUTE_TABLE): Add support for ms_abi. + * config/mingw/winnt.cc + (aarch64_handle_ms_abi_attribute): Handle ms_abi attribue. + * config/mingw/winnt.h + (aarch64_handle_ms_abi_attribute): Handle ms_abi attribute. + * config/aarch64/aarch64-abi-ms-protos.h: + (aarch64_arg_partial_bytes): Declare. + (aarch64_ms_variadic_abi_canonical_va_list_type): Declare. + (aarch64_ms_variadic_abi_enum_va_list): Declare. + (aarch64_ms_variadic_abi_fn_abi_va_list): Implement + TARGET_FN_ABI_VA_LIST. + * config/aarch64/aarch64-abi-ms.cc: + (aarch64_arg_partial_bytes): Implement TARGET_ARG_PARTIAL_BYTES. + (aarch64_ms_variadic_abi_canonical_va_list_type): Implement + TARGET_CANONICAL_VA_LIST_TYPE. + (aarch64_ms_variadic_abi_enum_va_list): Implement + TARGET_ENUM_VA_LIST_P. + (aarch64_ms_variadic_abi_fn_abi_va_list): Implement + TARGET_FN_ABI_VA_LIST. + * config/aarch64/t-aarch64-mingw: New Makefile fragment. + +2025-12-02 Saurabh Jha <[email protected]> + Radek Barton <[email protected]> + Martin Vejbora <[email protected]> + + * config/aarch64/aarch64-abi-ms.h + (TARGET_LONG_DOUBLE_128): Set this to 0. + * config/aarch64/aarch64.cc + (aarch64_scalar_mode_supported_p): Make long double 64 bits. + (aarch64_c_mode_for_floating_type): Return true for TFmode. + * config/aarch64/aarch64.h + (TARGET_LONG_DOUBLE_128): Set this to 1. + +2025-12-02 Saurabh Jha <[email protected]> + + * config/aarch64/aarch64-abi-ms.h + (ASM_COMMENT_START): Specify start of comment. + (ASM_OUTPUT_TYPE_DIRECTIVE): Moved from aarch64-coff.h. + (ASM_DECLARE_FUNCTION_SIZE): Specify end of function as comment. + * config/aarch64/aarch64-coff.h + (ASM_OUTPUT_TYPE_DIRECTIVE): Moved to aarch64-abi-ms.h. + (ASM_DECLARE_FUNCTION_SIZE): Moved to aarch64-abi-ms.h. + +2025-12-01 Peter Bergner <[email protected]> + + PR target/122942 + * config/riscv/riscv-profiles.def (rva23s64): Add zifencei. + (rvb23s64): Likewise. + +2025-12-01 Jose E. Marchesi <[email protected]> + + * doc/install.texi (Downloading the source): Mention Algol 68. + +2025-12-01 Christophe Lyon <[email protected]> + + PR target/122858 + * config/arm/constraints.md (Ph): New constraint. + * config/arm/mve.md (mve_asrl_imm, mve_lsll_imm): Fix constraints + of operand 1 and handle 32 as special shift amount. + +2025-12-01 Robin Dapp <[email protected]> + + PR target/122652 + * config/riscv/riscv-vsetvl.cc: Add nullptr check. + +2025-12-01 Paul-Antoine Arras <[email protected]> + + PR fortran/120505 + * omp-low.cc (lower_omp_target): Set GOMP_MAP_IMPLICIT flag. + +2025-12-01 H.J. Lu <[email protected]> + + PR target/122906 + * config/i386/i386-features.cc (ix86_emit_tls_call): Emit the + TLS call after deleted instructions. + 2025-11-30 Tamar Christina <[email protected]> PR tree-optimization/115120 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 112e13c0bf36..0564cdc98af2 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20251201 +20251202 diff --git a/gcc/algol68/ChangeLog b/gcc/algol68/ChangeLog index 121d8c4350bd..ac53c4c50bb7 100644 --- a/gcc/algol68/ChangeLog +++ b/gcc/algol68/ChangeLog @@ -1,3 +1,14 @@ +2025-12-01 Jose E. Marchesi <[email protected]> + + PR algol68/122944 + * Make-lang.in (algol68.install-common): Link + A68_TARGET_INSTALL_NAME in bindir. + +2025-12-01 Rainer Orth <[email protected]> + + * a68-exports.cc: Include memmodel.h. + * a68-imports.cc: Likeswise. + 2025-11-30 Jose E. Marchesi <[email protected]> * a68-diagnostics.cc (diagnostic): Copypasto "a meek" diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 00b49cc42e16..a427c9f22a73 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,79 @@ +2025-12-01 James K. Lowden <[email protected]> + + PR cobol/119329 + PR cobol/119331 + PR cobol/120786 + * Make-lang.in: Add cobol/messages.o to cobol1 sources. + * cbldiag.h (yywarn): Remove function. + (struct cbl_loc_t): Introduce new location type independent of Bison. + (enum cbl_diag_id_t): Enumerate diagnostic messages. + (cbl_message): New function. + (dialect_ok): Test for dialect, emit standard message. + (dialect_not_ok): Emit standard message if syntax excluded by dialect. + (dialect_error): Remove function. + (cbl_unimplementedw): Use cbl_diag_id_t. + (cbl_unimplemented): Whitespace. + * cdf.y: Update token values. + * cobol1.cc (enable_exceptions): Use cbl_message. + (cobol_warning): Declare function. + (cobol_langhook_handle_option): Add 44 new warning options. + (cobol_langhook_type_for_mode): Remove function. + * except.cc (cbl_enabled_exception_t::dump): Remove function. + * exceptg.h (class exception_turn_t): Use cbl_diag_id_t. + * gcobol.1: Document dialect syntax and new warning options. + * genapi.cc (parser_label_label): Remove unused warning. + * gengen.cc (gg_find_field_in_struct): Use cbl_internal_error. + (gg_printf): Same. + (gg_fprintf): Same. + (gg_define_function): Same. + (gg_get_function_decl): Same. + (gg_call_expr): Same. + (gg_call): Same. + * lang-specs.h: Add warning options. + * lang.opt: Add ISO dialect and options. + * lexio.cc (parse_replacing_term): Use cbl_message. + (parse_replacing_pair): Same. + (preprocess_filter_add): Same. + (cdftext::echo_input): Same. + (cdftext::lex_open): Same. + (cdftext::open_input): Same. + * messages.cc: New file implements cbl_message. + * parse.y: Use cbl_message. + * parse_ante.h (dialect_proscribed): Remove function. + (parser_move_carefully): Use dialect_ok. + (goodnight_gracie): Convert warning to debug message. + * scan.l: Use dialect_ok. + * scan_ante.h (scanner_parsing): Use cbl_diag_id_t. + (scanner_parsing_toggle): Same. + (scanner_parsing_pop): Same. + (verify_ws): Same. + (level_of): Same. + (typed_name): Same. + (integer_of): Same. + * scan_post.h (datetime_format_of): Use cbl_internal_error. + (prelex): Emit only debug messages. + * show_parse.h: Use cbl_internal_error. + * symbols.cc (symbols_update): Remove dialect test because parser's problem. + (cbl_field_t::internalize): Use cbl_message. + * symbols.h (enum cbl_dialect_t): Add ISO to cbl_dialect_t. + (cbl_dialect_str): Recognize ISO dialect. + (dialect_has): New function. + (cbl_diagnostic_kind): New function. + (cbl_dialect_kind): New function. + (struct cbl_alphabet_t): Emit only debug message. + * token_names.h: Regenerate. + * util.cc (gb4): Emit only debug message. + (current_token_location): Add overload to set token_location. + (yywarn): Remove function. + (cobol_fileline_set): Use cbl_message. + (cobol_parse_files): Same. + (cbl_message): New diagnostic message function uses cbl_diag_id_t. + (cbl_diagnostic_kind): New function. + (cbl_diagnostic_option): New function. + (cbl_unimplementedw): Use cbl_diag_id_t. + (dialect_error): Remove function. + * util.h (cbl_message): Remove obsolete prototype for cbl_message. + 2025-11-30 Andrew Pinski <[email protected]> * lang.opt.urls: Regenerate. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a4c2db7ca013..3e4404f8a97c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,36 @@ +2025-12-01 Nathaniel Shead <[email protected]> + + * module.cc (trees_out::lang_decl_vals): Stream DECL_CHAIN for + decl_specialization_friend_p functions. + (trees_in::lang_decl_vals): Likewise. + +2025-12-01 Nathaniel Shead <[email protected]> + + PR c++/122915 + * module.cc (module_state::write_using_directives): Don't emit + imported using-directives. + (module_state::read_using_directives): Rename + add_using_namespace to add_imported_using_namespace. + * name-lookup.cc (add_using_namespace): Handle imported + using-directives. + (add_imported_using_namespace): Rename to match new + functionality. + * name-lookup.h (add_using_namespace): Rename to... + (add_imported_using_namespace): ...this. + +2025-12-01 Nathaniel Shead <[email protected]> + + PR c++/119864 + PR c++/122939 + * module.cc (trees_out::write_function_def): Don't crash on + OMP used-defined type reduction function definitions. + +2025-12-01 Jakub Jelinek <[email protected]> + + PR c++/122905 + * decl.cc (enum_with_enumerator_for_linkage_p): Only return true + for namespace scope types. + 2025-11-30 Jakub Jelinek <[email protected]> PR c++/122465 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index bcb008e4ab45..39c17b938435 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,27 @@ +2025-12-01 Christopher Albert <[email protected]> + Harald Anlauf <[email protected]> + + PR fortran/107721 + PR fortran/102417 + * arith.cc (eval_intrinsic): Call gfc_check_constructor_type on + array constructor operands with explicit type-spec to ensure + element type conversion before operations. Resolve character + array constructors before CONCAT operations. + (reduce_binary_ac, reduce_binary_ca, reduce_binary_aa): Preserve + character length info in result arrays. + * array.cc (check_constructor_type): Simplify non-constant + expressions before type checking to handle parenthesized elements. + Handle nested character array constructors with explicit type-spec + when outer constructor has no type-spec. + (gfc_resolve_character_array_constructor): Recursively propagate + type-spec to nested array constructors. If the nested constructor + has an explicit type-spec, resolve it first before propagating + the outer type-spec. + +2025-12-01 Tobias Burnus <[email protected]> + + * gfortran.texi (Default exponents): Remove spurious @menu entry. + 2025-11-30 Andrew Pinski <[email protected]> * lang.opt.urls: Regenerate. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 47dbf0ffb821..344bb4534ef3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,95 @@ +2025-12-02 David Guillen Fandos <[email protected]> + + * gcc.target/mips/madd-10.c: New test. + * gcc.target/mips/maddu-5.c: New test. + * gcc.target/mips/msub-9.c: New test. + * gcc.target/mips/msubu-5.c: New test. + +2025-12-02 David Guillen Fandos <[email protected]> + + * gcc.target/mips/bswap-7.c: New test. + +2025-12-02 David Guillen Fandos <[email protected]> + + * gcc.target/mips/max-1.c: New test. + * gcc.target/mips/min-1.c: New test. + +2025-12-02 Saurabh Jha <[email protected]> + Radek Barton <[email protected]> + + * gcc.target/aarch64/mingw/variadic_hfa.c: New test. + * gcc.target/aarch64/mingw/variadic_hva.c: New test. + * gcc.target/aarch64/mingw/variadic_int.c: New test. + +2025-12-02 Saurabh Jha <[email protected]> + Radek Barton <[email protected]> + Martin Vejbora <[email protected]> + + * gcc.target/aarch64/mingw/mingw.exp: New test. + * gcc.target/aarch64/mingw/long_double_size.c: New test. + +2025-12-02 Saurabh Jha <[email protected]> + + * lib/scanasm.exp: Add support for mingw targets. + +2025-12-01 Nathaniel Shead <[email protected]> + + * g++.dg/modules/friend-12_a.C: New test. + * g++.dg/modules/friend-12_b.C: New test. + +2025-12-01 Nathaniel Shead <[email protected]> + + PR c++/122915 + * g++.dg/modules/namespace-16_a.C: New test. + * g++.dg/modules/namespace-16_b.C: New test. + * g++.dg/modules/namespace-16_c.C: New test. + * g++.dg/modules/namespace-16_d.C: New test. + +2025-12-01 Christophe Lyon <[email protected]> + + PR target/122858 + * gcc.target/arm/mve/pr122858.c: New test. + +2025-12-01 Christopher Albert <[email protected]> + Harald Anlauf <[email protected]> + + PR fortran/107721 + PR fortran/102417 + * gfortran.dg/array_constructor_typespec_1.f90: New test. + +2025-12-01 Jakub Jelinek <[email protected]> + + PR c++/122905 + * g++.dg/lto/pr122905.h: New file. + * g++.dg/lto/pr122905_0.C: New test. + * g++.dg/lto/pr122905_1.C: New test. + +2025-12-01 Robin Dapp <[email protected]> + + PR target/122652 + * gcc.target/riscv/rvv/base/pr122652.c: New test. + +2025-12-01 Rainer Orth <[email protected]> + + PR testsuite/122596 + * gfortran.dg/alloc_comp_deep_copy_5.f90: Restrict + -Wa,--noexecstack, -Wl,-z,noexecstack to gas, gld. + * gfortran.dg/alloc_comp_deep_copy_6.f90: Likewise. + +2025-12-01 Rainer Orth <[email protected]> + + PR c++/81337 + PR c++/52477 + * g++.dg/gcov/pr16855.C (Test::~Test): xfail on *-*-solaris2* + (dg-final): Likewise. + * g++.dg/gcov/pr16855-priority.C (Test::~Test): Likewise. + (dg-final): Likewise. + +2025-12-01 H.J. Lu <[email protected]> + + PR target/122906 + * g++.target/i386/pr122906-1.C: New test. + 2025-11-30 Kugan Vivekanandarajah <[email protected]> * gcc.dg/vect/tsvc/vect-tsvc-s293.c: Remove xfail. diff --git a/include/ChangeLog b/include/ChangeLog index e94e5795dca4..8bde9e367181 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2025-12-01 Andrew Stubbs <[email protected]> + + * hsa.h: Import newer version. + * hsa_ext_amd.h: Likewise. + * hsa_ext_image.h: Likewise. + 2025-11-30 Jose E. Marchesi <[email protected]> * dwarf2.h (DW_LANG_Algol68): Define. diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 2e1759b7e1c0..f649cb1af48c 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,12 @@ +2025-12-02 Andrew Pinski <[email protected]> + + * cc1plugin-config.h.in: Regenerate. + +2025-12-01 John David Anglin <[email protected]> + + * configure.ac: Check for libgen.h header. + * configure: Regenerate. + 2025-11-03 Sam James <[email protected]> * configure: Regenerate. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 4f6e756b50a2..d442ae8c8ed9 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,61 @@ +2025-12-01 Andrew Stubbs <[email protected]> + + * libgomp.texi (AMD GCN): Mention HSA_XNACK is set automatically. + +2025-12-01 Andrew Stubbs <[email protected]> + + * Makefile.in: Regenerate. + * libgomp-plugin.h (gomp_simple_alloc_init_context): New prototype. + (gomp_simple_alloc_register_memory): New prototype. + (gomp_simple_alloc): New prototype. + (gomp_simple_free): New prototype. + (gomp_simple_realloc): New prototype. + * libgomp.h (gomp_simple_alloc_init_context): Move to libgomp-plugin.h. + (gomp_simple_alloc_register_memory): Likewise. + (gomp_simple_alloc): Likewise. + (gomp_simple_free): Likewise. + (gomp_simple_realloc): Likewise. + * libgomp.texi: Update AMD managed memory description. + * plugin/Makefrag.am (libgomp_plugin_gcn_la_SOURCES): Add + simple-allocator.c and plugin/mutex.c. + * plugin/plugin-gcn.c: Include sys/mman.h and unistd.h. + (struct hsa_runtime_fn_info): Add hsa_amd_svm_attributes_set_fn. + (dump_hsa_system_info): Add HSA_AMD_SYSTEM_INFO_SVM_SUPPORTED and + HSA_AMD_SYSTEM_INFO_SVM_ACCESSIBLE_BY_DEFAULT to the GCN_DEBUG output. + (init_hsa_runtime_functions): Add hsa_amd_svm_attributes_set. + (isa_matches_agent): Add a new error message for the case where the + ISA doesn't match but the name does. + (managed_ctx): New variable. + (managed_heap_create): New function. + (GOMP_OFFLOAD_managed_alloc): Likewise. + (GOMP_OFFLOAD_managed_free): Likewise. + * simple-allocator.c (gomp_fatal): New macro. + * testsuite/lib/libgomp.exp (check_effective_target_omp_managedmem): + Add amdgcn support checker. + (check_effective_target_offload_target_amdgcn_with_xnack): New. + * testsuite/libgomp.c-c++-common/requires-4.c: Ignore xnack warning. + * testsuite/libgomp.c-c++-common/requires-4a.c: Ignore xnack warning. + * testsuite/libgomp.c-c++-common/requires-5.c: Ignore xnack warning. + * testsuite/libgomp.c++/alloc-managed-1.C: Add -mxnack=on, if needed. + * testsuite/libgomp.c/alloc-managed-1.c: Likewise. + * testsuite/libgomp.c/alloc-managed-2.c: Likewise. + * testsuite/libgomp.c/alloc-managed-3.c: Likewise. + * testsuite/libgomp.c/alloc-managed-4.c: Likewise. + * testsuite/libgomp.fortran/alloc-managed-1.f90: Likewise. + * plugin/mutex.c: New file. + +2025-12-01 Paul-Antoine Arras <[email protected]> + + PR fortran/120505 + * target.c (gomp_map_vars_internal): Allow struct mapping from different + containing array elements as long as adresses are in increasing order. + * testsuite/libgomp.c-c++-common/map-arrayofstruct-2.c: Adjust + dg-output. + * testsuite/libgomp.c-c++-common/map-arrayofstruct-3.c: Likewise. + * testsuite/libgomp.fortran/map-subarray-5.f90: Likewise. + * testsuite/libgomp.fortran/map-subarray-10.f90: New test. + * testsuite/libgomp.fortran/map-subarray-9.f90: New test. + 2025-11-26 Jakub Jelinek <[email protected]> * testsuite/libgomp.c++/atomic-12.C (main): Add ()s around array diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fee99ba84725..0c3d17fd5076 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,36 @@ +2025-12-01 Patrick Palka <[email protected]> + + PR libstdc++/122921 + * include/std/flat_map (_Flat_map_impl::_Iterator::value_type): + Remove const from key_type to make consistent with the + container's value_type. + * testsuite/23_containers/flat_map/1.cc (test09): New test. + * testsuite/23_containers/flat_multimap/1.cc (test09): New test. + +2025-12-01 Jonathan Wakely <[email protected]> + + * include/bits/atomic_timed_wait.h (__wait_until_impl): Use + chrono::nanoseconds for parameter. + * src/c++20/atomic.cc (__wait_until_impl): Likewise. + +2025-12-01 Jonathan Wakely <[email protected]> + + PR libstdc++/122878 + * src/c++20/atomic.cc (__spin_until_impl): Remove. + (__wait_until_impl): Use __spin_impl instead of + __spin_until_impl and return if timeout is reached after + spinning. + +2025-12-01 Jonathan Wakely <[email protected]> + + * src/c++20/atomic.cc: Document platform wait API. + (__futex_wait_flags): Remove enumeration type. + (futex_private_flag): Define constant for FUTEX_PRIVATE_FLAG. + (__platform_wait): Use local variables for futex op constants. + (__platform_notify): Likewise. + (__platform_wait_until): Likewise. Adjust parameter types for + consistency with __platform_wait. + 2025-11-28 Patrick Palka <[email protected]> PR libstdc++/122842
