https://gcc.gnu.org/g:8e28b55c334423961c46aabaf0f36c8be7fae689
commit r16-8403-g8e28b55c334423961c46aabaf0f36c8be7fae689 Author: GCC Administrator <[email protected]> Date: Thu Apr 2 00:16:31 2026 +0000 Daily bump. Diff: --- ChangeLog | 8 ++++ gcc/ChangeLog | 73 ++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 6 +++ gcc/cp/ChangeLog | 14 ++++++ gcc/d/ChangeLog | 17 ++++++++ gcc/fortran/ChangeLog | 20 +++++++++ gcc/testsuite/ChangeLog | 85 +++++++++++++++++++++++++++++++++++++ libphobos/ChangeLog | 12 ++++++ libstdc++-v3/ChangeLog | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 346 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 131f0064fa01..4069580a5294 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2026-04-01 David Faust <[email protected]> + + * MAINTAINERS: Add my bugzilla account. + +2026-04-01 David Faust <[email protected]> + + * MAINTAINERS: Update Qing Zhao email address. + 2026-03-17 Prachi Godbole <[email protected]> * MAINTAINERS: Add myself to write after approval and DCO. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8365fbc4857f..0a8a74764e31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,76 @@ +2026-04-01 Tamar Christina <[email protected]> + Roger Sayle <[email protected]> + + PR target/123238 + * config/aarch64/aarch64.cc (aarch64_rtx_costs) <case NE/EQ>: + Provide improved costs for scalar and vector comparisons. + +2026-04-01 Roger Sayle <[email protected]> + + PR target/123238 + * expr.cc (convert_tree_comp_to_rtx): Make global. + * expr.h (convert_tree_comp_to_rtx): Prototype here. + * internal-fn.cc (expand_vec_cond_mask_optab_fn): Use rtx_costs + to determine whether swapping operands would result in better + code. + * config/i386/i386-expand.cc (ix86_expand_int_vec_cmp): On + AVX512 targets use a ternlog instead of a comparison to negate + the mask (requires one instruction instead of two). + * config/i386/i386.cc (ix86_rtx_costs): Refactor code for UNSPEC. + Provide costs for UNSPEC_BLENDV and UNSPEC_MOVMSK. Provide + costs for comparison operators of integer vector modes. + +2026-04-01 Vladimir N. Makarov <[email protected]> + + PR rtl-optimization/124696 + * lra-constraints.cc (simplify_operand_subreg): Reload + paradoxical subreg only if it requires more than one hard reg. + +2026-04-01 Stefan Schulze Frielinghaus <[email protected]> + + * config/s390/s390.cc (print_operand): Use fputs instead of + fprintf. + +2026-04-01 Sandra Loosemore <[email protected]> + + PR preprocessor/70917 + * doc/invoke.texi (Environment Variables): Clarify that LC_ALL, + LC_CTYPE, LC_MESSAGES, and LANG affect only diagnostics and + informational output from GCC, not the encodings of input and + output files. Remove separate bit-rotten entry for LANG. + +2026-04-01 Andrew Pinski <[email protected]> + + PR tree-optimization/124742 + * tree-ssa-forwprop.cc (optimize_aggr_zeroprop): Exit + if the vdef on the stmt is NULL. + +2026-04-01 H.J. Lu <[email protected]> + + PR middle-end/124697 + * function.cc (assign_parm_adjust_stack_rtl): Force a local copy + if the current alignment is less than the minimum of + BIGGEST_ALIGNMENT and MAX_SUPPORTED_STACK_ALIGNMENT. + +2026-04-01 Richard Biener <[email protected]> + Sandra Loosemore <[email protected]> + + PR middle-end/124634 + * doc/ifn.texi: New file. + * doc/gccint.texi: Include ifn.texi. + * Makefile.in (TEXI_GCCINT_FILES): Add ifn.texi. + +2026-04-01 Sandra Loosemore <[email protected]> + + PR c/61896 + * doc/cppopts.texi (-finput-charset=): Remove long-obsolete + locale discussion. Document behavior about ill-formed inputs. + +2026-04-01 Sandra Loosemore <[email protected]> + + * doc/poly-int.texi: Add copyright notice. + * doc/specs.texi: Likewise. + 2026-03-31 Eric Botcazou <[email protected]> * tree-ssa-dse.cc (compute_trims): Bail out if ref->size is not diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c077e78eada8..b2c8b6a74c2a 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260401 +20260402 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index d4bb05d9ce41..6ebd4f0644d2 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2026-04-01 Martin Uecker <[email protected]> + + PR c/124635 + * c-typeck.cc (c_reconstruct_complex_type): Copy + TYPE_REVERSE_STORAGE_ORDER. + 2026-03-24 Martin Uecker <[email protected]> PR c/123424 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 88ab81d98d40..ff1ecf67a111 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,17 @@ +2026-04-01 Jakub Jelinek <[email protected]> + + * name-lookup.cc (push_local_extern_decl_alias): Diagnose annotations + on local externs and their arguments. + * decl.cc (grokdeclarator): Diagnose annotations on non-defining + friends and their arguments. + +2026-04-01 Jakub Jelinek <[email protected]> + + * mangle.cc (write_reflection): Change ^^:: mangling in grammar + from LDmngE to LDmgsE. + * reflect.cc (reflection_mangle_prefix): Set prefix to "gs" rather + than "ng" for global_namespace. + 2026-03-31 Jakub Jelinek <[email protected]> * reflect.cc (reflect_current_scope): Use decl_namespace_list->last () diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 25847868c87e..69c961be0a6a 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,20 @@ +2026-04-01 Iain Buclaw <[email protected]> + + * dmd/MERGE: Merge upstream dmd 55e64690bc. + * dmd/VERSION: Bump version to v2.113.0-beta.1. + * d-codegen.cc (d_build_call): Check if argument is already a + TARGET_EXPR. + * decl.cc (DeclVisitor::visit (FuncDeclaration *)): Don't use + `__result' decl as named return value if it's a ref type. + * expr.cc (ExprVisitor::visit (StructLiteralExp *)): Force TARGET_EXPR + if init symbol needs to be mutable. + * runtime.def (ARRAYSETLENGTHT): Remove. + (ARRAYSETLENGTHIT): Remove. + (ARRAYCOPY): Remove. + (ARRAYAPPENDCTX): Remove. + * typeinfo.cc (TypeInfoVisitor::visit (TypeInfoClassDeclaration *)): + Only scan class fields for pointer members. + 2026-03-31 Iain Buclaw <[email protected]> * dmd/MERGE: Merge upstream dmd e7c34c13de. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 9d65da3f5895..8276e5ad3a50 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,23 @@ +2026-04-01 Gonzalosilvalde <[email protected]> + + PR fortran/79330 + * decl.cc (gfc_match_subroutine): Set has_import_set when + matching a module procedure inside an interface block. + (gfc_match_function_decl): Likewise. + +2026-04-01 Jerry DeLisle <[email protected]> + + PR fortran/124739 + * io.cc (match_inquire_element): Change tag_id from a + variable tag to an expression tag. + +2026-04-01 Christopher Albert <[email protected]> + + PR fortran/100194 + * trans-expr.cc (gfc_conv_procedure_call): Skip + gfc_conv_subref_array_arg for assumed-rank actual arguments + (e->rank == -1) when the dummy is contiguous. + 2026-03-31 Mikael Morin <[email protected]> Christopher Albert <[email protected]> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f6f7f7c8d16..80df77e6945c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2026-04-01 Jerry DeLisle <[email protected]> + + PR fortran/124739 + * gfortran.dg/pr124739.f90: Change 'run' to 'compile'. + +2026-04-01 Tamar Christina <[email protected]> + Roger Sayle <[email protected]> + + PR target/123238 + * gcc.target/aarch64/pr123238.c: New test case. + +2026-04-01 Roger Sayle <[email protected]> + + PR target/123238 + * gcc.target/i386/pr123238.c: Likewise. + +2026-04-01 Gonzalosilvalde <[email protected]> + + PR fortran/79330 + * gfortran.dg/bind_c_module_proc.f90: New test. + +2026-04-01 Vladimir N. Makarov <[email protected]> + + PR rtl-optimization/124696 + * gcc.target/i386/pr124696.c: New. + +2026-04-01 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/annotations17.C: New test. + +2026-04-01 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/mangle1.C: Expect _Z3barILi310ELDmgsEEvv + rather than _Z3barILi310ELDmngEEvv. + +2026-04-01 Jakub Jelinek <[email protected]> + + * g++.dg/reflect/define_static_array1.C (l): Another variable + with define_static_array test from array<int, 0>. + Add static assertions for types of the define_static_array results. + +2026-04-01 Andrew Pinski <[email protected]> + + PR tree-optimization/124742 + * gcc.dg/torture/pr124742-1.c: New test. + +2026-04-01 H.J. Lu <[email protected]> + + PR middle-end/124697 + * gcc.target/i386/pr120839-1b.c: Adjusted. + * gcc.target/i386/pr124697-1a.c: New test. + * gcc.target/i386/pr124697-1b.c: Likewise. + * gcc.target/i386/pr124697-2a.c: Likewise. + * gcc.target/i386/pr124697-2b.c: Likewise. + * gcc.target/i386/pr124697-3a.c: Likewise. + * gcc.target/i386/pr124697-3b.c: Likewise. + +2026-04-01 Martin Uecker <[email protected]> + + PR c/124635 + * gcc.dg/pr124635.c: New test. + +2026-04-01 Torbjörn SVENSSON <[email protected]> + + PR target/124705 + * gcc.dg/tree-ssa/gen-vect-26.c: Disable loop peeling check for + arm-none-eabi. + * gcc.dg/tree-ssa/gen-vect-28.c: Likewise. + +2026-04-01 Torbjörn SVENSSON <[email protected]> + + PR testsuite/93080 + * gcc.dg/tree-ssa/forwprop-40.c: Xfail for arm_mve. + * gcc.dg/tree-ssa/forwprop-41.c: Likewise. + +2026-04-01 Jerry DeLisle <[email protected]> + + PR fortran/124739 + * gfortran.dg/pr124739.f90: New test. + +2026-04-01 Christopher Albert <[email protected]> + + PR fortran/100194 + * gfortran.dg/pr100194.f90: New test. + 2026-03-31 Jakub Jelinek <[email protected]> * g++.dg/reflect/access_context1.C: Add new tests. diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 3d8695639f41..fde7f1c2e0df 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,15 @@ +2026-04-01 Iain Buclaw <[email protected]> + + * libdruntime/MERGE: Merge upstream druntime 55e64690bc. + * src/MERGE: Merge upstream phobos 0c519ae39. + * src/Makefile.am (PHOBOS_DSOURCES): Add + std/internal/windows/bcrypt.d. + * src/Makefile.in: Regenerate. + * testsuite/libphobos.aa/test_aa.d: Update. + * testsuite/libphobos.phobos/std_array.d: Regenerate. + * testsuite/libphobos.phobos/std_mathspecial.d: Regenerate. + * src/std/internal/windows/bcrypt.d: New file. + 2026-03-31 Iain Buclaw <[email protected]> * libdruntime/MERGE: Merge upstream druntime e7c34c13de. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 88ca086a3a34..422c23c6aa0a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,113 @@ +2026-04-01 Jakub Jelinek <[email protected]> + + * include/std/meta (std::meta::__detail::__statically_sized): New + concept. + (std::meta::define_static_array): Change return type to auto. If + __statically_sized<_Rg>, return span with ranges::size(__r) as + second argument. + +2026-04-01 François Dumont <[email protected]> + Jonathan Wakely <[email protected]> + + * include/bits/cow_string.h + (basic_string::replace(iterator, iterator, _InputIte, _InputIte)): Move + __glibcxx_requires_valid_range to... + (basic_string::_M_replace_dispatch(iterator, iterator, _InputIte, + _InputIte, __fase_type)): ...here. + * testsuite/21_strings/basic_string/debug/append_neg.cc: New test case. + * testsuite/21_strings/basic_string/debug/assign_neg.cc: New test case. + * testsuite/21_strings/basic_string/debug/construct_neg.cc: New test case. + * testsuite/21_strings/basic_string/debug/insert_neg.cc: New test case. + * testsuite/21_strings/basic_string/debug/replace_neg.cc: New test case. + +2026-04-01 Patrick Palka <[email protected]> + + * include/std/ranges (iota_view::_Sentinel): Remove _M_equal and + _M_distance_from. Inline logic into friend operators. + (basic_istream_view::_Iterator): Remove _M_at_end. Inline logic + into operator==. + (transform_view::_Sentinel): Remove __distance_from and __equal. + Inline logic into friend operators. + (join_view::_Sentinel): Remove __equal. Inline logic into operator==. + (lazy_split_view::_OuterIter): Remove __at_end. Inline logic into + operator==. + (split_view::_Sentinel): Remove _M_equal. Inline logic into operator==. + (elements_view::_Sentinel): Remove _M_equal and _M_distance_from. + Inline logic into friend operators. + +2026-04-01 Patrick Palka <[email protected]> + + * include/bits/version.def (ranges_filter): Define for C++20. + * include/bits/version.h: Regenerate. + * include/std/ranges: Provide __cpp_lib_ranges_filter. + (filter_view::_Iterator): Add _Const template parameter. + (filter_view::_Iterator::_S_iter_concept): Return + input_iterator_tag if _Const. + (filter_view::_Iterator::_Parent): New. + (filter_view::_Iterator::_Base): New. + (filter_view::_Iterator::_Vp_iter): Replace with ... + (filter_view::_Iterator::_Base_iter): ... this. + (filter_view::_Iterator::_M_current): Adjust to consider _Const. + (filter_view::_Iterator::_M_parent): Likewise. + (filter_view::_Iterator::value_type): Likewise. + (filter_view::_Iterator::difference_type): Likewise. + (filter_view::_Iterator::_Iterator): Likewise. Add + const-converting overload. + (filter_view::_Iterator::base): Adjust to consider _Const. + (filter_view::_Iterator::operator*): Likewise. + (filter_view::_Iterator::operator->): Likewise. + (filter_view::_Iterator::operator++): Likewise. + (filter_view::_Iterator::operator--): Likewise. + (filter_view::_Iterator::iter_move): Likewise. + (filter_view::_Iterator::iter_swap): Likewise. + (filter_view::_Sentinel): Add _Const template parameter. + (filter_view::_Sentinel::_Parent): New. + (filter_view::_Sentinel::_Base): New. + (filter_view::_Sentinel::_M_end): Adjust to consider _Const. + (filter_view::_Sentinel::_Sentinel): Likewise. Add + const-converting overload. + (filter_view::_Sentinel::base): Adjust to consider _Const. + (filter_view::_Sentinel::operator==): Likewise. Inline the + helper member function __equal. + (filter_view::begin): Adjust return type of non-const overload. + New const overload. + (filter_view::end): Likewise. + * testsuite/std/ranges/adaptors/filter.cc: Verify value of + __cpp_lib_ranges_filter. + (test08): New test. + +2026-04-01 Jonathan Wakely <[email protected]> + + * include/bits/chrono_io.h (__formatter_chrono::_S_empty_fs) + (__formatter_chrono::_M_C_y_Y, __formatter_chrono::_M_D_x) + (__formatter_chrono::_M_F, __formatter_chrono::_M_subsecs) + (__formatter_chrono_info::_M_format_to): Use + _Dynamic_format_string instead of _Runtime_format_string. + * include/bits/version.def (format): Bump value. + * include/bits/version.h: Regenerate. + * include/std/format (_Runtime_format_string): Rename to + _Dynamic_format_string. + (runtime_format): Rename to dynamic_format. + * include/std/print (println): Adjust comment to refer to + dynamic_format instead of runtime_format. + * testsuite/std/format/runtime_format.cc: Move to... + * testsuite/std/format/dynamic_format.cc: ...here. + +2026-04-01 Jonathan Wakely <[email protected]> + + * include/bits/sat_arith.h (add_sat, sub_sat, mul_sat, div_sat) + (saturate_cast): Rename to saturating_xxx as per P4052R0. + * include/bits/version.def (saturation_arithmetic): Bump value. + * include/bits/version.h: Regenerate. + * testsuite/26_numerics/saturation/add.cc: Use new name. + * testsuite/26_numerics/saturation/cast.cc: Likewise. + * testsuite/26_numerics/saturation/div.cc: Likewise. + * testsuite/26_numerics/saturation/extended.cc: Likewise. + * testsuite/26_numerics/saturation/mul.cc: Likewise. + * testsuite/26_numerics/saturation/sub.cc: Likewise. + * testsuite/26_numerics/saturation/version.cc: Check for updated + value. + 2026-03-31 Jakub Jelinek <[email protected]> * include/std/meta (std::meta::data_member_options): Add annotations
