https://gcc.gnu.org/g:05607da8c0e4e621ce89bcc15956912a1c1b689f
commit r12-11196-g05607da8c0e4e621ce89bcc15956912a1c1b689f Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Jun 14 00:21:59 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 320 +++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 19 +++ gcc/c/ChangeLog | 29 ++++ gcc/cp/ChangeLog | 134 ++++++++++++++++++ gcc/d/ChangeLog | 10 ++ gcc/fortran/ChangeLog | 15 ++ gcc/testsuite/ChangeLog | 369 ++++++++++++++++++++++++++++++++++++++++++++++++ libatomic/ChangeLog | 26 ++++ libgfortran/ChangeLog | 54 +++++++ libiberty/ChangeLog | 24 ++++ libquadmath/ChangeLog | 7 + 12 files changed, 1008 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5c2bdd8dbc1..d42328d2db98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,323 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-17 Jakub Jelinek <ja...@redhat.com> + + PR target/119834 + * config/s390/s390.md (define_split after *cpymem_short): Use + (clobber (match_scratch N)) instead of (clobber (scratch)). Use + (match_dup 4) and operands[4] instead of (match_dup 3) and operands[3] + in the last of those. + (define_split after *clrmem_short): Use (clobber (match_scratch N)) + instead of (clobber (scratch)). + (define_split after *cmpmem_short): Likewise. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-10 Jakub Jelinek <ja...@redhat.com> + + PR target/118623 + * config/i386/i386.md (*bt<mode>): Represent bt as + compare:CCC of const0_rtx and zero_extract rather than + zero_extract and const0_rtx. + (*jcc_bt<mode>): Likewise. Use LTU and GEU as flags test + instead of EQ and NE. + (*jcc_bt<mode>_1): Likewise. + (*jcc_bt<mode>_mask): Likewise. + (Help combine recognize bt followed by cmov splitter): Likewise. + (*bt<mode>_setcqi): Likewise. + (*bt<mode>_setncqi): Likewise. + (*bt<mode>_setnc<mode>): Likewise. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-05 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/113994 + PR rtl-optimization/116799 + * loop-doloop.cc: Include targhooks.h. + (doloop_optimize): Also punt on intersection of modified + with df_get_live_in (desc->out_edge->dest). + (doloop_optimize_loops): Call df_analyze. Use + LI_ONLY_INNERMOST or LI_FROM_INNERMOST instead of 0 as + second loops_list argument. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-02-06 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/110676 + * gimple-fold.cc (gimple_fold_builtin_strlen): For -fsanitize=address + reset maxlen to sizetype maximum. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-22 Jakub Jelinek <ja...@redhat.com> + + PR target/119327 + * config/rs6000/rs6000.cc (rs6000_can_inline_p): Ignore also + OPTION_MASK_SAVE_TOC_INDIRECT differences. + +2025-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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. + * 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-06-13 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-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-08-09 Jakub Jelinek <ja...@redhat.com> + + PR target/116287 + * config/i386/i386.cc (ix86_fold_builtin) <case IX86_BUILTIN_BEXTR32>: + When folding into zero without checking whether first argument is + constant, use omit_one_operand. + (ix86_fold_builtin) <case IX86_BUILTIN_BZHI32>: Likewise. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-23 Jakub Jelinek <ja...@redhat.com> + Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/116034 + * tree-ssa.cc (maybe_rewrite_mem_ref_base): Only use IMAGPART_EXPR + if MEM_REF offset is equal to element type size. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-17 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/115527 + * gimple-fold.cc (clear_padding_flush): Introduce endsize + variable and use it instead of wordsize when comparing it against + nonzero_last. + (clear_padding_type): Increment off by sz. + 2025-06-10 Martin Jambor <mjam...@suse.cz> Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c544224c3448..b440a372cfd1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250613 +20250614 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a6539dbd40b3..594b0d75e715 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,22 @@ +2025-06-13 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-06-13 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. + 2024-06-20 Jakub Jelinek <ja...@redhat.com> Backported from master: diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 862b9c428b40..6cfd43f514a0 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,32 @@ +2025-06-13 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-06-13 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-06-13 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-20 Release Manager * GCC 12.4.0 released. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a0fe6c7d35cf..623a1e331435 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,137 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-02-28 Jakub Jelinek <ja...@redhat.com> + Patrick Palka <ppa...@redhat.com> + + PR c++/113976 + * decl.cc (grokdeclarator): Don't call cp_apply_type_quals_to_decl + on DECL_TEMPLATE_INSTANTIATED VAR_DECLs. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/116636 + * method.cc: Include decl.h. + (use_thunk): Temporarily change deprecated_state to + UNAVAILABLE_DEPRECATED_SUPPRESS. + +2025-06-13 Marek Polacek <pola...@redhat.com> + + Backported from master: + 2024-09-05 Marek Polacek <pola...@redhat.com> + + PR c++/116606 + * decl2.cc (mark_vtable_entries): Temporarily override deprecated_state to + UNAVAILABLE_DEPRECATED_SUPPRESS. Remove a warning_sentinel. + +2025-06-13 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-06-13 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-06-13 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-06-13 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-06-13 Jakub Jelinek <ja...@redhat.com> + + PR c++/118509 + * typeck.cc (get_member_function_from_ptrfunc): Wrap force_target_expr + with save_expr. + +2025-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-10 Jakub Jelinek <ja...@redhat.com> + + PR c++/116449 + * typeck.cc (get_member_function_from_ptrfunc): Use save_expr + on instance_ptr and function even if it doesn't have side-effects, + as long as it isn't a decl. + 2025-06-02 Jason Merrill <ja...@redhat.com> PR c++/120123 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index c29a89ede581..bd8df190e055 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,13 @@ +2025-06-13 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 e83913ee0b00..5395779dcf5f 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,18 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + Daniil Kochergin <daniil24...@gmail.com> + Tobias Burnus <tbur...@baylibre.com> + + PR fortran/120191 + * trans-intrinsic.cc (strip_kind_from_actual): Remove. + (gfc_conv_intrinsic_minmaxloc): Don't call strip_kind_from_actual. + Free and clear kind_arg->expr if non-NULL. Set back_arg->name to + "%VAL" instead of a loop looking for last argument. Remove actual + variable, use array_arg instead. Free and clear dim_arg->expr if + non-NULL for BT_CHARACTER cases instead of using a loop. + 2025-04-22 Harald Anlauf <anl...@gmx.de> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 924c7c7f9bb3..a775eefb96f8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,372 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-30 Jakub Jelinek <ja...@redhat.com> + + PR target/120480 + * gcc.dg/pr120480.c: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-17 Jakub Jelinek <ja...@redhat.com> + + PR target/119834 + * g++.target/s390/pr119834.C: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-02-28 Jakub Jelinek <ja...@redhat.com> + Patrick Palka <ppa...@redhat.com> + + PR c++/113976 + * g++.dg/cpp1y/var-templ87.C: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-02-10 Jakub Jelinek <ja...@redhat.com> + + PR target/118623 + * gcc.c-torture/execute/pr118623.c: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-12-05 Jakub Jelinek <ja...@redhat.com> + + PR rtl-optimization/113994 + PR rtl-optimization/116799 + * gcc.c-torture/execute/pr116799.c: New test. + * g++.dg/torture/pr113994.C: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-12 Jakub Jelinek <ja...@redhat.com> + + PR c++/116636 + * g++.dg/warn/deprecated-19.C: New test. + +2025-06-13 Marek Polacek <pola...@redhat.com> + + Backported from master: + 2024-09-05 Marek Polacek <pola...@redhat.com> + + PR c++/116606 + * g++.dg/ext/attr-unavailable-13.C: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-02-06 Jakub Jelinek <ja...@redhat.com> + + PR sanitizer/110676 + * gcc.dg/asan/pr110676.c: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR libfortran/120196 + * gfortran.dg/pr120196.f90: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR fortran/120191 + * gfortran.dg/pr120191_3.f90: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR fortran/120191 + * gfortran.dg/pr120191_2.f90: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + Daniil Kochergin <daniil24...@gmail.com> + Tobias Burnus <tbur...@baylibre.com> + + PR fortran/120191 + * gfortran.dg/pr120191_1.f90: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-04-22 Jakub Jelinek <ja...@redhat.com> + + PR target/119327 + * g++.dg/opt/pr119327.C: New test. + +2025-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 Jakub Jelinek <ja...@redhat.com> + + PR c++/118509 + * g++.dg/expr/pmf-4.C: New test. + +2025-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 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-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-18 Jakub Jelinek <ja...@redhat.com> + + * c-c++-common/torture/builtin-clear-padding-3.c (main): Compare + s2.b.a against -1 rather than (char) -1. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-10 Jakub Jelinek <ja...@redhat.com> + + PR c++/116449 + * g++.dg/ubsan/pr116449.C: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-08-09 Jakub Jelinek <ja...@redhat.com> + + PR target/116287 + * gcc.target/i386/bmi-pr116287.c: New test. + * gcc.target/i386/bmi2-pr116287.c: New test. + * gcc.target/i386/tbm-pr116287.c: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-24 Jakub Jelinek <ja...@redhat.com> + + PR tree-optimization/116034 + PR testsuite/116061 + * gcc.dg/pr116034.c (g): Change type from int to unsigned short. + (foo): Guard memmove call on __SIZEOF_SHORT__ == 2. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-23 Jakub Jelinek <ja...@redhat.com> + Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/116034 + * gcc.dg/pr116034.c: New test. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-07-17 Jakub Jelinek <ja...@redhat.com> + + PR middle-end/115527 + * c-c++-common/torture/builtin-clear-padding-1.c: Add dg-do run + directive. + * c-c++-common/torture/builtin-clear-padding-2.c: Likewise. + * c-c++-common/torture/builtin-clear-padding-3.c: Likewise. + * c-c++-common/torture/builtin-clear-padding-4.c: Likewise. + * c-c++-common/torture/builtin-clear-padding-5.c: Likewise. + * c-c++-common/torture/builtin-clear-padding-6.c: New test. + 2025-06-10 Martin Jambor <mjam...@suse.cz> Backported from master: diff --git a/libatomic/ChangeLog b/libatomic/ChangeLog index 5e4dc44df56b..41f5e2d1013b 100644 --- a/libatomic/ChangeLog +++ b/libatomic/ChangeLog @@ -1,3 +1,29 @@ +2025-06-13 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-06-13 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-06-20 Release Manager * GCC 12.4.0 released. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index f383194d895b..72e149356889 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,57 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR libfortran/120196 + * m4/ifindloc2.m4 (header1, header2): For back use i > 0 rather than + i >= 0 as for condition. + * generated/findloc2_s1.c: Regenerate. + * generated/findloc2_s4.c: Regenerate. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR fortran/120191 + * m4/ifunction-s.m4 (SCALAR_ARRAY_FUNCTION): Don't multiply + GFC_DESCRIPTOR_EXTENT(array,) by string_len. + * generated/maxloc1_4_s1.c: Regenerate. + * generated/maxloc1_4_s4.c: Regenerate. + * generated/maxloc1_8_s1.c: Regenerate. + * generated/maxloc1_8_s4.c: Regenerate. + * generated/maxloc1_16_s1.c: Regenerate. + * generated/maxloc1_16_s4.c: Regenerate. + * generated/minloc1_4_s1.c: Regenerate. + * generated/minloc1_4_s4.c: Regenerate. + * generated/minloc1_8_s1.c: Regenerate. + * generated/minloc1_8_s4.c: Regenerate. + * generated/minloc1_16_s1.c: Regenerate. + * generated/minloc1_16_s4.c: Regenerate. + +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2025-05-13 Jakub Jelinek <ja...@redhat.com> + + PR fortran/120191 + * m4/maxloc2s.m4: For smaxloc2 call maxloc2 if mask is NULL or *mask. + Swap back and len arguments. + * m4/minloc2s.m4: Likewise. + * generated/maxloc2_4_s1.c: Regenerate. + * generated/maxloc2_4_s4.c: Regenerate. + * generated/maxloc2_8_s1.c: Regenerate. + * generated/maxloc2_8_s4.c: Regenerate. + * generated/maxloc2_16_s1.c: Regenerate. + * generated/maxloc2_16_s4.c: Regenerate. + * generated/minloc2_4_s1.c: Regenerate. + * generated/minloc2_4_s4.c: Regenerate. + * generated/minloc2_8_s1.c: Regenerate. + * generated/minloc2_8_s4.c: Regenerate. + * generated/minloc2_16_s1.c: Regenerate. + * generated/minloc2_16_s4.c: Regenerate. + 2024-06-20 Release Manager * GCC 12.4.0 released. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 533a7bfc9665..f6dbf107b159 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,27 @@ +2025-06-13 Jakub Jelinek <ja...@redhat.com> + + Backported from master: + 2024-09-07 Jakub Jelinek <ja...@redhat.com> + + PR lto/116614 + * simple-object-elf.c (SHN_COMMON): Align comment with neighbouring + comments. + (SHN_HIRESERVE): Use uppercase hex digits instead of lowercase for + consistency. + (simple_object_elf_find_sections): Formatting fixes. + (simple_object_elf_fetch_attributes): Likewise. + (simple_object_elf_attributes_merge): Likewise. + (simple_object_elf_start_write): Likewise. + (simple_object_elf_write_ehdr): Likewise. + (simple_object_elf_write_shdr): Likewise. + (simple_object_elf_write_to_file): Likewise. + (simple_object_elf_copy_lto_debug_section): Likewise. Don't fail for + new_i - 1 >= SHN_LORESERVE, instead arrange in that case to copy + over .symtab_shndx sections, though emit those last and compute their + section content when processing associated .symtab sections. Handle + simple_object_internal_read failure even in the .symtab_shndx reading + case. + 2024-06-20 Release Manager * GCC 12.4.0 released. diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 53ec55f73ccf..5793e753ee24 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,10 @@ +2025-06-13 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-06-20 Release Manager * GCC 12.4.0 released.