summaryrefslogtreecommitdiff
path: root/sys-devel/gcc/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-27 08:42:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-27 08:42:41 +0100
commit0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch)
treeba392915815492b0ce486fc0e3ad5afb4a849b6f /sys-devel/gcc/files
parente30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff)
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'sys-devel/gcc/files')
-rw-r--r--sys-devel/gcc/files/gcc-14.0.0_pre20231001-pgo-bootstrap.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-devel/gcc/files/gcc-14.0.0_pre20231001-pgo-bootstrap.patch b/sys-devel/gcc/files/gcc-14.0.0_pre20231001-pgo-bootstrap.patch
deleted file mode 100644
index 31ad7d855268..000000000000
--- a/sys-devel/gcc/files/gcc-14.0.0_pre20231001-pgo-bootstrap.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-https://bugs.gentoo.org/914998
-https://gcc.gnu.org/PR111642
-https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e465e5e4a969334f64cf0d6611de5273d73ea732
-
-From e465e5e4a969334f64cf0d6611de5273d73ea732 Mon Sep 17 00:00:00 2001
-From: Richard Sandiford <richard.sandiford@arm.com>
-Date: Mon, 2 Oct 2023 07:20:45 +0100
-Subject: [PATCH] Fix profiledbootstrap poly_int fallout [PR111642]
-
-rtl-tests.cc and simplify-rtx.cc used partial specialisation
-to try to restrict the NUM_POLY_INT_COEFFS>1 tests without
-resorting to preprocessor tests. That now triggers an error
-in some configurations, since the NUM_POLY_INT_COEFFS>1 tests
-used the global poly_int64, whose definition does not depend
-on the template parameter.
-
-This patch uses local types that do depend on the template parameter.
-
-gcc/
- PR bootstrap/111642
- * rtl-tests.cc (const_poly_int_tests<N>::run): Use a local
- poly_int64 typedef.
- * simplify-rtx.cc (simplify_const_poly_int_tests<N>::run): Likewise.
---- a/gcc/rtl-tests.cc
-+++ b/gcc/rtl-tests.cc
-@@ -246,6 +246,7 @@ template<unsigned int N>
- void
- const_poly_int_tests<N>::run ()
- {
-+ using poly_int64 = poly_int<N, HOST_WIDE_INT>;
- rtx x1 = gen_int_mode (poly_int64 (1, 1), QImode);
- rtx x255 = gen_int_mode (poly_int64 (1, 255), QImode);
-
---- a/gcc/simplify-rtx.cc
-+++ b/gcc/simplify-rtx.cc
-@@ -8689,6 +8689,7 @@ template<unsigned int N>
- void
- simplify_const_poly_int_tests<N>::run ()
- {
-+ using poly_int64 = poly_int<N, HOST_WIDE_INT>;
- rtx x1 = gen_int_mode (poly_int64 (1, 1), QImode);
- rtx x2 = gen_int_mode (poly_int64 (-80, 127), QImode);
- rtx x3 = gen_int_mode (poly_int64 (-79, -128), QImode);
---
-2.39.3