From: GCC Administrator Date: Wed, 24 Sep 2025 00:21:37 +0000 (+0000) Subject: Daily bump. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b52634c716c1c89cf3d6ba66287a999fdece867;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/ChangeLog b/ChangeLog index 181cbbf4deb..31d659802b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2025-09-23 Richard Earnshaw + + * .editorconfig: Fix glob patterns. + 2025-09-22 Jonathan Wakely * .editorconfig: New file. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 3bd1aae237f..7bd3d6af459 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2025-09-23 Jonathan Wakely + + * unicode/gen_libstdcxx_unicode_data.py: Fix comment type. + 2025-09-22 Jonathan Wakely * unicode/gen_libstdcxx_unicode_data.py: Update comment at the diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e7ad3d54a4..d66580f8c66 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,194 @@ +2025-09-23 David Malcolm + + PR diagnostics/121986 + * diagnostics/sarif-sink.cc: Include "intl.h". + (sarif_builder::make_message_describing_fix_it_hint): New. + (sarif_builder::make_fix_object): Attempt to auto-generate a + description for fix-it hints. + +2025-09-23 Richard Earnshaw + + PR target/121810 + * config/arm/mve.md (mve_mov): Move the Ui constraint + and pool_range attributes to the final alternative. Fix + the forward range value and correctly name the negative + range. + +2025-09-23 Pan Li + + PR middle-end/122031 + * tree-ssa-math-opts.cc (build_and_insert_cast): Fix the typo + of self assignment. + +2025-09-23 Alfie Richards + + * config/aarch64/aarch64.cc (aarch64_process_target_version_attr): + Remove warning. + * config/aarch64/aarch64.opt: Mark -Wno-experimental-fmv-target + deprecated. + * doc/invoke.texi: Ditto. + +2025-09-23 Alfie Richards + + * attribs.cc (is_function_default_version): Update to handle + target_clones. + * cgraph.h (FOR_EACH_FUNCTION_REMOVABLE): New macro. + * multiple_target.cc (expand_target_clones): Update logic to delete + empty target_clones and modify diagnostic. + (ipa_target_clone): Update to use FOR_EACH_FUNCTION_REMOVABLE. + +2025-09-23 Alfie Richards + + * attribs.h (common_function_versions): Removed. + * attribs.cc (common_function_versions): Removed. + * config/aarch64/aarch64.cc (aarch64_common_function_versions): Removed. + (aarch64_same_function_versions): New function to check if two version + strings imply the same version. + (TARGET_OPTION_FUNCTION_VERSIONS): Removed. + (TARGET_OPTION_SAME_FUNCTION_VERSIONS): New macro. + * config/i386/i386.cc (TARGET_OPTION_FUNCTION_VERSIONS): Removed. + * config/rs6000/rs6000.cc (TARGET_OPTION_FUNCTION_VERSIONS): Removed. + * config/riscv/riscv.cc (riscv_same_function_versions): New function + to check if two version strings imply the same version. + (riscv_common_function_versions): Removed. + (TARGET_OPTION_FUNCTION_VERSIONS): Removed. + (TARGET_OPTION_SAME_FUNCTION_VERSIONS): New macro. + * doc/tm.texi: Regenerated. + * target.def: Remove common_version hook and add same_function_version + hook. + * doc/tm.texi.in: Ditto. + * tree.cc (distinct_version_decls): New function. + (mergeable_version_decls): Ditto. + * tree.h (distinct_version_decls): New function. + (mergeable_version_decls): Ditto. + * hooks.h (hook_stringslice_stringslice_unreachable): New function. + * hooks.cc (hook_stringslice_stringslice_unreachable): New function. + +2025-09-23 Alfie Richards + + PR target/118313 + * cgraph.cc (delete_function_version): Made public static member of + cgraph_node. + * cgraph.h (delete_function_version): Ditto. + * cgraphunit.cc (analyze_functions): Add logic for target version + dependencies. + * ipa.cc (symbol_table::remove_unreachable_nodes): Ditto. + * multiple_target.cc (create_dispatcher_calls): Change to support + target version semantics. + (ipa_target_clone): Change to dispatch all function sets in + target_version semantics, and to have early and late pass. + (expand_target_clones): Add logic for cases of target_clones with no + defaults. + (is_simple_target_clones_case): New function. + (class pass_target_clone): New parameter for early or late pass. + * config/aarch64/aarch64.cc: (aarch64_get_function_versions_dispatcher): + Refactor with the assumption that the DECL node will be default. + * config/riscv/riscv.cc: (riscv_get_function_versions_dispatcher): + Refactor with the assumption that the DECL node will be default. + * passes.def: Split target_clones pass into early and late version. + +2025-09-23 Alfie Richards + + PR target/118339 + * target.def: Add check_target_clone_version hook. + * tree.cc (get_clone_attr_versions): Add filter argument. + (get_clone_versions): Add filter argument. + * tree.h (get_clone_attr_versions): Add filter. + (get_clone_versions): Add filter argument. + * config/aarch64/aarch64.cc (aarch64_check_target_clone_version): + New function + (TARGET_CHECK_TARGET_CLONE_VERSION): New define. + * config/riscv/riscv.cc (riscv_check_target_clone_version): + New function. + (TARGET_CHECK_TARGET_CLONE_VERSION): New define. + * doc/tm.texi: Regenerated. + * doc/tm.texi.in: Add documentation for new hook. + * hooks.h (hook_stringslice_locationtptr_true): New function. + * hooks.cc (hook_stringslice_locationtptr_true): New function. + +2025-09-23 Alfie Richards + + * config/riscv/riscv-protos.h (riscv_process_target_version_str): New function.. + * config/riscv/riscv-target-attr.cc (riscv_process_target_attr): Refactor to take + string_slice. + (riscv_process_target_version_str): New function. + * config/riscv/riscv.cc (parse_features_for_version): Refactor to take + string_slice. + (riscv_compare_version_priority): Ditto. + (dispatch_function_versions): Change to pass location. + +2025-09-23 Alfie Richards + + * attribs.cc (make_dispatcher_decl): Move duplicated cgraph logic into + this function and change to use targetm.mangle_decl_assembler_name for + mangling. + * cgraph.cc (cgraph_node::insert_new_function_version): Record + assembler_name. + * cgraph.h (struct cgraph_function_version_info): Add assembler_name. + (struct cgraph_node): Add dispatcher_resolver_function and + is_target_clone. + * config/aarch64/aarch64.cc (aarch64_parse_fmv_features): Change to + support string_slice. + (aarch64_process_target_version_attr): Ditto. + (get_feature_mask_for_version): Ditto. + (aarch64_mangle_decl_assembler_name): Add logic for mangling dispatched + symbol and resolver. + (get_suffixed_assembler_name): Removed. + (make_resolver_func): Refactor to use + aarch64_mangle_decl_assembler_name for mangling. + (aarch64_generate_version_dispatcher_body): Remove remangling. + (aarch64_get_function_versions_dispatcher): Refactor to remove + duplicated cgraph logic. + * config/i386/i386-features.cc + (ix86_mangle_function_version_assembler_name): Refactor to use + clone_identifier and to mangle default. + (ix86_mangle_decl_assembler_name): Add logic for mangling dispatched + symbol and resolver. + (ix86_get_function_versions_dispatcher): Remove duplicated cgraph + logic. + (make_resolver_func): Refactor to use ix86_mangle_decl_assembler_name + for mangling. + * config/riscv/riscv.cc (riscv_mangle_decl_assembler_name): Add logic + for FMV mangling. + (get_suffixed_assembler_name): Removed. + (make_resolver_func): Refactor to use riscv_mangle_decl_assembler_name + for mangling. + (riscv_generate_version_dispatcher_body): Remove unnecessary remangling. + (riscv_get_function_versions_dispatcher): Remove duplicated cgraph + logic. + * config/rs6000/rs6000.cc (rs6000_mangle_decl_assembler_name): New + function. + (rs6000_get_function_versions_dispatcher): Remove duplicated cgraph + logic. + (make_resolver_func): Refactor to use rs6000_mangle_decl_assembler_name + for mangling. + (rs6000_mangle_function_version_assembler_name): New function. + * multiple_target.cc (create_dispatcher_calls): Remove mangling code. + (get_attr_str): Removed. + (separate_attrs): Ditto. + (is_valid_asm_symbol): Removed. + (create_new_asm_name): Ditto. + (expand_target_clones): Refactor to use + targetm.mangle_decl_assembler_name for mangling and be more general. + * tree.cc (get_target_clone_attr_len): Removed. + * tree.h (get_target_clone_attr_len): Removed. + +2025-09-23 Alfie Richards + + * cgraph.h (clone_identifier): New function. + * cgraphclones.cc (clone_identifier): New function. + (clone_function_name): Refactored to use clone_identifier. + (is_valid_asm_symbol): New helper function. + +2025-09-23 liuhongt + + PR target/121994 + * config/i386/x86-tune-costs.h (znver2_cost): Set + vect_unroll_limit to 1. + (znver1_cost): Ditto. + * config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): + Adjust count number for {AVX256,AVX512}_SPLIT_REGS. + 2025-09-22 Peter Bergner PR target/121982 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 5a0a19a5cf6..77201b2cf9d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250923 +20250924 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index aba119eec62..6320e3c09c3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,101 @@ +2025-09-23 Bob Duff + + * exp_ch6.adb (Prepend_Constructor_Procedure_Prologue): + Push/Pop the procedure scope, so that temps created herein + get the right Scope. + +2025-09-23 Jose Ruiz + + * libgnarl/s-stusta.adb (Report_Impl): Export a copy of + the current stack usage while holding the runtime lock. + (Report_For_Task): Do not compute stack usage for a task + that has not yet initialized its stack with the expected + pattern. + (Report_For_Task): The Stack_Analyzer object for the + environment task is not part of its ATCB. For the rest of + the tasks wait until we have initialized the stack pattern + before computing stack usage. + (Report_All_Tasks, Get_All_Tasks_Usage, + Get_Current_Task_Usage): Adapt to the new interface from + Report_Impl. Take into account that Result_Array can be + null. When we don't store stack results for a task we + need to compute it when requested. + (Print): Handle the case when we don't know the stack + usage to be reported. + * libgnat/s-stausa.adb (Initialize): For the environment + task, approximate the stack origin with the topmost + stack address that is known. + * libgnat/s-stausa.ads: Clarify comments. + +2025-09-23 Denis Mazzucato + + * sem_util.adb (Ultimate_Prefix): Clean-up the loop condition by using + Has_prefix instead of an explicit list of node kinds. + +2025-09-23 Denis Mazzucato + + * sem_ch10.adb (Install_Siblings): Fix condition to emit warning. + +2025-09-23 Viljar Indus + + * sem_case.adb (Is_Case_Choice_Pattern): Return False for allocators. + +2025-09-23 Douglas B Rupp + + * libgnat/system-vxworks7-aarch64-rtp-smp.ads (Linker_Options): + Remove pragma for RTP specs. + * libgnat/system-vxworks7-ppc-rtp-smp.ads: Likewise. + * libgnat/system-vxworks7-ppc64-rtp-smp.ads: Likewise. + * libgnat/system-vxworks7-x86-rtp-smp.ads: Likewise. + * libgnat/system-vxworks7-x86_64-rtp-smp.ads: Likewise. + +2025-09-23 Gary Dismukes + + * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Add doc + for addition of -gnateG options b, c, and e. + * doc/gnat_ugn/the_gnat_compilation_model.rst: Add doc for "-e" optionn + on gnatprep and integrated preprocessing. Add doc for addition of + -gnateG options b, c, and e. + * gprep.adb (Scan_Command_Line): Add 'e' to the list of allowed switch + letters in the string passed to GNAT.Command_Line.Getopt. Set the flag + Opt.Empty_Comment_Deleted_Lines to True when the "-e" switch is found. + (Usage): Output a switch description for the "-e" switch. + * opt.ads: Add new flag variable Empty_Comment_Deleted_Lines. Add + "GNAT" to the "GNATPREP" comment line for Comment_Deleted_Lines. + * prep.adb (Output_Line): Add handling for Empty_Comment_Deleted_Lines, + outputting comment lines consisting of "--!" for lines that are removed + in the preprocessed source file when Empty_Comment_Deleted_Lines is True. + * prepcomp.adb (Preproc_Data): Add Empty_Comments component (defaulting + to False). + (No_Preproc_Data): Add association for Empty_Comments component. + (Parse_Preprocessing_Data_File): Add handling for new switch -e. + (Prepare_To_Preprocess): Add logic for setting the new option + Empty_Comment_Deleted_Lines (and making it the default for + integrated preprocessing in the absence of other switches). + * switch-c.adb (Scan_Front_End_Switches): Add support adding a single + character 'b', 'c', 'e' to the "-gnateG" switch, to select any of the + three options for replacing deleted lines in preprocessing output file. + * usage.adb: Update usage info for -gnateG, to reflect the option of + appending b, c, or e to the switch. + * gnat_ugn.texi: Regenerate. + +2025-09-23 Piotr Trojanek + + * sprint.adb (Sprint_Node_Actual): Print finally statements, if + present. + +2025-09-23 Javier Miranda + + * sem_util.adb (Is_Partially_Initialized_Type): Return False + for record types with no components. + +2025-09-23 Steve Baird + + * doc/gnat_rm/implementation_defined_aspects.rst: Document the + Extended_Access aspect. + * gnat_rm.texi: Regenerate. + * gnat_ugn.texi: Regenerate. + 2025-09-22 Eric Botcazou PR ada/121968 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 9725521151c..803b07dce1c 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,20 @@ +2025-09-23 Alfie Richards + + * c-attribs.cc: Add support for target_version and target_clone mixing. + +2025-09-23 Alfie Richards + + * c-pretty-print.cc (pp_c_function_target_version): New function. + (pp_c_function_target_clones): New function. + (pp_c_maybe_whitespace): Move to c-pretty-print.h. + * c-pretty-print.h (pp_c_function_target_version): New function. + (pp_c_function_target_clones): New function. + (pp_c_maybe_whitespace): Moved here from c-pretty-print.cc. + +2025-09-23 Alfie Richards + + * c-attribs.cc (handle_target_clones_attribute): Update to use new hook. + 2025-09-08 Eric Botcazou PR ada/121544 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index e9779ab7cbe..b3dc4cb0ddb 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2025-09-23 Alfie Richards + + * c-objc-common.cc (c_tree_printer): Add printing of target_clone and + target_version in decl diagnostics. + 2025-09-20 Joseph Myers * c-typeck.cc (really_atomic_lvalue): Return false for incomplete diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a5770b83259..6edd3fad79f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,44 @@ +2025-09-23 Alfie Richards + + * class.cc (resolve_address_of_overloaded_function): Updated to use + dijoint_versions_decls instead of common_function_version hook. + * decl.cc (decls_match): Refacture to use disjoint_version_decls and + to pass through conflicting_version argument. + (maybe_version_functions): Updated to use + disjoint_version_decls instead of common_function_version hook. + (duplicate_decls): Add logic to handle conflicting unmergable decls + and improve diagnostics for conflicting versions. + * decl2.cc (check_classfn): Updated to use + disjoint_version_decls instead of common_function_version hook. + +2025-09-23 Alfie Richards + + * cxx-pretty-print.h (pp_cxx_function_target_version): New macro. + (pp_cxx_function_target_clones): Ditto. + (pp_cxx_maybe_whitespace): Ditto. + * error.cc (dump_function_decl): Add printing of target_clone and + target_version in decl diagnostics. + +2025-09-23 Alfie Richards + + PR target/118313 + * call.cc (add_candidates): Change to not resolve non-default versions + in target_version semantics. + * class.cc (resolve_address_of_overloaded_function): Ditto. + * cp-gimplify.cc (cp_genericize_r): Change logic to not apply for + target_version semantics. + * decl.cc (maybe_mark_function_versioned): Remove static. + * cp-tree.h (maybe_mark_function_versioned): New function. + * decl2.cc (cplus_decl_attributes ): Change to mark and therefore + mangle all target_version decls in target_version semantics. + * typeck.cc (cp_build_function_call_vec): Add error for calling + unresolvable non-default node in target_version semantics. + +2025-09-23 Alfie Richards + + * decl.cc (maybe_mark_function_versioned): Change to insert function version + and therefore record assembler name. + 2025-09-22 Nathaniel Shead PR c++/122015 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9bc8ea9f578..b959c9552d9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,130 @@ +2025-09-23 David Malcolm + + PR diagnostics/121986 + * gcc.dg/sarif-output/extra-semicolon.c: New test. + * gcc.dg/sarif-output/extra-semicolon.py: New test. + * gcc.dg/sarif-output/missing-semicolon.py: Verify the description + of the insertion fix-it hint. + * libgdiagnostics.dg/test-fix-it-hint-c.py: Verify the description + of the replacement fix-it hint. + +2025-09-23 Richard Earnshaw + + * gcc.target/arm/acle/simd32.c (test_sadd16): Scan for sadd16. + * gcc.target/arm/armv8_2-fp16-neon-1.c (vcgtz, 128-bit): Scan for vcgt. + * gcc.target/arm/armv8_2-fp16-neon-2.c (vcgtz, 128-bit): Scan for vcgt. + (vmul, vmul N): Use check function bodies to avoid ambiguity. + * gcc.target/arm/armv8_2-fp16-scalar-1.c (vrndm): Scan for vrintm. + (vrndn): Scan for vrintn. + (vrndp): Scan for vrintp. + (vrndx): Scan for vrintx. + * gcc.target/arm/asm-flag-1.c: Scan for movlt. + * gcc.target/arm/csneg.c: Convert to check-function-bodies. + * gcc.target/arm/mve/dlstp-compile-asm-2.c (test10): Fix comment that caused test9 scan + to be run twice. + * gcc.target/arm/mve/intrinsics/vgetq_lane_f16.c: Convert to check-function-bodies. + * gcc.target/arm/mve/intrinsics/vgetq_lane_f32.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_s16.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_s32.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_s8.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_u16.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_u32.c: Likewise. + * gcc.target/arm/mve/intrinsics/vgetq_lane_u8.c: Likewise. + +2025-09-23 Alfie Richards + + * g++.target/aarch64/mv-1.C: Remove option. + * g++.target/aarch64/mv-and-mvc-error1.C: Ditto. + * g++.target/aarch64/mv-and-mvc-error2.C: Ditto. + * g++.target/aarch64/mv-and-mvc-error3.C: Ditto. + * g++.target/aarch64/mv-and-mvc1.C: Ditto. + * g++.target/aarch64/mv-and-mvc2.C: Ditto. + * g++.target/aarch64/mv-and-mvc3.C: Ditto. + * g++.target/aarch64/mv-and-mvc4.C: Ditto. + * g++.target/aarch64/mv-error1.C: Ditto. + * g++.target/aarch64/mv-error2.C: Ditto. + * g++.target/aarch64/mv-error3.C: Ditto. + * g++.target/aarch64/mv-error4.C: Ditto. + * g++.target/aarch64/mv-error5.C: Ditto. + * g++.target/aarch64/mv-error6.C: Ditto. + * g++.target/aarch64/mv-error7.C: Ditto. + * g++.target/aarch64/mv-error8.C: Ditto. + * g++.target/aarch64/mv-pragma.C: Ditto. + * g++.target/aarch64/mv-symbols1.C: Ditto. + * g++.target/aarch64/mv-symbols10.C: Ditto. + * g++.target/aarch64/mv-symbols11.C: Ditto. + * g++.target/aarch64/mv-symbols12.C: Ditto. + * g++.target/aarch64/mv-symbols13.C: Ditto. + * g++.target/aarch64/mv-symbols2.C: Ditto. + * g++.target/aarch64/mv-symbols3.C: Ditto. + * g++.target/aarch64/mv-symbols4.C: Ditto. + * g++.target/aarch64/mv-symbols5.C: Ditto. + * g++.target/aarch64/mv-symbols6.C: Ditto. + * g++.target/aarch64/mv-symbols7.C: Ditto. + * g++.target/aarch64/mv-symbols8.C: Ditto. + * g++.target/aarch64/mv-symbols9.C: Ditto. + * g++.target/aarch64/mvc-error1.C: Ditto. + * g++.target/aarch64/mvc-error2.C: Ditto. + * g++.target/aarch64/mvc-symbols1.C: Ditto. + * g++.target/aarch64/mvc-symbols2.C: Ditto. + * g++.target/aarch64/mvc-symbols3.C: Ditto. + * g++.target/aarch64/mvc-symbols4.C: Ditto. + * g++.target/aarch64/mv-warning1.C: Removed. + * g++.target/aarch64/mvc-warning1.C: Removed. + +2025-09-23 Alfie Richards + + * g++.target/aarch64/mv-and-mvc-error1.C: New test. + * g++.target/aarch64/mv-and-mvc-error2.C: New test. + * g++.target/aarch64/mv-and-mvc-error3.C: New test. + * g++.target/aarch64/mv-error1.C: New test. + * g++.target/aarch64/mv-error2.C: New test. + * g++.target/aarch64/mv-error3.C: New test. + * g++.target/aarch64/mv-error4.C: New test. + * g++.target/aarch64/mv-error5.C: New test. + * g++.target/aarch64/mv-error6.C: New test. + * g++.target/aarch64/mv-error7.C: New test. + * g++.target/aarch64/mv-error8.C: New test. + * g++.target/aarch64/mvc-error1.C: New test. + * g++.target/aarch64/mvc-error2.C: New test. + * g++.target/aarch64/mvc-warning1.C: Modified test. + +2025-09-23 Alfie Richards + + * g++.target/aarch64/mv-and-mvc1.C: New test. + * g++.target/aarch64/mv-and-mvc2.C: New test. + * g++.target/aarch64/mv-and-mvc3.C: New test. + * g++.target/aarch64/mv-and-mvc4.C: New test. + +2025-09-23 Alfie Richards + + * g++.target/aarch64/mv-1.C: Change for target_version semantics. + * g++.target/aarch64/mv-symbols2.C: Ditto. + * g++.target/aarch64/mv-symbols3.C: Ditto. + * g++.target/aarch64/mv-symbols4.C: Ditto. + * g++.target/aarch64/mv-symbols5.C: Ditto. + * g++.target/aarch64/mvc-symbols3.C: Ditto. + * g++.target/riscv/mv-symbols2.C: Ditto. + * g++.target/riscv/mv-symbols3.C: Ditto. + * g++.target/riscv/mv-symbols4.C: Ditto. + * g++.target/riscv/mv-symbols5.C: Ditto. + * g++.target/riscv/mvc-symbols3.C: Ditto. + * g++.target/aarch64/mv-symbols10.C: New test. + * g++.target/aarch64/mv-symbols11.C: New test. + * g++.target/aarch64/mv-symbols12.C: New test. + * g++.target/aarch64/mv-symbols13.C: New test. + * g++.target/aarch64/mv-symbols6.C: New test. + * g++.target/aarch64/mv-symbols7.C: New test. + * g++.target/aarch64/mv-symbols8.C: New test. + * g++.target/aarch64/mv-symbols9.C: New test. + +2025-09-23 Alfie Richards + + * g++.target/i386/mv-symbols1.C: Update x86 FMV mangling. + * g++.target/i386/mv-symbols3.C: Ditto. + * g++.target/i386/mv-symbols4.C: Ditto. + * g++.target/i386/mv-symbols5.C: Ditto. + 2025-09-22 Peter Bergner PR target/121982 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 739cbd58647..4a05748a368 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,9 @@ +2025-09-23 David Malcolm + + PR diagnostics/121986 + * include/rich-location.h (fixit_hint::deletion_p): New accessor. + (fixit_hint::replacement_p): New accessor. + 2025-09-18 David Malcolm * include/line-map.h (enum location_aspect): Convert to... diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 5209955ed7d..bedfc511f5a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,112 @@ +2025-09-23 Jonathan Wakely + + * include/bits/random.h: Include instead of + . Change preprocessor checks to use internal feature + test macro. + (philox_engine): Reword doxygen comments. Use typename instead + of class in template parameter lists. Reformat and adjust + whitespace. + (philox_engine::_If_seed_seq): Replace alias template with + __is_seed_seq variable template. + (philox_engine::philox_engine(result_type)): Define inline. + (philox_engine::seed(result_type), philox_engine::set_counter) + (philox_engine::operator(), philox_engine::discard): Likewise. + (operator==): Define as defaulted. + (operator<<): Reuse widened char. + * include/bits/random.tcc: Reformat and adjust whitespace. + (philox_engine::_M_philox): Use std::array copy constructor and + std::array::fill instead of looping. + * testsuite/26_numerics/random/philox4x32.cc: Gate test on + feature test macro. Add static_assert to check typedef. + * testsuite/26_numerics/random/philox4x64.cc: Likewise. + * testsuite/26_numerics/random/philox_engine/cons/copy.cc: Add + VERIFY assertions to check copies are equal. Test different + seeds. + * testsuite/26_numerics/random/philox_engine/cons/default.cc: + Add VERIFY assertions to check construction results. + * testsuite/26_numerics/random/philox_engine/cons/seed.cc: + Likewise. + * testsuite/26_numerics/random/philox_engine/operators/equal.cc: + Also test inequality. + * testsuite/26_numerics/random/philox_engine/operators/serialize.cc: + Remove redundant include and return. + * testsuite/26_numerics/random/philox_engine/requirements/constants.cc: + Check values of all constants. + * testsuite/26_numerics/random/philox_engine/requirements/typedefs.cc: + Check typedefs are correct. + * testsuite/26_numerics/random/philox_engine/cons/119794.cc: + Removed. + * testsuite/26_numerics/random/philox_engine/cons/seed_seq.cc: + Removed. + * testsuite/26_numerics/random/philox_engine/operators/inequal.cc: + Removed. + * testsuite/26_numerics/random/philox_engine/requirements/constexpr_data.cc: + Removed. + * testsuite/26_numerics/random/philox_engine/requirements/constexpr_functions.cc: + Removed. + * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error + line number. + +2025-09-23 1nfocalypse <1nfocalypse@protonmail.com> + + PR libstdc++/119794 + * include/bits/random.h (philox_engine): Define. + * include/bits/random.tcc (philox_engine): Define member + functions. + * include/bits/version.def (philox_engine): New macro. + * include/bits/version.h: Regenerated. + * include/std/random: Define __glibcxx_want_philox_engine and + include . + * testsuite/26_numerics/random/pr60037-neg.cc: Adjust dg-error + line number. + * testsuite/26_numerics/random/philox4x32.cc: New test. + * testsuite/26_numerics/random/philox4x64.cc: New test. + * testsuite/26_numerics/random/philox_engine/cons/119794.cc: New test. + * testsuite/26_numerics/random/philox_engine/cons/copy.cc: New test. + * testsuite/26_numerics/random/philox_engine/cons/default.cc: New test. + * testsuite/26_numerics/random/philox_engine/cons/seed.cc: New test. + * testsuite/26_numerics/random/philox_engine/cons/seed_seq.cc: New test. + * testsuite/26_numerics/random/philox_engine/operators/equal.cc: New test. + * testsuite/26_numerics/random/philox_engine/operators/inequal.cc: New test. + * testsuite/26_numerics/random/philox_engine/operators/serialize.cc: New test. + * testsuite/26_numerics/random/philox_engine/requirements/constants.cc: New test. + * testsuite/26_numerics/random/philox_engine/requirements/constexpr_data.cc: New test. + * testsuite/26_numerics/random/philox_engine/requirements/constexpr_functions.cc: New test. + * testsuite/26_numerics/random/philox_engine/requirements/typedefs.cc: New test. + +2025-09-23 Ben Wu + + PR libstdc++/118087 + * include/bits/deque.tcc: Use _Temporary_value in + _M_emplace_aux. + * include/bits/stl_deque.h: Introduce _Temporary_value. + * testsuite/23_containers/deque/modifiers/emplace/118087.cc: + New test. + +2025-09-23 Tomasz Kamiński + + PR libstdc++/121940 + * include/bits/funcwrap.h (__polyfunc::__deduce_funcref): Return void + for ill-formed constructs. + (function_ref(nontype_t<__f>, _Tp&&)): Constrain on __deduce_funcref + producing non-void results. + * testsuite/20_util/function_ref/deduction.cc: Negative tests. + +2025-09-23 Jonathan Wakely + + PR libstdc++/79147 + * include/Makefile.am (c++config.h): Adjust sed command to + comment out all PACKAGE_XXX macros and to avoid adjusting + PACKAGE_VERSION twice. + * include/Makefile.in: Regenerate. + +2025-09-23 Tomasz Kamiński + + * include/bits/chrono_io.h (formatter): + (formatter, _CharT>) + (formatter, _CharT): Remove + __formatter_chrono base class. + 2025-09-22 Tomasz Kamiński * include/bits/chrono_io.h(__formatter_chrono::_M_parse): Update