diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24ab5dfde61..12bb46f0109 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,116 @@ +2026-04-27 Jeff Law + + PR tree-optimization/57650 + * config/riscv/zicond.md: Generalize patterns which identify + a logical AND of an equality test and some other sCC insn to + handle more cases. + +2026-04-27 Soumya AR + + * config/aarch64/aarch64-narrow-gp-writes.cc + (narrow_gp_writes::narrow_gp_writes): Remove redundant m_curr_insn + initialization. + (narrow_gp_writes::~narrow_gp_writes): Remove redundant m_curr_insn + de-initialization. + +2026-04-27 Philipp Tomsich + + * ext-dce.cc (promotion_candidate_info): New struct. + (copy_info): New struct. + (promotion_candidates, promotable_dests): New file-scope variables. + (consumed_by_candidate, promotion_copies): Likewise. + (ext_dce_try_promote_operation): New function to promote + sign/zero-extended arithmetic to wider mode. + (ext_dce_record_promotion_candidate): New function to record + promotion candidates for deferred chain analysis. + (ext_dce_promote_chained_candidates): New function to promote + only chained candidates. + (ext_dce_process_uses): Record candidates instead of promoting + immediately; propagate chain info through optimized copies. + (ext_dce_process_bb): Call ext_dce_promote_chained_candidates + after processing all insns in a block. + (ext_dce_init): Allocate chain detection bitmaps. + (ext_dce_finish): Free chain detection data structures. + +2026-04-27 Philipp Tomsich + + * ext-dce.cc (ext_dce_try_optimize_extension): Only remove + REG_EQUAL/EQUIV notes when validate_change succeeds. + +2026-04-27 Soumya AR + + * config/aarch64/tuning_models/generic.h: Update br_mispredict_factor + to 7. + +2026-04-27 Philipp Tomsich + + * match.pd: Relax single_use for eq/ne when folded constant + is zero. + +2026-04-27 Vladimir N. Makarov + + * lra-lives.cc (clear_sparseset_regnos, regnos_in_sparseset_p): + Use set instead of dead_set. + +2026-04-27 Vladimir N. Makarov + + * ira-costs.cc (record_reg_classes): When calculating alt_cost use + the right cost of memory-reg move. + * ira-emit.cc (emit_move_list): Use load cost instead of store for + moving memory to reg. + +2026-04-27 Vladimir N. Makarov + + * ira-build.cc (add_to_conflicts): Use sizeof(ira_object_p) + instead of sizeof(ira_allocno_t) for allocations. + * ira-color.cc (print_hard_reg_set): Fix printing hard reg set. + * ira-emit.cc (allocno_last_set, allocno_last_set_check): Remove + unused static variables. + * ira.cc (combine_and_move_insns): Fix dead note recognition. + (ira_remove_insn_scratches): Use dump_file instead of + ira_dump_file. + * lra-constraints.cc (match_reload): Remove always true condition. + (undo_optional_reloads): Fix recognition of clobber for assertion. + +2026-04-27 Pengxuan Zheng + + PR tree-optimization/124886 + * match.pd ((X * C1) + (X << C2) -> X * (C1 + (1 << C2))): New pattern. + +2026-04-27 Jeff Law + + PR target/121268 + * config/riscv/bitmanip.md: Add splitters to exploit identities + that relate subtraction and bitwise negation on 2's complement + arithmetic. + +2026-04-27 Muhammad Kamran + + * doc/sourcebuild.texi (Scan object metadata with readelf): Document + object-readelf-attributes, object-readelf-attributes-not, + object-readelf-notes, and object-readelf-notes-not as regex-based + checks with optional target/xfail selectors. + +2026-04-27 Netanel Komm + + PR tree-optimization/93556 + * gimple-fold.cc (gimple_fold_builtin_mempcpy): New function. + (gimple_fold_builtin): Handle BUILT_IN_MEMPCPY. + +2026-04-27 Richard Biener + + PR tree-optimization/125025 + * tree-ssa-loop-niter.cc (number_of_iterations_ne): Avoid + negation of most negative signed integer. + (number_of_iterations_lt): Likewise. + +2026-04-27 Richard Biener + + PR tree-optimization/125019 + * tree-vect-loop.cc (vectorizable_recurr): Properly guard + against hitting last stmt when searching for the insertion + place. + 2026-04-26 Andrew Pinski PR tree-optimization/110262 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 17970483ad0..bf2612c1d52 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260427 +20260428 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5571e1fd583..c51be716a94 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,27 @@ +2026-04-27 Patrick Palka + + PR c++/124978 + PR c++/115314 + * semantics.cc (finish_decltype_type): Check REFERENCE_REF_P + instead of INDIRECT_REF_P before stripping implicit dereferences. + +2026-04-27 Patrick Palka + + PR c++/124953 + * module.cc (trees_in::tree_node) : Push the result + of get_template_parm_object to post_load_decls. + (post_load_processing): Call cp_finish_decl on any not yet + completed NTTP objects. + * pt.cc (get_template_parm_object): Don't call cp_finish_decl + when !check_init. + +2026-04-27 Jason Merrill + + PR c++/124910 + DR 2658 + * constexpr.cc (reduced_constant_expression_p): Allow a union + with no active member. + 2026-04-23 Patrick Palka * module.cc (trees_out::core_vals) : diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog index 3bf7edf3f5a..0e1a8e6c755 100644 --- a/gcc/po/ChangeLog +++ b/gcc/po/ChangeLog @@ -1,3 +1,7 @@ +2026-04-27 Joseph Myers + + * sv.po: Update. + 2026-04-22 Joseph Myers * gcc.pot: Regenerate. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 739319d3709..2cd01582a9c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,114 @@ +2026-04-27 Jeff Law + + PR tree-optimization/57650 + * gcc.target/riscv/pr57650.c: New test. + +2026-04-27 Patrick Palka + + PR c++/124978 + PR c++/115314 + * g++.dg/cpp2a/nontype-class74.C: New test. + +2026-04-27 Patrick Palka + + PR c++/124953 + * g++.dg/modules/tpl-nttp-3_a.H: New test. + * g++.dg/modules/tpl-nttp-3_b.C: New test. + +2026-04-27 Philipp Tomsich + + * gcc.target/riscv/ext-dce-promote-2.c: Update to verify both + chain promotions (sh1add, sh3add) and standalone skipping. + * gcc.target/riscv/ext-dce-promote-1.c: New file. + +2026-04-27 Philipp Tomsich + + * gcc.dg/tree-ssa/forwprop-pre-incr-cmp.c: New test. + +2026-04-27 Jason Merrill + + PR c++/124910 + DR 2658 + * g++.dg/cpp2a/constexpr-union12.C: New test. + +2026-04-27 Pengxuan Zheng + + PR tree-optimization/124886 + * gcc.dg/tree-ssa/pr124886.c: New test. + +2026-04-27 Jeff Law + + PR target/121268 + * gcc.target/riscv/pr121268.c: New test. + +2026-04-27 Muhammad Kamran + + PR target/124365 + * gcc.target/aarch64/lto/lto.exp: New DejaGnu test driver for LTO tests + for aarch64. Copied from gcc/testsuite/gcc.target/arm/lto/lto.exp with + minor changes. + * gcc.target/aarch64/lto/pr124365-build-attributes-1_0.c: New test + for build attributes with branch protection. + * gcc.target/aarch64/lto/pr124365-build-attributes-1_1.c: Companion + source file for the LTO test. + * gcc.target/aarch64/lto/pr124365-build-attributes-2_0.c: New test + for build attributes without branch protection. + * gcc.target/aarch64/lto/pr124365-build-attributes-2_1.c: Companion + source file for the LTO test with branch protection enabled. + * gcc.target/aarch64/lto/pr124365-gnu-property-1_0.c: New test for + `.note.gnu.property` with branch protection. + * gcc.target/aarch64/lto/pr124365-gnu-property-1_1.c: Companion + source file for the LTO test. + * gcc.target/aarch64/lto/pr124365-gnu-property-2_0.c: New test for + `.note.gnu.property` without branch protection. + * gcc.target/aarch64/lto/pr124365-gnu-property-2_1.c: Companion + source file for the LTO test with branch protection enabled. + +2026-04-27 Muhammad Kamran + + * lib/lto.exp (object-readelf): Accept a readelf option and a single + regex; match against full readelf output. Keep positive/negative + behaviour via wrappers. + (object-readelf-attributes, object-readelf-attributes-not, + object-readelf-notes, object-readelf-notes-not): Implement as wrappers + over the generic matcher. + * gcc.dg-selftests/dg-final.exp (dg_final_directive_check_num_args): + Update for object-readelf-* wrappers to regex-style arguments (1..3). + * gcc.target/arm/lto/pr61123-enum-size_0.c: Update to use + object-readelf-attributes with a single regex. + +2026-04-27 Netanel Komm + + PR tree-optimization/93556 + * gcc.dg/pr79223.c: Rename to gcc.dg/pr79223-1.c and update scans. + * gcc.dg/tree-prof/val-prof-7.c: Rename to + gcc.dg/tree-prof/val-prof-7-1.c and update scans. + * gcc.dg/tree-ssa/builtins-folding-gimple-3.c: Update scans. + * gcc.dg/builtin-mempcpy-1.c: New test. + * gcc.dg/builtin-mempcpy-2.c: New test. + * gcc.dg/pr79223-2.c: New test. + * gcc.dg/tree-prof/val-prof-7-2.c: New test. + * gcc.dg/tree-ssa/builtins-folding-gimple-4.c: New test. + * gcc.dg/pr79223-1.c: New file. + * gcc.dg/tree-prof/val-prof-7-1.c: New file. + +2026-04-27 Jakub Jelinek + + PR tree-optimization/124988 + * gcc.dg/torture/bitint-95.c: Add bitint effective targets and + guard parts of test which need _BitInt(192) support with + __BITINT_MAXWIDTH__ >= 192. + +2026-04-27 Richard Biener + + PR tree-optimization/125025 + * gcc.dg/torture/pr125025.c: New testcase. + +2026-04-27 Richard Biener + + PR tree-optimization/125019 + * gcc.dg/pr125019.c: New testcase. + 2026-04-26 Andrew Pinski PR tree-optimization/110262 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 759e8280bdd..c8ffba1bed5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2026-04-27 Jakub Jelinek + + PR libstdc++/125024 + * include/std/type_traits (std::is_scalar): For + __cpp_impl_reflection >= 202506L handle is_reflection types as + scalar. + * testsuite/20_util/is_scalar/reflection.cc: New test. + 2026-04-24 Tomasz KamiƄski * include/bits/chrono.h: Add static_assert requiring cv-unqualified