commit:     117d5d309ef1c5e11687e9e0a7e2965dcd9e1a1e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 14 13:37:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 14 13:37:16 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=117d5d30

15.0.0: fix linux (and libtiff) build

Bug: https://gcc.gnu.org/PR119287
Signed-off-by: Sam James <sam <AT> gentoo.org>

 15.0.0/gentoo/77_all_PR119287-linux.patch | 28 ++++++++++++++++++++++++++++
 15.0.0/gentoo/README.history              |  1 +
 2 files changed, 29 insertions(+)

diff --git a/15.0.0/gentoo/77_all_PR119287-linux.patch 
b/15.0.0/gentoo/77_all_PR119287-linux.patch
new file mode 100644
index 0000000..916edfa
--- /dev/null
+++ b/15.0.0/gentoo/77_all_PR119287-linux.patch
@@ -0,0 +1,28 @@
+From f58aa2cfa49c226f7233995e5359954512ee97c0 Mon Sep 17 00:00:00 2001
+Message-ID: 
<f58aa2cfa49c226f7233995e5359954512ee97c0.1741959406.git....@gentoo.org>
+From: Sam James <[email protected]>
+Date: Fri, 14 Mar 2025 13:36:44 +0000
+Subject: [PATCH] PR119287
+
+---
+ gcc/match.pd | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gcc/match.pd b/gcc/match.pd
+index 89612d1b15b6..98f637373242 100644
+--- a/gcc/match.pd
++++ b/gcc/match.pd
+@@ -5284,7 +5284,7 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
+        || tree_int_cst_sgn (@2) >= 0)
+       && wi::to_wide (@3) == wi::set_bit_in_zero (shift, prec))
+     (with { auto mask = wide_int::from (wi::to_wide (@2), prec, UNSIGNED); }
+-     (bit_and @0 { wide_int_to_tree (type, mask << shift); }))))))
++     (bit_and (convert @0) { wide_int_to_tree (type, mask << shift); }))))))
+ 
+ /* ~(~X >> Y) -> X >> Y (for arithmetic shift).  */
+ (simplify
+
+base-commit: 5abe571e0276fafcc6eed27c27abb28943e67c6f
+-- 
+2.48.1
+

diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history
index c66ebe8..0bfc61e 100644
--- a/15.0.0/gentoo/README.history
+++ b/15.0.0/gentoo/README.history
@@ -1,5 +1,6 @@
 47     ????
 
+       + 77_all_PR119287-linux.patch
        - 80_all_PR81358-Enable-automatic-linking-of-libatomic.patch
 
 46     17 February 2025

Reply via email to