]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 23 Jan 2025 00:25:48 +0000 (00:25 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 23 Jan 2025 00:25:48 +0000 (00:25 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/testsuite/ChangeLog

index d8a87210b828999da69437de0649c41c8d354fcc..a3440b4daecc237170352055009bc0fe38a7152f 100644 (file)
@@ -1,3 +1,33 @@
+2025-01-22  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR rtl-optimization/117186
+       * rtl.h (simplify_context::simplify_logical_relational_operation): Add
+       an invert0_p parameter.
+       * simplify-rtx.cc (unsigned_comparison_to_mask): New function.
+       (mask_to_unsigned_comparison): Likewise.
+       (comparison_code_valid_for_mode): Delete.
+       (simplify_context::simplify_logical_relational_operation): Add
+       an invert0_p parameter.  Handle AND and XOR.  Handle unsigned
+       comparisons.  Handle always-false results.  Ignore the low bit
+       of the mask if the operands are always ordered and remove the
+       then-redundant check of comparison_code_valid_for_mode.  Check
+       for side-effects in the operands before simplifying them away.
+       (simplify_context::simplify_binary_operation_1): Remove
+       simplification of (compare (gt ...) (lt ...)) and instead...
+       (simplify_context::simplify_relational_operation_1): ...handle
+       comparisons of comparisons here.
+       (test_comparisons): New function.
+       (test_scalar_ops): Call it.
+
+2025-01-22  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR target/118184
+       * config/aarch64/aarch64-early-ra.cc (allocno_assignment_is_rmw):
+       New function.
+       (early_ra::record_insn_defs): Mark the live range information as
+       untrustworthy if an assignment would change part of an allocno
+       but preserve the rest.
+
 2025-01-19  Uros Bizjak  <ubizjak@gmail.com>
 
        Backported from master:
index b0aec664e8d7f1675959442f4e22a36de1a0e5eb..3aae2a0a2efed62aee30dd03338222ef5f0ea334 100644 (file)
@@ -1 +1 @@
-20250122
+20250123
index 17d2a943fe73cd57469ada1ec347396202d0fde3..7a4f5e6a3159bc48c4cc7d577baee96de3502067 100644 (file)
@@ -1,3 +1,13 @@
+2025-01-22  Richard Sandiford  <richard.sandiford@arm.com>
+
+       PR rtl-optimization/117186
+       * gcc.dg/torture/pr117186.c: New test.
+       * gcc.target/aarch64/pr117186.c: Likewise.
+
+2025-01-22  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gcc.dg/torture/pr118184.c: New test.
+
 2025-01-21  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/118509