+2025-06-04 Kugan Vivekanandarajah <kvivekananda@nvidia.com>
+
+ * auto-profile.cc (autofdo_source_profile::read): Dump message
+ while merging profile.
+ * pass_manager.h (get_pass_auto_profile): New.
+
+2025-06-04 Sandra Loosemore <sloosemore@baylibre.com>
+
+ PR c++/120518
+ * omp-general.cc (omp_device_num_check): Look inside a
+ CLEANUP_POINT_EXPR when trying to optimize special cases.
+
+2025-06-04 Thomas Schwinge <tschwinge@baylibre.com>
+
+ * config/nvptx/mkoffload.cc (process): Use an 'auto_vec' for
+ 'file_idx'.
+
+2025-06-04 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/14295
+ PR tree-optimization/108358
+ PR tree-optimization/114169
+ * tree-ssa-forwprop.cc (optimize_agr_copyprop): New function.
+ (pass_forwprop::execute): Call optimize_agr_copyprop for load/store statements.
+
+2025-06-04 Pengfei Li <Pengfei.Li2@arm.com>
+
+ * match.pd: Add folding rule for vector average.
+ * tree-ssa-ccp.cc (get_default_value): Reject vector types.
+ (evaluate_stmt): Reject vector types.
+ * tree-ssanames.cc (get_nonzero_bits_1): Extend to handle
+ uniform vectors.
+
+2025-06-04 Xi Ruoyao <xry111@xry111.site>
+
+ PR rtl-optimization/120050
+ * ext-dce.cc (ext_dce_process_uses): Break early if a SUBREG in
+ rhs is promoted and the truncation from the inner mode to the
+ outer mode is not a noop when handling SETs.
+
+2025-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ * range-op-float.cc (range_operator::fold_range,
+ range_operator::op1_range, range_operator::op2_range,
+ range_operator::lhs_op1_relation, range_operator::lhs_op2_relation,
+ operator_equal::op1_range, foperator_unordered_gt::op1_range): Fix
+ up parameter indentation.
+ * range-op.cc (range_operator::fold_range, range_operator::op1_range,
+ range_operator::op1_op2_relation_effect,
+ range_operator::update_bitmask, plus_minus_ranges,
+ operator_bitwise_and::lhs_op1_relation): Likewise.
+
+2025-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/120231
+ * range-op-mixed.h (operator_cast::fold_range): Add overload
+ with 3 {,const} frange & operands. Change parameter names and
+ add final override keywords for float <-> integer cast overloads.
+ (operator_cast::op1_range): Likewise.
+ * range-op-float.cc (operator_cast::fold_range): New overload
+ with 3 {,const} frange & operands.
+ (operator_cast::op1_range): Likewise.
+
+2025-06-04 Dongyan Chen <chendongyan@isrc.iscas.ac.cn>
+
+ * config/riscv/riscv-ext.def: Imply zicsr.
+
+2025-06-04 Dongyan Chen <chendongyan@isrc.iscas.ac.cn>
+
+ * config/riscv/riscv-ext.def: New extension defs.
+ * config/riscv/riscv-ext.opt: Ditto.
+ * doc/riscv-ext.texi: Ditto.
+
+2025-06-04 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/120447
+ * emit-rtl.cc (validate_subreg): Restrict ordered_p test
+ between osize and regsize to cases where the inner value
+ occupies multiple blocks.
+
+2025-06-04 Pan Li <pan2.li@intel.com>
+
+ * config/riscv/riscv.cc (get_vector_binary_rtx_cost): Rename
+ the args to scalar2vr.
+ (riscv_rtx_costs): Leverage above func to avoid code dup.
+
+2025-06-04 H.J. Lu <hjl.tools@gmail.com>
+
+ PR debug/120525
+ * var-tracking.cc (prepare_call_arguments): Use MEM_EXPR only
+ if MEM_P is true.
+
+2025-06-04 Jiawei <jiawei@iscas.ac.cn>
+
+ * config/riscv/riscv-ext.def: New extension defs.
+ * config/riscv/riscv-ext.opt: Ditto.
+ * doc/riscv-ext.texi: Ditto.
+
+2025-06-04 Hu, Lin1 <lin1.hu@intel.com>
+
+ * config/i386/i386.md (define_peephole2): Define some new peephole2 for
+ APX NDD.
+
+2025-06-04 Hu, Lin1 <lin1.hu@intel.com>
+
+ * config/i386/i386.md: Add 4 new peephole2 by swap the original
+ peephole2's operands' order to support new pattern.
+
+2025-06-04 H.J. Lu <hjl.tools@gmail.com>
+
+ PR other/120494
+ * calls.cc (expand_call): Always add REG_CALL_DECL note.
+ (emit_library_call_value_1): Likewise.
+
2025-06-03 Richard Biener <rguenther@suse.de>
* gimple-fold.cc (create_tmp_reg_or_ssa_name): Always
+2025-06-04 Kugan Vivekanandarajah <kvivekananda@nvidia.com>
+
+ * gcc.dg/tree-prof/clone-merge-1.c: New test.
+
+2025-06-04 Jason Merrill <jason@redhat.com>
+
+ PR c++/120502
+ * g++.dg/cpp2a/constexpr-prvalue2.C: New test.
+
+2025-06-04 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/14295
+ PR tree-optimization/108358
+ PR tree-optimization/114169
+ * gcc.dg/tree-ssa/20031106-6.c: Un-xfail. Add scan for forwprop1.
+ * g++.dg/opt/pr66119.C: Disable forwprop since that does
+ the copy prop now.
+ * gcc.dg/tree-ssa/pr108358-a.c: New test.
+ * gcc.dg/tree-ssa/pr114169-1.c: New test.
+ * gcc.c-torture/execute/builtins/pr22237-1-lib.c: New test.
+ * gcc.c-torture/execute/builtins/pr22237-1.c: New test.
+ * gcc.dg/tree-ssa/pr57361.c: Disable forwprop1.
+ * gcc.dg/tree-ssa/pr57361-1.c: New test.
+
+2025-06-04 Pengfei Li <Pengfei.Li2@arm.com>
+
+ * gcc.target/aarch64/acle/uhadd_1.c: New test.
+
+2025-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/120231
+ * gcc.dg/tree-ssa/pr120231-1.c: New test.
+
+2025-06-04 Dongyan Chen <chendongyan@isrc.iscas.ac.cn>
+
+ * gcc.target/riscv/arch-60.c: New test.
+
+2025-06-04 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR rtl-optimization/120447
+ * gcc.dg/pr120447.c: New test.
+
+2025-06-04 H.J. Lu <hjl.tools@gmail.com>
+
+ PR debug/120525
+ * gcc.dg/pr120525.c: New test.
+
+2025-06-04 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/120483
+ * gfortran.dg/save_8.f90: New test.
+
+2025-06-04 Jiawei <jiawei@iscas.ac.cn>
+
+ * gcc.target/riscv/arch-shlocofideleg.c: New test.
+
+2025-06-04 Hu, Lin1 <lin1.hu@intel.com>
+
+ * gcc.target/i386/pr49095-2.c: New test.
+
+2025-06-04 Hu, Lin1 <lin1.hu@intel.com>
+
+ * gcc.target/i386/pr79173-13.c: New test.
+ * gcc.target/i386/pr79173-14.c: Ditto.
+ * gcc.target/i386/pr79173-15.c: Ditto.
+ * gcc.target/i386/pr79173-16.c: Ditto.
+ * gcc.target/i386/pr79173-17.c: Ditto.
+ * gcc.target/i386/pr79173-18.c: Ditto.
+
2025-06-03 Harald Anlauf <anlauf@gmx.de>
PR fortran/99838
+2025-06-04 Robert Dubner <rdubner@symas.com>
+
+ PR cobol/119323
+ * charmaps.cc (__gg__raw_to_ascii): Eliminate cppcheck warnings.
+ (__gg__raw_to_ebcdic): Likewise.
+ (__gg__ebcdic_to_console): Likewise.
+ (__gg__console_to_ascii): Likewise.
+ (__gg__console_to_ebcdic): Likewise.
+ * common-defs.h (struct cbl_declarative_t): Likewise.
+ * gfileio.cc (get_filename): Likewise.
+ (max_value): Likewise.
+ (relative_file_delete_varying): Likewise.
+ (relative_file_delete): Likewise.
+ (read_an_indexed_record): Likewise.
+ (position_state_restore): Likewise.
+ (indexed_file_delete): Likewise.
+ (indexed_file_start): Likewise.
+ (sequential_file_rewrite): Likewise.
+ (relative_file_write_varying): Likewise.
+ (relative_file_write): Likewise.
+ (sequential_file_write): Likewise.
+ (indexed_file_write): Likewise.
+ (__io__file_write): Likewise.
+ (line_sequential_file_read): Likewise.
+ (indexed_file_read): Likewise.
+ (file_indexed_open): Likewise.
+ (__gg__file_reopen): Likewise.
+ * gmath.cc (conditional_stash): Likewise.
+ (__gg__pow): Likewise.
+ (multiply_int256_by_int64): Likewise.
+ (add_int256_to_int256): Likewise.
+ (divide_int256_by_int64): Likewise.
+ (squeeze_int256): Likewise.
+ (get_int256_from_qualified_field): Likewise.
+ (__gg__add_fixed_phase1): Likewise.
+ (__gg__addf1_fixed_phase2): Likewise.
+ (__gg__fixed_phase2_assign_to_c): Likewise.
+ (__gg__add_float_phase1): Likewise.
+ (__gg__addf1_float_phase2): Likewise.
+ (__gg__float_phase2_assign_to_c): Likewise.
+ (__gg__addf3): Likewise.
+ (__gg__subtractf1_fixed_phase2): Likewise.
+ (__gg__subtractf2_fixed_phase1): Likewise.
+ (__gg__subtractf1_float_phase2): Likewise.
+ (__gg__subtractf2_float_phase1): Likewise.
+ (__gg__subtractf3): Likewise.
+ (__gg__multiplyf1_phase1): Likewise.
+ (multiply_int128_by_int128): Likewise.
+ (__gg__multiplyf1_phase2): Likewise.
+ (__gg__multiplyf2): Likewise.
+ (shift_in_place128): Likewise.
+ (divide_int128_by_int128): Likewise.
+ (__gg__dividef1_phase2): Likewise.
+ (__gg__dividef23): Likewise.
+ (__gg__dividef45): Likewise.
+ * intrinsic.cc (struct input_state): Likewise.
+ (get_value_as_double_from_qualified_field): Likewise.
+ (kahan_summation): Likewise.
+ (variance): Likewise.
+ (get_all_time): Likewise.
+ (populate_ctm_from_date): Likewise.
+ (populate_ctm_from_time): Likewise.
+ (ftime_replace): Likewise.
+ (__gg__abs): Likewise.
+ (__gg__acos): Likewise.
+ (__gg__annuity): Likewise.
+ (__gg__asin): Likewise.
+ (__gg__atan): Likewise.
+ (__gg__byte_length): Likewise.
+ (__gg__char): Likewise.
+ (__gg__combined_datetime): Likewise.
+ (__gg__cos): Likewise.
+ (__gg__date_of_integer): Likewise.
+ (__gg__date_to_yyyymmdd): Likewise.
+ (__gg__day_of_integer): Likewise.
+ (__gg__day_to_yyyyddd): Likewise.
+ (__gg__exp): Likewise.
+ (__gg__exp10): Likewise.
+ (__gg__factorial): Likewise.
+ (__gg__formatted_current_date): Likewise.
+ (__gg__formatted_date): Likewise.
+ (__gg__formatted_datetime): Likewise.
+ (__gg__formatted_time): Likewise.
+ (__gg__integer): Likewise.
+ (__gg__integer_of_date): Likewise.
+ (__gg__integer_of_day): Likewise.
+ (__gg__integer_part): Likewise.
+ (__gg__fraction_part): Likewise.
+ (__gg__log): Likewise.
+ (__gg__log10): Likewise.
+ (__gg__max): Likewise.
+ (__gg__lower_case): Likewise.
+ (__gg__median): Likewise.
+ (__gg__min): Likewise.
+ (numval): Likewise.
+ (numval_c): Likewise.
+ (__gg__numval): Likewise.
+ (__gg__test_numval): Likewise.
+ (__gg__numval_c): Likewise.
+ (__gg__test_numval_c): Likewise.
+ (__gg__ord): Likewise.
+ (__gg__rem): Likewise.
+ (__gg__trim): Likewise.
+ (__gg__random): Likewise.
+ (__gg__reverse): Likewise.
+ (__gg__sign): Likewise.
+ (__gg__sin): Likewise.
+ (__gg__sqrt): Likewise.
+ (__gg__tan): Likewise.
+ (__gg__test_date_yyyymmdd): Likewise.
+ (__gg__test_day_yyyyddd): Likewise.
+ (__gg__upper_case): Likewise.
+ (__gg__year_to_yyyy): Likewise.
+ (gets_int): Likewise.
+ (gets_year): Likewise.
+ (gets_month): Likewise.
+ (gets_day): Likewise.
+ (gets_day_of_week): Likewise.
+ (gets_day_of_year): Likewise.
+ (gets_week): Likewise.
+ (gets_hours): Likewise.
+ (gets_minutes): Likewise.
+ (gets_seconds): Likewise.
+ (gets_nanoseconds): Likewise.
+ (fill_cobol_tm): Likewise.
+ (__gg__test_formatted_datetime): Likewise.
+ (__gg__integer_of_formatted_date): Likewise.
+ (__gg__seconds_from_formatted_time): Likewise.
+ (__gg__hex_of): Likewise.
+ (__gg__highest_algebraic): Likewise.
+ (__gg__lowest_algebraic): Likewise.
+ (floating_format_tester): Likewise.
+ (__gg__numval_f): Likewise.
+ (__gg__test_numval_f): Likewise.
+ (ismatch): Likewise.
+ (iscasematch): Likewise.
+ (strstr): Likewise.
+ (strcasestr): Likewise.
+ (strlaststr): Likewise.
+ (strcaselaststr): Likewise.
+ (__gg__substitute): Likewise.
+ (__gg__locale_compare): Likewise.
+ (__gg__locale_date): Likewise.
+ (__gg__locale_time): Likewise.
+ (__gg__locale_time_from_seconds): Likewise.
+ * libgcobol.cc (class ec_status_t): Likewise.
+ (__gg__set_truncation_mode): Likewise.
+ (malloc): Likewise.
+ (__gg__mabort): Likewise.
+ (__gg__resize_int_p): Likewise.
+ (__gg__resize_treeplet): Likewise.
+ (var_is_refmod): Likewise.
+ (value_is_too_big): Likewise.
+ (__gg__string_to_alpha_edited_ascii): Likewise.
+ (int128_to_field): Likewise.
+ (edited_to_binary): Likewise.
+ (get_binary_value_local): Likewise.
+ (__gg__get_date_yymmdd): Likewise.
+ (__gg__get_date_yyyymmdd): Likewise.
+ (__gg__get_date_yyddd): Likewise.
+ (__gg__get_yyyyddd): Likewise.
+ (__gg__get_date_dow): Likewise.
+ (get_scaled_rdigits): Likewise.
+ (format_for_display_internal): Likewise.
+ (compare_88): Likewise.
+ (get_float128): Likewise.
+ (compare_field_class): Likewise.
+ (compare_strings): Likewise.
+ (__gg__compare_2): Likewise.
+ (__gg__sort_table): Likewise.
+ (init_var_both): Likewise.
+ (alpha_to_alpha_move_from_location): Likewise.
+ (alpha_to_alpha_move): Likewise.
+ (__gg__move): Likewise.
+ (__gg__move_literala): Likewise.
+ (__gg__sort_workfile): Likewise.
+ (__gg__merge_files): Likewise.
+ (normalize_id): Likewise.
+ (inspect_backward_format_1): Likewise.
+ (__gg__inspect_format_1): Likewise.
+ (inspect_backward_format_2): Likewise.
+ (__gg__inspect_format_2): Likewise.
+ (__gg__inspect_format_4): Likewise.
+ (move_string): Likewise.
+ (__gg__string): Likewise.
+ (display_both): Likewise.
+ (__gg__display_string): Likewise.
+ (__gg__accept): Likewise.
+ (__gg__binary_value_from_qualified_field): Likewise.
+ (__gg__float128_from_qualified_field): Likewise.
+ (float128_to_int128): Likewise.
+ (float128_to_location): Likewise.
+ (__gg__set_initial_switch_value): Likewise.
+ (is_numeric_display_numeric): Likewise.
+ (is_packed_numeric): Likewise.
+ (is_alpha_a_number): Likewise.
+ (__gg__classify): Likewise.
+ (__gg__accept_envar): Likewise.
+ (__gg__set_envar): Likewise.
+ (command_line_plan_b): Likewise.
+ (__gg__get_command_line): Likewise.
+ (__gg__set_pointer): Likewise.
+ (__gg__ascii_to_internal_field): Likewise.
+ (__gg__internal_to_console_in_place): Likewise.
+ (__gg__routine_to_call): Likewise.
+ (__gg__fetch_call_by_value_value): Likewise.
+ (__gg__assign_value_from_stack): Likewise.
+ (__gg__literaln_alpha_compare): Likewise.
+ (string_in): Likewise.
+ (__gg__unstring): Likewise.
+ (local_ec_type_of): Likewise.
+ (struct exception_descr_t): Likewise.
+ (struct cbl_exception_t): Likewise.
+ (cbl_enabled_exception_t: Likewise.: Likewise.dump): Likewise.
+ (__gg__match_exception): Likewise.
+ (__gg__float128_from_location): Likewise.
+ (__gg__integer_from_float128): Likewise.
+ (__gg__set_exception_file): Likewise.
+ (__gg__func_exception_file): Likewise.
+ (__gg__set_exception_code): Likewise.
+ (__gg__is_float_infinite): Likewise.
+ (__gg__float32_from_128): Likewise.
+ (__gg__float32_from_64): Likewise.
+ (__gg__float64_from_128): Likewise.
+ (__gg__copy_as_big_endian): Likewise.
+ (__gg__get_figconst_data): Likewise.
+ (find_in_dirs): Likewise.
+ (__gg__function_handle_from_cobpath): Likewise.
+ (__gg__just_mangle_name): Likewise.
+ (__gg__function_handle_from_literal): Likewise.
+ (__gg__function_handle_from_name): Likewise.
+ (__gg__mirror_range): Likewise.
+ (__gg__deallocate): Likewise.
+ (__gg__allocate): Likewise.
+ (__gg__module_name): Likewise.
+ (__gg__set_env_name): Likewise.
+ (__gg__set_env_value): Likewise.
+ * libgcobol.h (__gg__mabort): Likewise.
+ (massert): Likewise.
+ (PTRCAST): Likewise.
+ (__gg__float128_from_location): Likewise.
+ (__gg__set_exception_file): Likewise.
+ (__gg__binary_value_from_qualified_field): Likewise.
+ (__gg__float128_from_qualified_field): Likewise.
+ * valconv.cc (__gg__realloc_if_necessary): Likewise.
+ (__gg__alphabet_create): Likewise.
+ (__gg__string_to_numeric_edited): Likewise.
+ (__gg__string_to_alpha_edited): Likewise.
+ * valconv.h: Likewise.
+
2025-06-01 Robert Dubner <rdubner@symas.com>
PR cobol/119524
+2025-06-04 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/std/time/format/empty_spec.cc: Only test time zones
+ for cxx11 string ABI.
+
+2025-06-04 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/99832
+ * include/bits/chrono.h (system_clock::to_time_t): Add
+ always_inline attribute to be agnostic to the underlying type of
+ time_t.
+ (system_clock::from_time_t): Add always_inline for consistency
+ with to_time_t.
+ * testsuite/20_util/system_clock/99832.cc: New test.
+
+2025-06-04 Nathan Myers <ncm@cantrip.org>
+
+ PR libstdc++/119741
+ * include/std/sstream: full implementation, really just
+ decls, requires clause and plumbing.
+ * include/bits/version.def, include/bits/version.h:
+ new preprocessor symbol
+ __cpp_lib_sstream_from_string_view.
+ * testsuite/27_io/basic_stringbuf/cons/char/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_istringstream/cons/char/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_ostringstream/cons/char/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_stringstream/cons/char/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_stringbuf/cons/wchar_t/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_istringstream/cons/wchar_t/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_ostringstream/cons/wchar_t/string_view.cc:
+ New tests.
+ * testsuite/27_io/basic_stringstream/cons/wchar_t/string_view.cc:
+ New tests.
+
+2025-06-04 Patrick Palka <ppalka@redhat.com>
+
+ * include/bits/c++config (_GLIBCXX_AUTO_CAST): Define.
+ * include/bits/iterator_concepts.h (_Decay_copy, __decay_copy):
+ Remove.
+ (__member_begin, __adl_begin): Use _GLIBCXX_AUTO_CAST instead of
+ __decay_copy as per P0849R8.
+ * include/bits/ranges_base.h (_Begin): Likewise.
+ (__member_end, __adl_end, _End): Likewise.
+ (__member_rbegin, __adl_rbegin, _RBegin): Likewise.
+ (__member_rend, __adl_rend, _Rend): Likewise.
+ (__member_size, __adl_size, _Size): Likewise.
+ (_Data): Likewise.
+
+2025-06-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * testsuite/std/time/format/empty_spec.cc: New tests.
+
+2025-06-04 Patrick Palka <ppalka@redhat.com>
+
+ * include/bits/ranges_algo.h (__starts_with_fn, starts_with):
+ Define.
+ (__ends_with_fn, ends_with): Define.
+ * include/bits/version.def (ranges_starts_ends_with): Define.
+ * include/bits/version.h: Regenerate.
+ * include/std/algorithm: Provide __cpp_lib_ranges_starts_ends_with.
+ * src/c++23/std.cc.in (ranges::starts_with): Export.
+ (ranges::ends_with): Export.
+ * testsuite/25_algorithms/ends_with/1.cc: New test.
+ * testsuite/25_algorithms/starts_with/1.cc: New test.
+
+2025-06-04 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/semaphore_base.h (_S_get_current): Replace with
+ non-static _M_get_current.
+ (_S_do_try_acquire): Replace with non-static _M_do_try_acquire.
+
+2025-06-04 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/104928
+ * include/bits/semaphore_base.h (_S_do_try_acquire): Take old
+ value by reference.
+ (_M_acquire): Move _S_do_try_acquire call out of the predicate
+ and loop on its result. Make the predicate capture and update
+ the local copy of the value.
+ (_M_try_acquire_until, _M_try_acquire_for): Likewise.
+ (_M_try_acquire): Just call _M_try_acquire_for.
+ * testsuite/30_threads/semaphore/104928-2.cc: New test.
+ * testsuite/30_threads/semaphore/104928.cc: New test.
+
+2025-06-04 Tomasz Kamiński <tkaminsk@redhat.com>
+
+ * include/bits/chrono_io.h (__formatter_chrono:_M_s): Add missing
+ __out argument to format_to call.
+ * testsuite/std/time/format/empty_spec.cc: New test.
+
2025-06-03 Jonathan Wakely <jwakely@redhat.com>
* include/std/stop_token: Check __glibcxx_jthread instead of