]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 28 Apr 2026 00:16:32 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 28 Apr 2026 00:16:32 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/cp/ChangeLog
gcc/po/ChangeLog
gcc/testsuite/ChangeLog
libstdc++-v3/ChangeLog

index 24ab5dfde619de700d9f5dddd071835e751a349a..12bb46f01091dadce542a47d5dd1b277aa9fd4ab 100644 (file)
@@ -1,3 +1,116 @@
+2026-04-27  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       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  <soumyaa@nvidia.com>
+
+       * 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  <philipp.tomsich@vrull.eu>
+
+       * 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  <philipp.tomsich@vrull.eu>
+
+       * ext-dce.cc (ext_dce_try_optimize_extension): Only remove
+       REG_EQUAL/EQUIV notes when validate_change succeeds.
+
+2026-04-27  Soumya AR  <soumyaa@nvidia.com>
+
+       * config/aarch64/tuning_models/generic.h: Update br_mispredict_factor
+       to 7.
+
+2026-04-27  Philipp Tomsich  <philipp.tomsich@vrull.eu>
+
+       * match.pd: Relax single_use for eq/ne when folded constant
+       is zero.
+
+2026-04-27  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       * lra-lives.cc (clear_sparseset_regnos, regnos_in_sparseset_p):
+       Use set instead of dead_set.
+
+2026-04-27  Vladimir N. Makarov  <vmakarov@redhat.com>
+
+       * 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  <vmakarov@redhat.com>
+
+       * 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  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/124886
+       * match.pd ((X * C1) + (X << C2) -> X * (C1 + (1 << C2))): New pattern.
+
+2026-04-27  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       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  <muhammad.kamran@arm.com>
+
+       * 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  <netanelkomm@gmail.com>
+
+       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  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
+
+       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  <andrew.pinski@oss.qualcomm.com>
 
        PR tree-optimization/110262
index 17970483ad045817c8ec7da30be89059a85094bd..bf2612c1d525852a381e895e48d9eb7c8b193b02 100644 (file)
@@ -1 +1 @@
-20260427
+20260428
index 5571e1fd5834727fe6f9af904d5c09f3d4e7240c..c51be716a94f5a41dc0350801d97df7a4efce97e 100644 (file)
@@ -1,3 +1,27 @@
+2026-04-27  Patrick Palka  <ppalka@redhat.com>
+
+       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  <ppalka@redhat.com>
+
+       PR c++/124953
+       * module.cc (trees_in::tree_node) <tt_nttp_var>: 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  <jason@redhat.com>
+
+       PR c++/124910
+       DR 2658
+       * constexpr.cc (reduced_constant_expression_p): Allow a union
+       with no active member.
+
 2026-04-23  Patrick Palka  <ppalka@redhat.com>
 
        * module.cc (trees_out::core_vals) <case PTRMEM_CST>:
index 3bf7edf3f5a923149835ed0f853fcc86d7362787..0e1a8e6c7552ab9498f1fc5957f530c4905f586d 100644 (file)
@@ -1,3 +1,7 @@
+2026-04-27  Joseph Myers  <josmyers@redhat.com>
+
+       * sv.po: Update.
+
 2026-04-22  Joseph Myers  <josmyers@redhat.com>
 
        * gcc.pot: Regenerate.
index 739319d37095735626fbc8fe6e51810b39304952..2cd01582a9c8494481d4076829f4392866c31b07 100644 (file)
@@ -1,3 +1,114 @@
+2026-04-27  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       PR tree-optimization/57650
+       * gcc.target/riscv/pr57650.c: New test.
+
+2026-04-27  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/124978
+       PR c++/115314
+       * g++.dg/cpp2a/nontype-class74.C: New test.
+
+2026-04-27  Patrick Palka  <ppalka@redhat.com>
+
+       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  <philipp.tomsich@vrull.eu>
+
+       * 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  <philipp.tomsich@vrull.eu>
+
+       * gcc.dg/tree-ssa/forwprop-pre-incr-cmp.c: New test.
+
+2026-04-27  Jason Merrill  <jason@redhat.com>
+
+       PR c++/124910
+       DR 2658
+       * g++.dg/cpp2a/constexpr-union12.C: New test.
+
+2026-04-27  Pengxuan Zheng  <pengxuan.zheng@oss.qualcomm.com>
+
+       PR tree-optimization/124886
+       * gcc.dg/tree-ssa/pr124886.c: New test.
+
+2026-04-27  Jeff Law  <jeffrey.law@oss.qualcomm.com>
+
+       PR target/121268
+       * gcc.target/riscv/pr121268.c: New test.
+
+2026-04-27  Muhammad Kamran  <muhammad.kamran@arm.com>
+
+       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  <muhammad.kamran@arm.com>
+
+       * 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  <netanelkomm@gmail.com>
+
+       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  <jakub@redhat.com>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/125025
+       * gcc.dg/torture/pr125025.c: New testcase.
+
+2026-04-27  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/125019
+       * gcc.dg/pr125019.c: New testcase.
+
 2026-04-26  Andrew Pinski  <andrew.pinski@oss.qualcomm.com>
 
        PR tree-optimization/110262
index 759e8280bdd45cc4a108fc91a300ca00b087158f..c8ffba1bed5403035c2cb433792f9f2a32940581 100644 (file)
@@ -1,3 +1,11 @@
+2026-04-27  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <tkaminsk@redhat.com>
 
        * include/bits/chrono.h: Add static_assert requiring cv-unqualified