https://gcc.gnu.org/g:ed65ae6c9e7862c49554da54e90c8bb304748142
commit r16-159-ged65ae6c9e7862c49554da54e90c8bb304748142 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sat Apr 26 00:19:18 2025 +0000 Daily bump. Diff: --- contrib/ChangeLog | 4 ++ gcc/ChangeLog | 69 ++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 ++ gcc/cp/ChangeLog | 15 ++++ gcc/fortran/ChangeLog | 13 ++++ gcc/testsuite/ChangeLog | 165 +++++++++++++++++++++++++++++++++++++++++++ libgcc/ChangeLog | 8 +++ libgomp/ChangeLog | 39 ++++++++++ libstdc++-v3/ChangeLog | 140 ++++++++++++++++++++++++++++++++++++ maintainer-scripts/ChangeLog | 5 ++ 11 files changed, 464 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index e7a4cab7f3e9..279158f5b979 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2025-04-25 Jakub Jelinek <ja...@redhat.com> + + * gennews (files): Add files for GCC 15. + 2025-04-17 Jakub Jelinek <ja...@redhat.com> * gcc-changelog/git_update_version.py (active_refs): Add diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8d412b6bf5f5..3ab7f5692bb4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,72 @@ +2025-04-25 Dimitar Dimitrov <dimi...@dinux.eu> + + * doc/sourcebuild.texi: Document variadic_mi_thunk effective + target check. + +2025-04-25 Dimitar Dimitrov <dimi...@dinux.eu> + + * doc/sourcebuild.texi: Document effective target + using_sjlj_exceptions. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + + * match.pd: Move `(cmp (cond @0 @1 @2) @3)` simplifcation after + the bool comparison simplifications. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + + * gimple.h (gimple_cond_make_false): Fix comment. + (gimple_cond_make_true): Likewise. + (gimple_cond_true_p): Fix spello for statement in comment. + +2025-04-25 Jason Merrill <ja...@redhat.com> + + * common.opt: Add ABI v21. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + + * ipa-icf.cc (sem_function::sem_function): Remove + the obstack argument version one. + (sem_variable::sem_variable): Likewise. + * ipa-icf.h (sem_function): Remove ctor for + obstack argument only one. + (sem_variable): Likewise. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + + * ipa-icf.cc (sem_function::init): Remove assignment of node from itself. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/119811 + * tree-ssa-phiopt.cc: Remove calls.h include. + +2025-04-25 Andre Vieira <andre.simoesdiasvie...@arm.com> + + PR rtl-optimization/116479 + * modulo-sched.cc (doloop_register_get): Reject conditions with + decrements that are not 1. + +2025-04-25 Jakub Jelinek <ja...@redhat.com> + + PR target/119873 + * config/s390/s390.cc (s390_call_saved_register_used): Don't return + true if default definition of PARM_DECL SSA_NAME of the same register + is passed in call saved register in the PARALLEL case either. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119737 + * config/gcn/gcn.cc (gcn_hsa_declare_function_name): Properly + switch sections. + +2025-04-25 Yuriy Kolerov <yuriy.kole...@synopsys.com> + + PR target/119122 + * common/config/riscv/riscv-common.cc (riscv_implied_info): Add a rule + for Zca to C implication. + 2025-04-24 Jakub Jelinek <ja...@redhat.com> Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c872ff4955ee..61358ebeeff9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250425 +20250426 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2d8ef50b0391..732b2c95d8e7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2025-04-25 Jason Merrill <ja...@redhat.com> + + * c-opts.cc (c_common_post_options): Bump default ABI to 21 + and compat ABI to 18. + 2025-04-06 Sandra Loosemore <sloosem...@baylibre.com> * c.opt.urls: Regenerate. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cd128e27f623..d092553b2d8d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,18 @@ +2025-04-25 Jason Merrill <ja...@redhat.com> + + PR c++/119764 + PR c++/87185 + * lambda.cc (insert_capture_proxy): Handle noexcept lambda. + (prune_lambda_captures): Likewise, in ABI v21. + +2025-04-25 Jason Merrill <ja...@redhat.com> + + * cp-tree.h (struct tinst_level): Add had_errors bit. + * pt.cc (push_tinst_level_loc): Clear it. + (pop_tinst_level): Set it. + (reopen_tinst_level): Check it. + (instantiate_pending_templates): Call limit_bad_template_recursion. + 2025-04-24 Jason Merrill <ja...@redhat.com> PR c++/116954 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7c6a41566950..e6ecc8dfe7db 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,16 @@ +2025-04-25 Harald Anlauf <anl...@gmx.de> + + PR fortran/102900 + * trans-decl.cc (gfc_generate_function_code): Use sym->result + when generating fake result decl for functions returning + allocatable or pointer results. + * trans-expr.cc (gfc_conv_procedure_call): When checking the + pointer status of an actual argument passed to a non-allocatable, + non-pointer dummy which is of type CLASS, do not check the + class container of the actual if it is just a procedure pointer. + (gfc_trans_pointer_assignment): Fix treatment of assignment to + NULL of a procedure pointer. + 2025-04-23 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/119200 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 47666a911bfb..9896f7f7d63b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,168 @@ +2025-04-25 Dimitar Dimitrov <dimi...@dinux.eu> + + * g++.dg/ipa/pr83549.C: Require effective target + variadic_mi_thunk. + * g++.dg/ipa/pr83667.C: Ditto. + * g++.dg/torture/pr81812.C: Ditto. + * g++.old-deja/g++.jason/thunk3.C: Ditto. + * lib/target-supports.exp + (check_effective_target_variadic_mi_thunk): New function. + +2025-04-25 Dimitar Dimitrov <dimi...@dinux.eu> + + * c-c++-common/musttail14.c: Disable test if effective target + using_sjlj_exceptions. + * c-c++-common/musttail22.c: Ditto. + * g++.dg/musttail8.C: Ditto. + * g++.dg/musttail9.C: Ditto. + * g++.dg/opt/musttail3.C: Ditto. + * g++.dg/opt/musttail4.C: Ditto. + * g++.dg/opt/musttail5.C: Ditto. + * g++.dg/opt/pr119613.C: Ditto. + * lib/target-supports.exp + (check_effective_target_using_sjlj_exceptions): New check. + +2025-04-25 Harald Anlauf <anl...@gmx.de> + + PR fortran/102900 + * gfortran.dg/proc_ptr_52.f90: Add -fcheck=pointer to options. + * gfortran.dg/proc_ptr_57.f90: New test. + +2025-04-25 Jason Merrill <ja...@redhat.com> + + PR c++/119764 + PR c++/87185 + * g++.dg/cpp0x/lambda/lambda-noexcept1.C: New test. + +2025-04-25 Jason Merrill <ja...@redhat.com> + + * g++.dg/abi/macro0.C: Update for -fabi-version=21. + +2025-04-25 Robert Dubner <rdub...@symas.com> + + * cobol.dg/group2/88_level_with_FALSE_IS_clause.cob: New testcase. + * cobol.dg/group2/88_level_with_FILLER.cob: Likewise. + * cobol.dg/group2/88_level_with_THRU.cob: Likewise. + * cobol.dg/group2/ADD_CORRESPONDING.cob: Likewise. + * cobol.dg/group2/ADD_SUBTRACT_CORR_mixed_fix___float.cob: Likewise. + * cobol.dg/group2/ALPHABETIC-LOWER_test.cob: Likewise. + * cobol.dg/group2/ALPHABETIC_test.cob: Likewise. + * cobol.dg/group2/ALPHABETIC-UPPER_test.cob: Likewise. + * cobol.dg/group2/BLANK_WHEN_ZERO.cob: Likewise. + * cobol.dg/group2/Check_for_equality_of_COMP-1___COMP-2.cob: Likewise. + * cobol.dg/group2/Compare_COMP-2_with_floating-point_literal.cob: Likewise. + * cobol.dg/group2/Contained_program_visibility__3_.cob: Likewise. + * cobol.dg/group2/Contained_program_visibility__4_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__1_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__2_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__3_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__4_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__5_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__6_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__7_.cob: Likewise. + * cobol.dg/group2/Context_sensitive_words__8_.cob: Likewise. + * cobol.dg/group2/debugging_lines__not_active_.cob: Likewise. + * cobol.dg/group2/debugging_lines__WITH_DEBUGGING_MODE_.cob: Likewise. + * cobol.dg/group2/DEBUG_Line.cob: Likewise. + * cobol.dg/group2/DISPLAY_and_assignment_NumericDisplay.cob: Likewise. + * cobol.dg/group2/DISPLAY_data_items_with_MOVE_statement.cob: Likewise. + * cobol.dg/group2/DISPLAY_data_items_with_VALUE_clause.cob: Likewise. + * cobol.dg/group2/DISPLAY_literals__DECIMAL-POINT_is_COMMA.cob: Likewise. + * cobol.dg/group2/GLOBAL_at_lower_level.cob: Likewise. + * cobol.dg/group2/GLOBAL_at_same_level.cob: Likewise. + * cobol.dg/group2/GLOBAL_FD__1_.cob: Likewise. + * cobol.dg/group2/GLOBAL_FD__2_.cob: Likewise. + * cobol.dg/group2/GLOBAL_FD__3_.cob: Likewise. + * cobol.dg/group2/GLOBAL_FD__4_.cob: Likewise. + * cobol.dg/group2/Hexadecimal_literal.cob: Likewise. + * cobol.dg/group2/integer_arithmetic_on_floating-point_var.cob: Likewise. + * cobol.dg/group2/MULTIPLY_BY_literal_in_INITIAL_program.cob: Likewise. + * cobol.dg/group2/Named_conditionals_-_fixed__float__and_alphabetic.cob: Likewise. + * cobol.dg/group2/Numeric_operations__1_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__2_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__3_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__4_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__5_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__7_.cob: Likewise. + * cobol.dg/group2/Numeric_operations__8_.cob: Likewise. + * cobol.dg/group2/ROUNDED_AWAY-FROM-ZERO.cob: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-AWAY-FROM-ZERO.cob: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-EVEN.cob: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-TOWARD-ZERO.cob: Likewise. + * cobol.dg/group2/ROUNDED_TOWARD-GREATER.cob: Likewise. + * cobol.dg/group2/ROUNDED_TOWARD-LESSER.cob: Likewise. + * cobol.dg/group2/ROUNDED_TRUNCATION.cob: Likewise. + * cobol.dg/group2/ROUNDING_omnibus_Floating-Point_from_COMPUTE.cob: Likewise. + * cobol.dg/group2/ROUNDING_omnibus_NumericDisplay_from_COMPUTE.cob: Likewise. + * cobol.dg/group2/Separate_sign_positions__1_.cob: Likewise. + * cobol.dg/group2/Separate_sign_positions__2_.cob: Likewise. + * cobol.dg/group2/Simple_p-scaling.cob: Likewise. + * cobol.dg/group2/Simple_TYPEDEF.cob: Likewise. + * cobol.dg/group2/ADD_SUBTRACT_CORR_mixed_fix___float.out: New known-good result. + * cobol.dg/group2/BLANK_WHEN_ZERO.out: Likewise. + * cobol.dg/group2/Contained_program_visibility__4_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__1_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__2_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__3_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__4_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__5_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__6_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__7_.out: Likewise. + * cobol.dg/group2/Context_sensitive_words__8_.out: Likewise. + * cobol.dg/group2/debugging_lines__not_active_.out: Likewise. + * cobol.dg/group2/debugging_lines__WITH_DEBUGGING_MODE_.out: Likewise. + * cobol.dg/group2/DEBUG_Line.out: Likewise. + * cobol.dg/group2/DISPLAY_and_assignment_NumericDisplay.out: Likewise. + * cobol.dg/group2/DISPLAY_data_items_with_MOVE_statement.out: Likewise. + * cobol.dg/group2/DISPLAY_data_items_with_VALUE_clause.out: Likewise. + * cobol.dg/group2/DISPLAY_literals__DECIMAL-POINT_is_COMMA.out: Likewise. + * cobol.dg/group2/GLOBAL_at_lower_level.out: Likewise. + * cobol.dg/group2/GLOBAL_at_same_level.out: Likewise. + * cobol.dg/group2/Hexadecimal_literal.out: Likewise. + * cobol.dg/group2/Named_conditionals_-_fixed__float__and_alphabetic.out: Likewise. + * cobol.dg/group2/ROUNDED_AWAY-FROM-ZERO.out: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-AWAY-FROM-ZERO.out: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-EVEN.out: Likewise. + * cobol.dg/group2/ROUNDED_NEAREST-TOWARD-ZERO.out: Likewise. + * cobol.dg/group2/ROUNDED_TOWARD-GREATER.out: Likewise. + * cobol.dg/group2/ROUNDED_TOWARD-LESSER.out: Likewise. + * cobol.dg/group2/ROUNDED_TRUNCATION.out: Likewise. + * cobol.dg/group2/ROUNDING_omnibus_Floating-Point_from_COMPUTE.out: Likewise. + * cobol.dg/group2/ROUNDING_omnibus_NumericDisplay_from_COMPUTE.out: Likewise. + * cobol.dg/group2/Separate_sign_positions__1_.out: Likewise. + * cobol.dg/group2/Separate_sign_positions__2_.out: Likewise. + * cobol.dg/group2/Simple_p-scaling.out: Likewise. + +2025-04-25 Andre Vieira <andre.simoesdiasvie...@arm.com> + + * gcc.dg/pr116479.c: New test. + +2025-04-25 Jakub Jelinek <ja...@redhat.com> + + PR target/119873 + * gcc.target/s390/pr119873-5.c: New test. + +2025-04-25 Jason Merrill <ja...@redhat.com> + + * g++.dg/template/recurse5.C: New test. + +2025-04-25 Yuriy Kolerov <yuriy.kole...@synopsys.com> + + PR target/119122 + * gcc.target/riscv/arch-25.c: Fix dg-error expectation. + * gcc.target/riscv/attribute-c-1.c: New test. + * gcc.target/riscv/attribute-c-2.c: New test. + * gcc.target/riscv/attribute-c-3.c: New test. + * gcc.target/riscv/attribute-c-4.c: New test. + * gcc.target/riscv/attribute-c-5.c: New test. + * gcc.target/riscv/attribute-c-6.c: New test. + * gcc.target/riscv/attribute-c-7.c: New test. + * gcc.target/riscv/attribute-c-8.c: New test. + * gcc.target/riscv/attribute-zce-1.c: Update Zce tests. + * gcc.target/riscv/attribute-zce-2.c: Likewise. + * gcc.target/riscv/attribute-zce-3.c: Likewise + * gcc.target/riscv/attribute-zce-4.c: Likewise. + 2025-04-24 Jakub Jelinek <ja...@redhat.com> Stefan Schulze Frielinghaus <stefa...@gcc.gnu.org> diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 66feed59ee5d..dc9077952590 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,11 @@ +2025-04-25 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119853 + PR target/119854 + * config/gcn/crt0.c (_fini_array): Call + '__GCC_offload___cxa_finalize'. + * config/nvptx/gbl-ctors.c (__static_do_global_dtors): Likewise. + 2025-04-19 Jiaxun Yang <jiaxun.y...@flygoat.com> PR target/118257 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 49a62d4637a6..d7f2a1abd4e4 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,42 @@ +2025-04-25 Andrew Stubbs <a...@baylibre.com> + + * testsuite/libgomp.c/interop-hsa.c: New test. + +2025-04-25 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119853 + PR target/119854 + * target-cxa-dso-dtor.c: New. + * config/accel/target-cxa-dso-dtor.c: Likewise. + * Makefile.am (libgomp_la_SOURCES): Add it. + * Makefile.in: Regenerate. + * testsuite/libgomp.c++/target-cdtor-1.C: New. + * testsuite/libgomp.c++/target-cdtor-2.C: Likewise. + +2025-04-25 Thomas Schwinge <tschwi...@baylibre.com> + + * testsuite/libgomp.c-c++-common/target-cdtor-1.c: New. + +2025-04-25 Andrew Pinski <quic_apin...@quicinc.com> + Thomas Schwinge <tschwi...@baylibre.com> + + PR target/119737 + * testsuite/libgomp.c++/target-exceptions-throw-1.C: Remove + PR119737 XFAILing. + * testsuite/libgomp.c++/target-exceptions-throw-2.C: Likewise. + * testsuite/libgomp.oacc-c++/exceptions-throw-1.C: Likewise. + * testsuite/libgomp.oacc-c++/exceptions-throw-2.C: Likewise. + +2025-04-25 Thomas Schwinge <tschwi...@baylibre.com> + + PR target/118794 + * testsuite/libgomp.c++/target-exceptions-pr118794-1.C: Adjust for + 'targetm.arm_eabi_unwinder'. + * testsuite/libgomp.c++/target-exceptions-pr118794-1-offload-sorry-GCN.C: + Likewise. + * testsuite/libgomp.c++/target-exceptions-pr118794-1-offload-sorry-nvptx.C: + Likewise. + 2025-04-24 Tobias Burnus <tbur...@baylibre.com> * testsuite/lib/libgomp.exp diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6433d3f01679..7458220f6ca0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,143 @@ +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/ptr_traits.h (to_address): Use markdown for + formatting in Doxygen comments. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * src/c++11/Makefile.am: Add prerequisites for targets that + depend on string-inst.cc. + * src/c++11/Makefile.in: Regenerate. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/move.h (addressof): Use __builtin_addressof + directly. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: + Remove dg-error directives for additional c++26 errors. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * include/std/latch (latch::_M_a): Rename to _M_counter. + +2025-04-25 Tomasz Kamiński <tkami...@redhat.com> + + PR libstdc++/109162 + * include/bits/formatfwd.h (__simply_formattable_range): Moved from + std/format. + * include/std/format (__formatter_str::_format): Extracted escaped + string handling to separate method... + (__formatter_str::_M_format_escaped): Use __Padding_sink. + (__formatter_str::_M_format): Adjusted implementation. + (__formatter_str::_S_trunc): Extracted as namespace function... + (__format::_truncate): Extracted from __formatter_str::_S_trunc. + (__format::_Seq_sink): Removed forward declarations, made members + protected and non-final. + (_Seq_sink::_M_trim): Define. + (_Seq_sink::_M_span): Renamed from view. + (_Seq_sink::view): Returns string_view instead of span. + (__format::_Str_sink): Moved after _Seq_sink. + (__format::__format_padded): Use _Padding_sink. + * testsuite/std/format/debug.cc: Add timeout and new tests. + * testsuite/std/format/ranges/sequence.cc: Specify unicode as + encoding and new tests. + * testsuite/std/format/ranges/string.cc: Likewise. + * testsuite/std/format/tuple.cc: Likewise. + +2025-04-25 Tomasz Kamiński <tkami...@redhat.com> + + * testsuite/std/format/ranges/adaptors.cc: Updated test. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * testsuite/22_locale/ctype/is/string/89728_neg.cc: Remove + dg-error for c++98_only effective target. + +2025-04-25 Tomasz Kamiński <tkami...@redhat.com> + + PR libstdc++/119918 + * include/bits/formatfwd.h (__format::_Align): Moved from std/format. + (std::__throw_format_error, __format::__formatter_str) + (__format::__formatter_ptr): Declare. + * include/std/format (__format::_Align): Moved to bits/formatfwd.h. + (__formatter_int::__formatter_int): Define. + (__format::__formatter_ptr): Extracted from formatter for const void*. + (std::formatter<const void*, _CharT>, formatter<void*, _CharT>) + (std::formatter<nullptr_t, _CharT>): Delegate to __formatter_ptr<_CharT>. + * include/std/thread (std::formatter<thread::id, _CharT>): Constrain + _CharT template parameter. + (formatter<thread::id, _CharT>::parse): Specify default aligment, and + qualify __throw_format_error to disable ADL. + (formatter<thread::id, _CharT>::format): Use formatters to write directly + to output. + * testsuite/30_threads/thread/id/output.cc: Tests for formatting thread::id + representing not-a-thread with padding and formattable concept. + +2025-04-25 Tomasz Kamiński <tkami...@redhat.com> + + PR libstdc++/109162 + * include/bits/version.def (format_ranges): Remove no_stdname and + update value. + * include/bits/version.h: Regenerate. + * src/c++23/std.cc.in: Replace __glibcxx_format_ranges with + __cpp_lib_format_ranges. + * testsuite/std/format/formatter/lwg3944.cc: Likewise. + * testsuite/std/format/parse_ctx.cc: Likewise. + * testsuite/std/format/string.cc: Likewise. + * testsuite/std/format/ranges/feature_test.cc: New test. + +2025-04-25 Tomasz Kamiński <tkami...@redhat.com> + + PR libstdc++/109162 + * include/bits/formatfwd.h (__format::__parsable_with) + (__format::__formattable_with, __format::__formattable_impl) + (__format::__has_debug_format, __format::__const_formattable_range) + (__format::__maybe_const_range, __format::__maybe_const) + (std::formattable): Moved from std/format. + (__format::Iter_for, std::range_formatter): Forward declare. + * include/bits/stl_queue.h (std::formatter): Forward declare. + (std::queue, std::priority_queue): Befriend formatter specializations. + * include/bits/stl_stack.h (std::formatter): Forward declare. + (std::stack): Befriend formatter specializations. + * include/std/format (__format::_Iter_for): Define as struct with + (__format::__parsable_with, __format::__formattable_with) + (__format::__formattable_impl, __format::__has_debug_format) + (_format::__const_formattable_range, __format::__maybe_const_range) + (__format::__maybe_const, std::formattable): Moved to bits/formatfwd.h. + (std::range_formatter): Remove default argument specified in declaration + in bits/formatfwd.h. + * include/std/queue: Include bits/version.h before bits/stl_queue.h. + (formatter<queue<_Tp, _Container, _Compare>, _CharT>) + (formatter<priority_queue<_Tp, _Container, _Compare>, _CharT>): Define. + * include/std/stack: Include bits/version.h before bits/stl_stack.h + (formatter<stack<_Tp, _Container, _Compare>, _CharT>): Define. + * testsuite/std/format/ranges/adaptors.cc: New test. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * include/std/future (__future_base::_Task_state): Check + invocable requirement here. + (__future_base::_Task_state::_S_create): New static member + function. + (__future_base::_Task_state::_M_reset): Use _S_create. + (__create_task_state): Remove. + (packaged_task): Use _Task_state::_S_create instead of + __create_task_state. + * testsuite/30_threads/packaged_task/cons/dangling_ref.cc: + Adjust dg-error patterns. + * testsuite/30_threads/packaged_task/cons/lwg4154_neg.cc: + Likewise. + +2025-04-25 Jonathan Wakely <jwak...@redhat.com> + + * include/bits/stl_tree.h (_Rb_tree::_M_key_compare): New member + function to invoke comparison function. + (_Rb_tree): Use new member function instead of accessing the + comparison function directly. + 2025-04-24 Jonathan Wakely <jwak...@redhat.com> * testsuite/23_containers/forward_list/48101_neg.cc: Remove diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 3c331994a20e..f8b9f8dabb31 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2025-04-25 Jakub Jelinek <ja...@redhat.com> + + * gcc_release: Allow optional \[[0-9]+\] before GCC major.minor + in the NEWS file. + 2025-04-17 Jakub Jelinek <ja...@redhat.com> * crontab: Snapshots from trunk are now GCC 16 related.