https://gcc.gnu.org/g:890dff609d49934d3a4041acfb8ae626bc8a0624
commit r16-5263-g890dff609d49934d3a4041acfb8ae626bc8a0624 Author: GCC Administrator <[email protected]> Date: Fri Nov 14 00:20:34 2025 +0000 Daily bump. Diff: --- contrib/ChangeLog | 6 ++ gcc/ChangeLog | 164 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 142 +++++++++++++++++++++++++++++++++++++++++ gcc/cobol/ChangeLog | 25 ++++++++ gcc/cp/ChangeLog | 9 +++ gcc/fortran/ChangeLog | 14 +++++ gcc/lto/ChangeLog | 6 ++ gcc/testsuite/ChangeLog | 54 ++++++++++++++++ include/ChangeLog | 11 ++++ libatomic/ChangeLog | 14 +++++ libgcobol/ChangeLog | 57 +++++++++++++++++ libgomp/ChangeLog | 71 +++++++++++++++++++++ libstdc++-v3/ChangeLog | 42 +++++++++++++ 14 files changed, 616 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index c99baf568955..0a9b06d8a056 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,9 @@ +2025-11-13 Filip Kastl <[email protected]> + + * check-params-in-docs.py: Start parsing from + @itemx --param=@var{name}=@var{value} instead of + @item --param @var{name}=@var{value}. + 2025-11-12 Owen Avery <[email protected]> * gcc-changelog/git_commit.py (ignored_prefixes): Add diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6883825f23b..5a14c9f9c919 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,167 @@ +2025-11-13 Alexandre Oliva <[email protected]> + Olivier Hainque <[email protected]> + + * config/vxworks/base/b_NULL.h: New. + * config.gcc (extra_headers) <*-*-vxworks*>: Add it. + * Makefile.in (stmp-int-hdrs): Support /././ markers in USER_H + to mark the beginning of the install name. Document. + * doc/sourcebuild.texi (Headers): Document /././ marker. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (tree_forwarder_block_p): Remove must argument. + (remove_forwarder_block): Add can_split + argument. Handle the splitting case (iff phis in bb). + (cleanup_tree_cfg_bb): Update argument to tree_forwarder_block_p. + (remove_forwarder_block_with_phi): Remove. + (pass_merge_phi::execute): Update argument to tree_forwarder_block_p + and call remove_forwarder_block instead of remove_forwarder_block_with_phi. + +2025-11-13 Andrew Pinski <[email protected]> + + PR tree-optimization/122493 + * tree-cfgcleanup.cc (tree_forwarder_block_p): Change bool argument + to a must have phi and allow phis if it is false. + (remove_forwarder_block): Add support for merging of forwarder blocks + with phis. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfg.cc (copy_phi_arg_into_existing_phi): Use the original location + if the mapped location is unknown. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfg.cc (copy_phi_arg_into_existing_phi): New use_map argument. + * tree-cfg.h (copy_phi_arg_into_existing_phi): Update declaration. + * tree-cfgcleanup.cc (remove_forwarder_block_with_phi): Use + copy_phi_arg_into_existing_phi instead of inlining it. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (remove_forwarder_block): Move + variable declaration ei into for loop. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (remove_forwarder_block_with_phi): Use + edge iterator instead of while loop. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (remove_forwarder_block): Remove check + on the available dominator information. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (tree_forwarder_block_p): Reject bb which has a single + predecessor which has a single successor. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (pass_merge_phi::execute): Move + check for abnormal or no phis to remove_forwarder_block_with_phi + and the check on dominated to tree_forwarder_block_p. + (remove_forwarder_block_with_phi): here. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (remove_forwarder_block_with_phi): Remove check on non-local label. + (remove_forwarder_block): Remove check on non-label/eh landing pad. + (tree_forwarder_block_p): Add check on lable for an eh landing pad. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (remove_forwarder_block): Remove check for infinite loop. + (remove_forwarder_block_with_phi): Likewise. Also remove check for loop header. + +2025-11-13 Andrew Pinski <[email protected]> + + * tree-cfgcleanup.cc (pass_merge_phi::execute): Remove worklist. + +2025-11-13 Jeff Law <[email protected]> + + * ext-dce.cc (ext_dce_try_optimize_rshift): New function to optimize a + shift pair implementing a zero/sign extension. + (ext_dce_try_optimize_extension): Renamed from + ext_dce_try_optimize_insn. + (ext_dce_process_uses): Handle shift pairs implementing extensions. + +2025-11-13 Andrew Pinski <[email protected]> + + PR tree-optimization/122637 + * tree-scalar-evolution.cc (final_value_replacement_loop): Fix order + of gimplification and constant prop. + +2025-11-13 Jeff Law <[email protected]> + + PR rtl-optimization/122627 + * lra-constraints.cc (update_equiv): Remove patch from last week + related to pr122321. + (lra_constraints): Expand the equivalence array after eliminations + are complete. + +2025-11-13 Xi Ruoyao <[email protected]> + + * configure.ac (HAVE_AS_16B_ATOMIC): Define if the assembler + supports LSX and sc.q. + * configure: Regenerate. + * config.in: Regenerate. + * config/loongarch/loongarch-opts.h (HAVE_AS_16B_ATOMIC): + Defined to 0 if undefined yet. + * config/loongarch/linux.h (HAVE_IFUNC_FOR_LIBATOMIC_16B): + Define as HAVE_AS_16B_ATOMIC && OPTION_GLIBC. + * config/loongarch/loongarch-protos.h + (loongarch_16b_atomic_lock_free_p): New prototype. + * config/loongarch/loongarch.cc + (loongarch_16b_atomic_lock_free_p): Implement. + * config/loongarch/sync.md (atomic_storeti_lsx): Require + loongarch_16b_atomic_lock_free_p. + (atomic_storeti): Likewise. + (atomic_exchangeti_scq): Likewise. + (atomic_exchangeti): Likewise. + (atomic_compare_and_swapti): Likewise. + (atomic_fetch_<amop_ti_fetch>ti_scq): Likewise. + (atomic_fetch_<amop_ti_fetch>ti): Likewise. + (ALL_SC): Likewise for TImode. + (atomic_storeti_scq): Remove. + +2025-11-13 Richard Biener <[email protected]> + + * config/i386/i386-features.cc (pass_x86_cse::x86_cse): Delete + loads. + +2025-11-13 Rainer Orth <[email protected]> + + PR other/122638 + * doc/install.texi (Configuration, --enable-x86-64-mfentry): Fix + typo. + +2025-11-13 liuhongt <[email protected]> + + * config/i386/i386.md (*ior<mode>_ccz_1): New define_insn. + +2025-11-13 Alice Carlotti <[email protected]> + + * config/aarch64/driver-aarch64.cc + (host_detect_local_cpu): Extend feature string syntax. + +2025-11-13 Richard Biener <[email protected]> + + * tree-ssa-dce.cc (simple_dce_from_worklist): For calls + with side-effects remove their LHS. + +2025-11-13 Andre Vieira <[email protected]> + + * config/aarch64/aarch64-simd.md (*eor3q<mode>4): New insn to be used by + combine after reload to optimize any grouping of eor's that are using FP + registers for scalar modes. + +2025-11-13 Kuan-Lin Chen <[email protected]> + + * config/riscv/riscv-target-attr.cc (riscv_process_target_str): Clean + the final byte of str_to_check. + 2025-11-12 David Malcolm <[email protected]> PR diagnostics/115970 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9754f38b48dc..7dd59f5c1f9a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20251113 +20251114 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 7dcc502f21e3..bc8ca003df61 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,145 @@ +2025-11-13 Eric Botcazou <[email protected]> + + * exp_ch9.adb (Expand_N_Entry_Declaration): In the deferred case, + freeze immediately all the newly created entities. + +2025-11-13 Douglas B Rupp <[email protected]> + + * sigtramp-vxworks-target.h (REGNO_PC_OFFSET): Use 32 vice + 96 with llvm/clang. (REGNO_G_REG_OFFSET): Remove parens on + operand. (REGNO_GR): Likewise. + * sigtramp-vxworks.c (__gnat_sigtramp): Define a macro for + __attribute__ optimize, which is empty of not available. + * raise-gcc.c (db): Define ATTRIBUTE_PRINTF_2 if not defined. + +2025-11-13 Steve Baird <[email protected]> + + * exp_attr.adb: Rewrite the spec and implementation of package + Cached_Attribute_Ops so that the saved value associated with a + type in a given map is not a single subprogram but instead a + set of subprograms. Thus, the correct generation of a second subprogram + for given type for use in some other context no longer causes the + first subprogram to be forgotten. This allows more reuse and, + in particular, allows reuse in the case where generating another + copy of the subprogram would result in a compilation failure. + Update Cached_Attribute_Ops clients correspondingly. + +2025-11-13 Piotr Trojanek <[email protected]> + + * exp_util.adb (Find_In_Enclosing_Context): Give up on declarations of + internal types. + +2025-11-13 Piotr Trojanek <[email protected]> + + * treepr.adb (Print_End_Span): Print prefix, field name and line break. + +2025-11-13 Gary Dismukes <[email protected]> + + * libgnat/a-cbdlli.ads: Add "limited" to partial view of reference types. + * libgnat/a-cbhama.ads: Likewise. + * libgnat/a-cbhase.ads: Likewise. + * libgnat/a-cbmutr.ads: Likewise. + * libgnat/a-cborma.ads: Likewise. + * libgnat/a-cborse.ads: Likewise. + * libgnat/a-cdlili.ads: Likewise. + * libgnat/a-cidlli.ads: Likewise. + * libgnat/a-cihama.ads: Likewise. + * libgnat/a-cihase.ads: Likewise. + * libgnat/a-cimutr.ads: Likewise. + * libgnat/a-ciorma.ads: Likewise. + * libgnat/a-ciormu.ads: Likewise. + * libgnat/a-ciorse.ads: Likewise. + * libgnat/a-cobove.ads: Likewise. + * libgnat/a-cohama.ads: Likewise. + * libgnat/a-cohase.ads: Likewise. + * libgnat/a-coinho.ads: Likewise. + * libgnat/a-coinho__shared.ads: Likewise. + * libgnat/a-coinve.ads: Likewise. + * libgnat/a-comutr.ads: Likewise. + * libgnat/a-convec.ads: Likewise. + * libgnat/a-coorma.ads: Likewise. + * libgnat/a-coormu.ads: Likewise. + * libgnat/a-coorse.ads: Likewise. + * sem_ch5.adb (Analyze_Assignment): Added code to resolve the target + object (LHS) as a complete context when there are target names ("@") + present in the expression of the assignment. Loop over interpretations, + removing any that have a limited type, and set the type (T1) to be the + type of the first nonlimited interpretation. Test for ambiguity by + calling Is_Ambiguous_Operand. Delay analysis of Rhs in the target-name + case. Replace existing test for generalized indexing with implicit + dereference in existing analysis code with test of Is_Limited_Type + along with calling Remove_Interp in the limited case. + * sem_res.adb (Is_Ambiguous_Operand): Condition the calls to + Report_Interpretation on Report_Errors being True. + +2025-11-13 Eric Botcazou <[email protected]> + + PR ada/29463 + * sem_eval.adb (Fold_Uint): Use Universal_Integer as actual type + for a named number. + (Fold_Ureal): Likewise with Universal_Real. + * sem_res.adb (Resolve_Real_Literal): Test whether the literal is + a static expression instead of coming from source to give the error + prescribed by the RM 4.9(36/2) subclause. + +2025-11-13 Ronan Desplanques <[email protected]> + + * libgnarl/s-taspri__posix.ads (Suspension_Object): Add some + documentation. + +2025-11-13 Eric Botcazou <[email protected]> + + * einfo.ads (Alignment): Update description. + +2025-11-13 Eric Botcazou <[email protected]> + + * sem_prag.adb (Analyze_Pragma) <Process_Suppress_Unsuppress>: For + Alignment_Check on a specific object with an address clause and no + alignment clause, toggle the Check_Address_Alignment flag present + on the address clause. + +2025-11-13 Marc Poulhiès <[email protected]> + + * doc/gnat_rm/implementation_defined_pragmas.rst: Update + the list of junk names. + * doc/gnat_ugn/building_executable_programs_with_gnat.rst: + Likewise. + * gnat_rm.texi: Regenerate. + * gnat_ugn.texi: Regenerate. + +2025-11-13 Piotr Trojanek <[email protected]> + + * libgnat/g-crc32.ads (CRC32): Annotate as pure and always terminating. + * libgnat/s-crc32.ads (CRC32): Annotate as pure and always terminating. + +2025-11-13 Piotr Trojanek <[email protected]> + + * exp_util.adb (Get_Current_Value_Condition): Relax assertion about + rewritten ELSIF branch. + +2025-11-13 Eric Botcazou <[email protected]> + + * doc/gnat_rm/implementation_defined_attributes.rst + (Maximum_Alignment): Fix description. + * doc/gnat_rm/representation_clauses_and_pragmas.rst + (Alignment Clauses): Adjust accordingly. + * checks.adb (Apply_Address_Clause_Check): Remove incorrect test on + Maximum_Alignment. + * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Minor tweak + in comment. + * ttypes.ads (Maximum_Alignment): Fix description. + * gnat_rm.texi: Regenerate. + +2025-11-13 Eric Botcazou <[email protected]> + + * doc/gnat_rm/implementation_defined_pragmas.rst (Pragma Suppress): + Remove mention of range checks in the entry for alignment checks. + * gnat_rm.texi: Regenerate. + +2025-11-13 Eric Botcazou <[email protected]> + + * layout.adb (Set_Composite_Alignment): Fix typos and comments. + 2025-11-12 Eric Botcazou <[email protected]> PR ada/122640 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 7ed2d185a238..95d022dc4bd7 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,28 @@ +2025-11-13 James K. Lowden <[email protected]> + + * cdf.y: Install literals in symbol table. + * genapi.cc (parser_alphabet): Use std::string for currency. + (initialize_the_data): Rely on constructor. + (parser_file_add): Better #pragma message. + (parser_exception_file): Return early if not generating code. + * parse.y: Allow library programs to act as functions. + * parse_ante.h (dialect_proscribed): Standardize message. + (intrinsic_call_2): Correct s/fund/func/ misspelling. + * scan.l: Comment. + * symbols.cc (symbols_update): Add unreachable assertion. + (symbol_field_parent_set): Reduce error to debug message. + (cdf_literalize): Declare. + (symbol_table_init): Insert CDF constants as literals. + * symbols.h (cbl_dialect_str): Provide string values for enum. + (is_working_storage): Remove function. + (struct cbl_field_data_t): Add manhandle_initial for Numeric Edited. + (struct cbl_field_t): Initialize name to zeros. + (struct cbl_section_t): Delete unused attr() function. + (symbol_unique_index): Declare. + * token_names.h: Regenerate. + * util.cc (cdf_literalize): Construct a cbl_field_t from a CDF literal. + (symbol_unique_index): Supply "globally" unique number for a program. + 2025-11-10 Sandra Loosemore <[email protected]> PR other/122243 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bb8baf8e7e9c..c1dee5db6ed9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2025-11-13 Nathaniel Shead <[email protected]> + + PR c++/122551 + * cp-tree.h (transfer_defining_module): Declare. + * decl.cc (duplicate_decls): Call it for all decls. + Remove now unnecessary equivalent logic for templates. + * module.cc (mangle_module): Add assertion. + (transfer_defining_module): New function. + 2025-11-11 Jason Merrill <[email protected]> * name-lookup.cc (name_lookup::adl_namespace_fns): Also skip hidden diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e7afc9e580ca..e015a30eea68 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,17 @@ +2025-11-13 Andrew Stubbs <[email protected]> + Kwok Cheung Yeung <[email protected]> + Thomas Schwinge <[email protected]> + + * openmp.cc (is_predefined_allocator): Use GOMP_OMP_PREDEF_ALLOC_MAX + and GOMP_OMPX_PREDEF_ALLOC_MIN/MAX instead of hardcoded values in the + comment. + +2025-11-13 Rainer Orth <[email protected]> + + PR other/122638 + * gfortran.texi (OpenMP): Fix syntax. + * intrinsic.texi (UINT): Fix syntax. + 2025-11-13 Jerry DeLisle <[email protected]> PR fortran/96255 diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index c3c37f6c2e19..4adfd9ebfa29 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,9 @@ +2025-11-13 Michal Jires <[email protected]> + + PR lto/122603 + * lto-partition.cc (split_partition_into_nodes): Null check for + possible asm_node. + 2025-11-04 Siddhesh Poyarekar <[email protected]> PR lto/122515 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e0a4c9ba0567..89bf4c613e78 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,57 @@ +2025-11-13 Jerry DeLisle <[email protected]> + + PR fortran/96255 + * gfortran.dg/do_concurrent_typespec_1.f90: Delete three + dg-bogus directives not needed. + +2025-11-13 Nathaniel Shead <[email protected]> + + PR c++/122646 + * g++.dg/modules/friend-10_a.C: New test. + * g++.dg/modules/friend-10_b.C: New test. + +2025-11-13 Andrew Pinski <[email protected]> + + PR tree-optimization/122493 + * gcc.target/i386/pr121062-1.c: Update count. + * gcc.dg/uninit-pred-7_a.c: xfail line 23. + * g++.dg/uninit-pred-5.C: Change dg-warning to dg-bogus. + * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Update count of jump thread. + +2025-11-13 Andrew Pinski <[email protected]> + + PR tree-optimization/122637 + * gcc.dg/torture/pr122637-1.c: New test. + +2025-11-13 Michal Jires <[email protected]> + + PR lto/122603 + * gcc.dg/lto/pr122603_0.c: New test. + +2025-11-13 Artemiy Volkov <[email protected]> + + * gcc.dg/tree-ssa/forwprop-43.c: Adjust. + +2025-11-13 Jeff Law <[email protected]> + + PR rtl-optimization/122627 + * gcc.target/riscv/rvv/autovec/pr122627.c: New test. + +2025-11-13 liuhongt <[email protected]> + + * gcc.target/i386/kortest_ccz-1.c: New test. + +2025-11-13 Nathaniel Shead <[email protected]> + + PR c++/122551 + * g++.dg/modules/tpl-friend-20_a.C: New test. + * g++.dg/modules/tpl-friend-20_b.C: New test. + * g++.dg/modules/tpl-friend-20_c.C: New test. + +2025-11-13 Andre Vieira <[email protected]> + + * gcc.target/aarch64/eor3-opt.c: New test. + 2025-11-13 Jerry DeLisle <[email protected]> PR fortran/96255 diff --git a/include/ChangeLog b/include/ChangeLog index 03529c0253e6..e2f71605f1ec 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,14 @@ +2025-11-13 Andrew Stubbs <[email protected]> + Kwok Cheung Yeung <[email protected]> + Thomas Schwinge <[email protected]> + + * cuda/cuda.h (cuMemAllocManaged): Add declaration and related + CU_MEM_ATTACH_GLOBAL flag. + * gomp-constants.h (GOMP_OMPX_PREDEF_ALLOC_MAX): Update to 201. + (GOMP_OMP_PREDEF_MEMSPACE_MAX): New constant. + (GOMP_OMPX_PREDEF_MEMSPACE_MIN): New constant. + (GOMP_OMPX_PREDEF_MEMSPACE_MAX): New constant. + 2025-10-16 David Faust <[email protected]> * dwarf2.def (DW_TAG_GNU_annotation): Add link to wiki page diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 5be3caf90410..8996c2a98b1b 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,17 @@ +2025-11-13 Xi Ruoyao <[email protected]> + + * configure.ac (ARCH_LOONGARCH): New AM_CONDITIONAL. + * Makefile.am (IFUNC_OPT): Separate the item from IFUNC_OPTIONS + to allow using multiple options for an ISA variant. + (libatomic_la_LIBADD): Add *_16_1_.lo for LoongArch. + (IFUNC_OPTIONS): Build *_16_1_.lo for LoongArch with -mlsx and + -mscq. + * configure: Regenerate. + * Makefile.in: Regenerate. + * configure.tgt (try_ifunc): Set to yes for LoongArch if the + compiler can produce lock-free 16B atomic with -mlsx -mscq. + * config/loongarch/host-config.h: Implement ifunc selector. + 2025-11-03 Sam James <[email protected]> * configure: Regenerate. diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index b2f8336e2fa9..2096f4eecc13 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,60 @@ +2025-11-13 James K. Lowden <[email protected]> + + * Makefile.am: Move UDF-support to posix/shim, add install targets + * Makefile.in: Regenerate + * charmaps.cc (__gg__currency_signs): Use std::string. + * charmaps.h: Include string and vector headers. + (class charmap_t): Use std::string and vector for currency. + * config.h.in: Regenerate. + * configure: Regenerate. + * configure.ac: Check for libxml2. + * intrinsic.cc (numval_c): Constify. + * libgcobol.cc (struct program_state): Use std::string and vector. + (__gg__inspect_format_2): Add debug messages. + * libgcobol.h (__gg__get_default_currency_string): Constify. + * valconv.cc (expand_picture): Use std::string and vector. + (__gg__string_to_numeric_edited): Use std::string and vector. + (__gg__currency_sign_init): Use std::string and vector. + (__gg__currency_sign): Use std::string and vector. + * xmlparse.cc (xml_push_parse): Reformat. + * posix/stat.cc: Removed. + * posix/stat.h: Removed. + * .gitignore: New file. + * compat/README.md: New file. + * compat/lib/gnu/CBL_ALLOC_MEM.cbl: New file. + * compat/lib/gnu/CBL_CHECK_FILE_EXIST.cbl: New file. + * compat/lib/gnu/CBL_DELETE_FILE.cbl: New file. + * compat/lib/gnu/CBL_FREE_MEM.cbl: New file. + * compat/t/Makefile: New file. + * compat/t/smoke.cbl: New file. + * posix/README.md: New file. + * posix/bin/Makefile: New file for UDF-developer. + * posix/bin/headers: New file. + * posix/bin/scrape.awk: New file. + * posix/bin/sizeofs.c: New file. + * posix/bin/udf-gen: New file. + * posix/cpy/posix-errno.cbl: New file. + * posix/cpy/statbuf.cpy: New file. + * posix/cpy/tm.cpy: New file. + * posix/errno.cc: Removed. + * posix/localtime.cc: Removed. + * posix/shim/stat.cc: New file. + * posix/shim/stat.h: New file. + * posix/t/Makefile: New file. + * posix/t/errno.cbl: New file. + * posix/t/exit.cbl: New file. + * posix/t/localtime.cbl: New file. + * posix/t/stat.cbl: New file. + * posix/tm.h: Removed. + * posix/udf/posix-exit.cbl: New file. + * posix/udf/posix-localtime.cbl: New file. + * posix/udf/posix-mkdir.cbl: New file. + * posix/udf/posix-stat.cbl: New file. + * posix/udf/posix-unlink.cbl: New file. + * posix/shim/errno.cc: New file. + * posix/shim/localtime.cc: New file. + * posix/shim/tm.h: New file. + 2025-11-06 Robert Dubner <[email protected]> James K. Lowden <[email protected]> diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b3a6b50166a3..a1d58e008691 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,74 @@ +2025-11-13 Andrew Stubbs <[email protected]> + Kwok Cheung Yeung <[email protected]> + Thomas Schwinge <[email protected]> + + * allocator.c (ompx_gnu_max_predefined_alloc): Update to + ompx_gnu_managed_mem_alloc. + (_Static_assert): Fix assertion messages for allocators and add + new assertions for memspace constants. + (omp_max_predefined_mem_space): New define. + (ompx_gnu_min_predefined_mem_space): New define. + (ompx_gnu_max_predefined_mem_space): New define. + (MEMSPACE_ALLOC): Add check for non-standard memspaces. + (MEMSPACE_CALLOC): Likewise. + (MEMSPACE_REALLOC): Likewise. + (MEMSPACE_VALIDATE): Likewise. + (predefined_ompx_gnu_alloc_mapping): Add ompx_gnu_managed_mem_space. + (omp_init_allocator): Add ompx_gnu_managed_mem_space validation. + * config/gcn/allocator.c (gcn_memspace_alloc): Add check for + non-standard memspaces. + (gcn_memspace_calloc): Likewise. + (gcn_memspace_realloc): Likewise. + (gcn_memspace_validate): Update to validate standard vs non-standard + memspaces. + * config/linux/allocator.c (linux_memspace_alloc): Add managed + memory space handling. + (linux_memspace_calloc): Likewise. + (linux_memspace_free): Likewise. + (linux_memspace_realloc): Likewise (returns NULL for fallback). + * config/nvptx/allocator.c (nvptx_memspace_alloc): Add check for + non-standard memspaces. + (nvptx_memspace_calloc): Likewise. + (nvptx_memspace_realloc): Likewise. + (nvptx_memspace_validate): Update to validate standard vs non-standard + memspaces. + * env.c (parse_allocator): Add ompx_gnu_managed_mem_alloc, + ompx_gnu_managed_mem_space, and some static asserts so I don't forget + them again. + * libgomp-plugin.h (GOMP_OFFLOAD_managed_alloc): New declaration. + (GOMP_OFFLOAD_managed_free): New declaration. + * libgomp.h (gomp_managed_alloc): New declaration. + (gomp_managed_free): New declaration. + (struct gomp_device_descr): Add managed_alloc_func and + managed_free_func fields. + * libgomp.texi: Document ompx_gnu_managed_mem_alloc and + ompx_gnu_managed_mem_space, add C++ template documentation, and + describe NVPTX and AMD support. + * omp.h.in: Add ompx_gnu_managed_mem_space and + ompx_gnu_managed_mem_alloc enumerators, and gnu_managed_mem C++ + allocator template. + * omp_lib.f90.in: Add Fortran bindings for new allocator and + memory space. + * omp_lib.h.in: Likewise. + * plugin/cuda-lib.def: Add cuMemAllocManaged. + * plugin/plugin-nvptx.c (nvptx_alloc): Add managed parameter to + support cuMemAllocManaged. + (GOMP_OFFLOAD_alloc): Move contents to ... + (cleanup_and_alloc): ... this new function, and add managed support. + (GOMP_OFFLOAD_managed_alloc): New function. + (GOMP_OFFLOAD_managed_free): New function. + * target.c (gomp_managed_alloc): New function. + (gomp_managed_free): New function. + (gomp_load_plugin_for_device): Load optional managed_alloc + and managed_free plugin APIs. + * testsuite/lib/libgomp.exp: Add check_effective_target_omp_managedmem. + * testsuite/libgomp.c++/alloc-managed-1.C: New test. + * testsuite/libgomp.c/alloc-managed-1.c: New test. + * testsuite/libgomp.c/alloc-managed-2.c: New test. + * testsuite/libgomp.c/alloc-managed-3.c: New test. + * testsuite/libgomp.c/alloc-managed-4.c: New test. + * testsuite/libgomp.fortran/alloc-managed-1.f90: New test. + 2025-11-12 Tobias Burnus <[email protected]> PR libgomp/119677 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 57eda6fd210f..7ff48afb2ac3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,45 @@ +2025-11-13 Jonathan Wakely <[email protected]> + + PR libstdc++/122661 + * include/bits/forward_list.h (forward_list::assign(I, I)): Fix + value category in is_assignable check. + * testsuite/23_containers/forward_list/modifiers/122661.cc: + New test. + +2025-11-13 Xavier Bonaventura <[email protected]> + + * testsuite/18_support/headers/csignal/macros.cc: Check for + SIG_IGN. + +2025-11-13 Xavier Bonaventura <[email protected]> + + * testsuite/18_support/headers/climits/values.cc: Check for + LLONG_MIN, LLONG_MAX, and ULLONG_MAX. + +2025-11-13 Tomasz Kamiński <[email protected]> + + * include/std/optional (__is_optional_ref): Define. + * include/std/ranges (_Take::operator(), _Drop::operator()) + (_Reverse::operator()): Handle optional<T> that are view. + (_AsConst::operator()): Handle optional<T&>. + * testsuite/20_util/optional/range.cc: New tests. + +2025-11-13 Tomasz Kamiński <[email protected]> + + PR libstdc++/115402 + PR libstdc++/122584 + * testsuite/29_atomics/atomic_ref/address.cc: Guard test for + volatile with if constexpr. + * testsuite/29_atomics/atomic_ref/deduction.cc: Likewise. + * testsuite/29_atomics/atomic_ref/op_support.cc: Likewise. + * testsuite/29_atomics/atomic_ref/requirements.cc: Likewise. + * testsuite/29_atomics/atomic_ref/bool.cc: Use volatile_t alias. + * testsuite/29_atomics/atomic_ref/generic.cc: Likewise. + * testsuite/29_atomics/atomic_ref/integral.cc: Likewise. + * testsuite/29_atomics/atomic_ref/pointer.cc: Likewise. + * testsuite/29_atomics/atomic_ref/float.cc: Likewise, and remove + not discarding if constexpr. + 2025-11-12 Tomasz Kamiński <[email protected]> PR libstdc++/122425
