https://gcc.gnu.org/g:12ceee15bacc2a59e546730a317ce38397066b3b
commit r13-9616-g12ceee15bacc2a59e546730a317ce38397066b3b Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Fri Apr 25 00:22:33 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 350 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 19 +++ gcc/c/ChangeLog | 29 ++++ gcc/cp/ChangeLog | 124 +++++++++++++++++ gcc/d/ChangeLog | 10 ++ gcc/fortran/ChangeLog | 8 ++ gcc/m2/ChangeLog | 8 ++ gcc/testsuite/ChangeLog | 275 +++++++++++++++++++++++++++++++++++++ libatomic/ChangeLog | 26 ++++ libgcc/ChangeLog | 14 ++ libquadmath/ChangeLog | 7 + libstdc++-v3/ChangeLog | 40 ++++++ 13 files changed, 911 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4afb3ea86544..887732197a85 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,353 @@ +2025-04-24 Richard Sandiford <richard.sandif...@arm.com> + + Backported from master: + 2025-04-10 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/119399 + * tree-data-ref.cc (create_waw_or_war_checks): Use a MINUS_EXPR + on two converted pointers, rather than converting a POINTER_DIFF_EXPR + on the pointers. + +2025-04-24 Richard Sandiford <richard.sandif...@arm.com> + + Backported from master: + 2025-03-07 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/116125 + * tree-vect-data-refs.cc (vect_prune_runtime_alias_test_list): Make + the dr_with_seg_len alignment fields describe tha access sizes as + well as the pointer alignment. + * tree-data-ref.cc (create_intersect_range_checks): Don't compensate + for invalid alignment fields here. + +2025-04-24 Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> + + Backported from master: + 2025-03-21 Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> + + PR target/119235 + * config/s390/s390.cc (s390_hard_regno_mode_ok): Accept only + Pmode for registers AP/FP/RA. + +2025-04-23 Martin Jambor <mjam...@suse.cz> + + Backported from master: + 2025-03-11 Martin Jambor <mjam...@suse.cz> + + * tree-ssa-alias.cc (ao_compare::compare_ao_refs): Fix a + copy-and-paste error. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-14 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119785 + * expmed.cc (init_expmed): Always pass QImode rather than mode to + set_src_cost passed to set_zero_cost. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-14 Jakub Jelinek <ja...@redhat.com> + + PR driver/119727 + * configure.ac (HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE): New check. + * gcc.cc: Include sys/personality.h if + HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + (try_generate_repro): Call + personality (personality (0xffffffffU) | ADDR_NO_RANDOMIZE) + if HOST_HAS_PERSONALITY_ADDR_NO_RANDOMIZE is defined. + * config.in: Regenerate. + * configure: Regenerate. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-12 Jakub Jelinek <ja...@redhat.com> + + PR driver/119727 + * gcc.cc (files_equal_p): Rewritten using fopen/fgets/fclose instead + of open/fstat/read/close. At the start of lines, ignore lowercase + hexadecimal addresses followed by space. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-04 Jakub Jelinek <ja...@redhat.com> + + PR lto/119625 + * lto-opts.cc (lto_write_options): If neither flag_pic nor + flag_pie are set, check first for flag_pie and only later + for flag_pic rather than the other way around, use a temporary + variable. If flag_cf_protection is not set, don't append anything + if flag_cf_protection is none of CF_{NONE,FULL,BRANCH,RETURN} and + use a temporary variable. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * combine.cc (try_combine): For splitting of PARALLEL with + 2 independent SETs into i2 and i3 sets check reg_used_between_p + of the SET_DESTs rather than just modified_between_p. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-22 Jakub Jelinek <ja...@redhat.com> + + * gimplify.cc (warn_switch_unreachable_and_auto_init_r): Add missing + space in the middle of diagnostics. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-12 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/119204 + PR middle-end/119219 + * builtins.cc (fold_builtin_2): Pass type as another argument + to fold_builtin_strspn and fold_builtin_strcspn. + (fold_builtin_strspn): Add type argument, use it instead of + size_type_node. + (fold_builtin_strcspn): Add type argument, use it instead of + TREE_TYPE (expr). + +2025-04-23 Richard Biener <rguent...@suse.de> + + Backported from master: + 2025-03-11 Richard Biener <rguent...@suse.de> + + PR middle-end/119204 + * builtins.cc (fold_builtin_strcspn): Preserve the original + expression type. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-11 Jakub Jelinek <ja...@redhat.com> + + PR c/119183 + * tree.cc (skip_simple_arithmetic): If first operand of binary + expr is TREE_CONSTANT or TREE_READONLY with no side-effects, call + tree_invariant_p on that operand first instead of on the second. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-26 Jakub Jelinek <ja...@redhat.com> + + PR c/114870 + * ginclude/stddef.h (__STDC_VERSION_STDDEF_H__, unreachable): Don't + redefine multiple times if stddef.h is first included without __need_* + defines and later with them. Move nullptr_t and unreachable and + __STDC_VERSION_STDDEF_H__ definitions into the same + defined (__STDC_VERSION__) && __STDC_VERSION__ > 201710L #if block. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-24 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118915 + * tree-ssa-reassoc.cc (optimize_range_tests_to_bit_test): For + highj == NULL_TREE use TYPE_MAX_VALUE (TREE_TYPE (lowj)) rather + than TYPE_MAX_VALUE (type). + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-08 Jakub Jelinek <ja...@redhat.com> + + PR target/118776 + * config/i386/sse.md (<code><mode>3_mask): Use VI1248_AVX512VLBW + iterator rather than VI48_AVX512VL. + (<mask_codefor><code><mode>3<mask_name>): Rename to ... + (*avx512bw_<code><mode>3<mask_name>): ... this. Use + nonimmediate_operand rather than register_operand predicate and %v + rather than v constraint for operand 1 and adjust condition to reject + MEMs in both operand 1 and 2. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-31 Jakub Jelinek <ja...@redhat.com> + + PR ipa/117432 + * ipa-icf-gimple.cc (func_checker::compare_asm_inputs_outputs): + Also return_false if operands have incompatible types. + (func_checker::compare_gimple_call): Check fntype1 vs. fntype2 + compatibility for all non-internal calls and assume fntype1 and + fntype2 are non-NULL for those. For calls to non-prototyped + calls or for stdarg_p functions after the last named argument (if any) + check type compatibility of call arguments. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-31 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118689 + PR modula2/115032 + * tree-ssa-loop-niter.cc (build_cltz_expr): Return NULL_TREE if fn is + NULL and use_ifn is false. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-23 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/114877 + * builtins.cc (fold_builtin_frexp): Handle rvc_nan and rvc_inf cases + like rvc_zero, return passed in arg and set *exp = 0. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-14 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/118024 + * gimple-ssa-warn-access.cc (matching_alloc_calls_p): Walk malloc + attributes of alloc_decl and dealloc_decl in separate loops rather + than in lock-step. Use common_deallocs.contains rather than + common_deallocs.add in the second loop. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-13 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/117095 + * cse.cc (cse_extended_basic_block): Don't call record_jump_equiv + if multiple_sets (insn). + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-09 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/117960 + * doc/invoke.texi (fsanitize=hwaddress): Clarify on which targets + it is supported. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-28 Jakub Jelinek <ja...@redhat.com> + + PR target/117642 + * doc/extend.texi: Remove documentation of warning for unimplemented + __sync_* operations, such warning has never been implemented. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-26 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/102674 + * builtins.cc (fold_builtin_fpclassify): Use real_from_string3 rather + than real_from_string. Use "1E%d" format string rather than "0x1p%d" + for decimal float minimum. Formatting fixes. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-26 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/43374 + * real.cc (get_max_float): Handle decimal float. + * builtins.cc (fold_builtin_interclass_mathfn): Use + real_from_string3 rather than real_from_string. Use + "1E%d" format string rather than "0x1p%d" for decimal + float minimum. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-21 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/94589 + PR tree-optimization/117612 + * tree-ssa-phiopt.cc (spaceship_replacement): Fix up + a pasto in check when arg1 is 2. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-06 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/117439 + * gimple-ssa-store-merging.cc (encode_tree_to_bitpos): For + empty_ctor_p use !sub_byte_op_p even if bitlen doesn't have an + integral mode. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-30 Jakub Jelinek <ja...@redhat.com> + + PR target/117296 + * function.cc (assign_parms): Call do_pending_stack_adjust. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-25 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/117249 + * tree-ssa-structalias.cc (insert_vi_for_tree): Move put calls out of + gcc_assert. + * lto-cgraph.cc (lto_symtab_encoder_delete_node): Likewise. + * gimple-ssa-strength-reduction.cc (get_alternative_base, + add_cand_for_stmt): Likewise. + * tree-eh.cc (add_stmt_to_eh_lp_fn): Likewise. + * except.cc (duplicate_eh_regions_1): Likewise. + * tree-ssa-reassoc.cc (insert_operand_rank): Likewise. + * config/nvptx/nvptx.cc (nvptx_expand_call): Use == rather than = in + gcc_assert. + * opts-common.cc (jobserver_info::disconnect): Call close outside of + gcc_assert and only check result in it. + (jobserver_info::return_token): Call write outside of gcc_assert and + only check result in it. + * genautomata.cc (output_default_latencies): Move j++ side-effect + outside of gcc_assert. + * tree-ssa-loop-ivopts.cc (get_alias_ptr_type_for_ptr_address): Use + == rather than = in gcc_assert. + * cgraph.cc (symbol_table::create_edge): Move ++edges_max_uid + side-effect outside of gcc_assert. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-24 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/117209 + * asan.cc (maybe_cast_to_ptrmode): Formatting fix. + (build_check_stmt): Don't copy *iter into gsi, perform all + the updates on iter directly. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-20 Uros Bizjak <ubiz...@gmail.com> + Jakub Jelinek <ja...@redhat.com> + + PR target/116738 + * config/i386/subst.md (mask_scalar_operand_arg34, + mask_scalar_expand_op3, round_saeonly_scalar_mask_arg3): New + subst attributes. + * config/i386/sse.md + (<sse>_vm<code><mode>3<mask_scalar_name><round_saeonly_scalar_name>): + Change from define_insn to define_expand, rename the old define_insn + to ... + (*<sse>_vm<code><mode>3<mask_scalar_name><round_saeonly_scalar_name>): + ... this. + (<sse>_ieee_vm<ieee_maxmin><mode>3<mask_scalar_name><round_saeonly_scalar_name>): + New define_insn. + 2025-04-15 Andrew Pinski <quic_apin...@quicinc.com> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1041049a239f..c872ff4955ee 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250423 +20250425 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 330212ec3078..ece83d459b24 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,22 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-26 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/43374 + * c-cppbuiltin.cc (builtin_define_decimal_float_constants): Use + get_max_float. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 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. + 2025-03-13 Eric Botcazou <ebotca...@adacore.com> PR ada/119265 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index fc98e3e1fca0..524e4d3a197a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,32 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-02 Jakub Jelinek <ja...@redhat.com> + + PR c/119582 + * c-typeck.cc (pointer_diff, build_binary_op): Call c_fully_fold on + __sanitizer_ptr_sub or __sanitizer_ptr_cmp arguments. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-parser.cc (c_parser_omp_atomic): For omp write call + default_function_array_read_conversion on the rhs expression. + Merge the two adjacent if (code == NOP_EXPR) blocks. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-27 Jakub Jelinek <ja...@redhat.com> + + PR c/117745 + * c-parser.cc (c_parser_sizeof_expression): If type_name is NULL, + just expr.set_error () and goto sizeof_expr instead of doing error + recovery manually. + 2024-06-11 Jakub Jelinek <ja...@redhat.com> Backported from master: diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5ef1e5713713..c9680cbb101a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,127 @@ +2025-04-23 Jason Merrill <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jason Merrill <ja...@redhat.com> + + PR c++/114772 + PR c++/101180 + * pt.cc (apply_late_template_attributes): Also override + target_option_current_node. + +2025-04-23 Jason Merrill <ja...@redhat.com> + + Backported from master: + 2025-04-15 Jason Merrill <ja...@redhat.com> + + PR c++/111075 + * constexpr.cc (cxx_eval_call_expression): Allow trivial + call from a thunk. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-06 Jakub Jelinek <ja...@redhat.com> + + PR c++/98533 + PR c++/119123 + * parser.cc (cp_parser_class_specifier): Update TYPE_FIELDS of + variant types in case cp_parser_late_parsing_default_args etc. change + TYPE_FIELDS on the main variant. Add switch_to_class lambda and + use it to simplify repeated class switching code. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-28 Jakub Jelinek <ja...@redhat.com> + + PR c++/119045 + * constexpr.cc (cxx_eval_store_expression) <case REALPART_EXPR>: + Assert that refs->is_empty () rather than probe == target. + (cxx_eval_store_expression) <case IMAGPART_EXPR>: Likewise. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118763 + * init.cc (build_new_1): Don't set CLEANUP_EH_ONLY. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118661 + * constexpr.cc (potential_constant_expression_1): Don't diagnose + lvalue-to-rvalue conversion of volatile lvalue if it has NULLPTR_TYPE. + * decl2.cc (decl_maybe_constant_var_p): Return true for constexpr + decls with NULLPTR_TYPE even if they are volatile. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/117827 + * init.cc (build_new_1): Pass address of a make_tree_vector () + initialized gc tree vector to build_vec_init and append + build_disable_temp_cleanup to init_expr from it. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + PR c++/118509 + * typeck.cc (get_member_function_from_ptrfunc): Wrap force_target_expr + with save_expr. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-08 Jakub Jelinek <ja...@redhat.com> + + PR c++/117825 + * typeck.cc (cp_build_function_call_vec): Don't call + check_function_arguments if complain doesn't have tf_warning bit set. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-17 Jakub Jelinek <ja...@redhat.com> + + PR c++/116108 + * decl.cc (grokdeclarator): Pass TYYPE_MAIN_VARIANT (type) + rather than type to same_type_p when checking if the non-static + data member doesn't have current class type. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-08 Jakub Jelinek <ja...@redhat.com> + + PR c++/117317 + * semantics.cc (emit_associated_thunks): Do nothing for + !DECL_INTERFACE_KNOWN && DECL_DEFER_OUTPUT fns. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-24 Jakub Jelinek <ja...@redhat.com> + + PR c++/117259 + * typeck.cc (get_member_function_from_ptrfunc): Use force_target_expr + rather than save_expr for instance_ptr and function. Don't call it + for TREE_CONSTANT. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-13 Jakub Jelinek <ja...@redhat.com> + + PR c++/116678 + * optimize.cc: Include decl.h. + (maybe_thunk_body): Temporarily change deprecated_state to + UNAVAILABLE_DEPRECATED_SUPPRESS. + 2025-04-14 Simon Martin <si...@nasilyan.com> Backported from master: diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 6ba5d60445a4..06302b215950 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,13 @@ +2025-04-23 Arsen Arsenović <ar...@aarsen.me> + + Backported from master: + 2025-01-29 Arsen Arsenović <ar...@aarsen.me> + Jakub Jelinek <ja...@redhat.com> + + PR d/118477 + * Make-lang.in (DCOMPILE, DPOSTCOMPILE): Use $(basename $(@F)) + instead of $(*F). + 2025-04-20 Iain Buclaw <ibuc...@gdcproject.org> Backported from master: diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 1c5ed1cf739c..891f079511a4 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,11 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-22 Jakub Jelinek <ja...@redhat.com> + + * resolve.cc (resolve_procedure_expression): Remove extraneous space + from the middle of diagnostics. + 2025-04-22 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index 72d8db0f207f..5813d2ff6259 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,11 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-09 Jakub Jelinek <ja...@redhat.com> + + * Make-lang.in (m2_OBJS): Add $(BUILD-LIBS-BOOT), + $(BUILD-COMPILER-BOOT) and $(MC_LIBS). + 2024-05-21 Release Manager * GCC 13.3.0 released. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 549e66f0a9ef..7f89b49c3dba 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,278 @@ +2025-04-24 Richard Sandiford <richard.sandif...@arm.com> + + Backported from master: + 2025-04-10 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/119399 + * gcc.dg/vect/pr119399.c: New test. + +2025-04-24 Richard Sandiford <richard.sandif...@arm.com> + + Backported from master: + 2025-03-07 Richard Sandiford <richard.sandif...@arm.com> + + PR tree-optimization/116125 + * gcc.dg/vect/pr116125.c: New test. + +2025-04-23 Jason Merrill <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jason Merrill <ja...@redhat.com> + + PR c++/114772 + PR c++/101180 + * g++.dg/ext/pragma-target2.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-02 Jakub Jelinek <ja...@redhat.com> + + PR c/119582 + * gcc.dg/asan/pr119582.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-01 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/119291 + * gcc.c-torture/execute/pr119291.c: New test. + +2025-04-23 Richard Biener <rguent...@suse.de> + + Backported from master: + 2025-03-11 Richard Biener <rguent...@suse.de> + + PR middle-end/119204 + * gcc.dg/pr119204.c: New testcase. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-11 Jakub Jelinek <ja...@redhat.com> + + PR c/119183 + * gcc.dg/pr119183.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-10 Jakub Jelinek <ja...@redhat.com> + Michael Leuchtenburg <mich...@slashhome.org> + + PR libgcc/119151 + * gcc.dg/pr119151.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-06 Jakub Jelinek <ja...@redhat.com> + + PR c++/98533 + PR c++/119123 + * g++.dg/cpp0x/pr98533.C: New test. + * g++.dg/cpp0x/pr119123.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-28 Jakub Jelinek <ja...@redhat.com> + + PR c++/119045 + * g++.dg/cpp1y/constexpr-complex2.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-26 Jakub Jelinek <ja...@redhat.com> + + PR c/114870 + * gcc.dg/c23-stddef-2.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-c++-common/gomp/pr119000.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-24 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/118915 + * gcc.c-torture/execute/pr118915.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-08 Jakub Jelinek <ja...@redhat.com> + + PR target/118776 + * gcc.target/i386/pr118776.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118763 + * g++.dg/asan/pr118763.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-07 Jakub Jelinek <ja...@redhat.com> + + PR c++/118661 + * g++.dg/cpp0x/constexpr-volatile4.C: New test. + * g++.dg/cpp0x/constexpr-union9.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-31 Jakub Jelinek <ja...@redhat.com> + + PR ipa/117432 + * gcc.c-torture/execute/pr117432.c: New test. + * gcc.target/i386/pr117432.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/117827 + * g++.dg/init/array66.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-23 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/114877 + * gcc.dg/torture/builtin-frexp-1.c: Add -Wmaybe-uninitialized as + dg-additional-options. + (bar): New function. + (TESTIT_FREXP2): Rework the macro so that it doesn't test whether + nothing has been stored to what the second argument points to, but + instead that something has been stored there, whatever it is. + (main): Temporarily don't enable the nan tests for -O0. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + PR c++/118509 + * g++.dg/expr/pmf-4.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-01-08 Jakub Jelinek <ja...@redhat.com> + + PR c++/117825 + * g++.dg/warn/pr117825.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-17 Jakub Jelinek <ja...@redhat.com> + + PR c++/116108 + * g++.dg/cpp1z/class-deduction117.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-13 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/117095 + * gcc.c-torture/execute/pr117095.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-27 Jakub Jelinek <ja...@redhat.com> + + PR c/117745 + * gcc.dg/pr117745.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-26 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/102674 + * gcc.dg/dfp/pr102674.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-26 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/43374 + * gcc.dg/dfp/pr43374.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-08 Jakub Jelinek <ja...@redhat.com> + + PR c++/117317 + * g++.dg/cpp2a/pr117317-1.C: New test. + * g++.dg/cpp2a/pr117317-2.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-30 Jakub Jelinek <ja...@redhat.com> + + PR target/117296 + * gcc.target/i386/pr117296.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-24 Jakub Jelinek <ja...@redhat.com> + + PR c++/117259 + * g++.dg/ubsan/pr117259.C: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-24 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/117209 + * gcc.dg/asan/pr117209.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-22 Jakub Jelinek <ja...@redhat.com> + + PR c/117230 + * c-c++-common/Wsizeof-pointer-memaccess5.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-20 Uros Bizjak <ubiz...@gmail.com> + Jakub Jelinek <ja...@redhat.com> + + PR target/116738 + * gcc.target/i386/sse-pr116738.c: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-13 Jakub Jelinek <ja...@redhat.com> + + PR c++/116678 + * g++.dg/warn/deprecated-20.C: New test. + 2025-04-22 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index df79ab422f98..21981137d8f0 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,29 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jakub Jelinek <ja...@redhat.com> + + PR libgcc/101075 + PR libgcc/119796 + * config/mingw/lock.c (libat_lock_n, libat_unlock_n): Start with + computing how many locks will be needed and take into account + ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the + locks array and others from the start of it will be needed, first + lock the ones from the start followed by ones from the end. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-16 Jakub Jelinek <ja...@redhat.com> + + PR libgcc/101075 + PR libgcc/119796 + * config/posix/lock.c (libat_lock_n, libat_unlock_n): Start with + computing how many locks will be needed and take into account + ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the + locks array and others from the start of it will be needed, first + lock the ones from the start followed by ones from the end. + 2024-05-21 Release Manager * GCC 13.3.0 released. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 01669fe5f493..474869392552 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,17 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-03-10 Jakub Jelinek <ja...@redhat.com> + Michael Leuchtenburg <mich...@slashhome.org> + + PR libgcc/119151 + * unwind-dw2-btree.h (btree_split_inner): Add size argument. If + left_fence is in the middle of [target,target + size - 1] range, + increase it to target + size - 1. + (btree_insert): Adjust btree_split_inner caller. If fence is smaller + than base + size - 1, increase it and separator of the slot to + base + size - 1. + 2025-02-17 Dimitry Andric <dimi...@andric.com> PR target/118685 diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 44692cb9b810..3e76f45e7349 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,10 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-09 Jakub Jelinek <ja...@redhat.com> + + * math/expq.c (C): Fix up THREEp96 constant. + 2024-05-21 Release Manager * GCC 13.3.0 released. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7a2485529954..75007ce25b83 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,43 @@ +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-04 Jakub Jelinek <ja...@redhat.com> + + PR libstdc++/117406 + * testsuite/26_numerics/headers/cmath/117406.cc: Use + std::numeric_limits<int>::max() instead of INT_MAX. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-11-02 Jakub Jelinek <ja...@redhat.com> + + PR libstdc++/117406 + * include/c_global/cmath (std::ilogb(_Float16), std::llrint(_Float16), + std::llround(_Float16), std::lrint(_Float16), std::lround(_Float16)): + Don't cast __builtin_* return to _Float16. + (std::ilogb(__gnu_cxx::__bfloat16_t), + std::llrint(__gnu_cxx::__bfloat16_t), + std::llround(__gnu_cxx::__bfloat16_t), + std::lrint(__gnu_cxx::__bfloat16_t), + std::lround(__gnu_cxx::__bfloat16_t)): Don't cast __builtin_* return to + __gnu_cxx::__bfloat16_t. + * testsuite/26_numerics/headers/cmath/117406.cc: New test. + +2025-04-23 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-10-29 Jakub Jelinek <ja...@redhat.com> + + PR libstdc++/117321 + * include/c_global/cmath (nextafter(_Float16, _Float16)): Use + if consteval rather than if (std::__is_constant_evaluated()) around + the __builtin_nextafterf16 call. + (nextafter(__gnu_cxx::__bfloat16_t, __gnu_cxx::__bfloat16_t)): Use + if consteval rather than if (std::__is_constant_evaluated()) around + the __builtin_nextafterf16b call. + * testsuite/26_numerics/headers/cmath/117321.cc: New test. + 2025-04-18 Tomasz Kamiński <tkami...@redhat.com> * include/std/format (basic_format_arg::_S_to_arg_type): Normalize