commit:     392befbdf55a2ca0c19b5f1731430f03ef34a9ce
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Oct  2 16:43:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  4 08:26:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=392befbd

sys-devel/kgcc64: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/kgcc64/files/gcc-12.3-ccache-ICE.patch | 67 ------------------------
 1 file changed, 67 deletions(-)

diff --git a/sys-devel/kgcc64/files/gcc-12.3-ccache-ICE.patch 
b/sys-devel/kgcc64/files/gcc-12.3-ccache-ICE.patch
deleted file mode 100644
index 9a170f5db77e..000000000000
--- a/sys-devel/kgcc64/files/gcc-12.3-ccache-ICE.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-https://bugs.gentoo.org/906310
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109850
-https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241
-
-https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=396a4e76afec30d2461638f569cae18955eb4ad2
-
-From 396a4e76afec30d2461638f569cae18955eb4ad2 Mon Sep 17 00:00:00 2001
-From: Jason Merrill <ja...@redhat.com>
-Date: Wed, 22 Mar 2023 16:11:47 -0400
-Subject: [PATCH] c++: local class in nested generic lambda [PR109241]
-
-In this testcase, the tree walk to look for bare parameter packs was
-confused by finding a type with no TREE_BINFO.  But it should be fine that
-it's unset; we already checked for unexpanded packs at parse time.
-
-I also tried doing the partial instantiation of the local class, which is
-probably the long-term direction we want to go, but for stage 4 let's go
-with this safer change.
-
-       PR c++/109241
-
-gcc/cp/ChangeLog:
-
-       * pt.cc (find_parameter_packs_r): Handle null TREE_BINFO.
-
-gcc/testsuite/ChangeLog:
-
-       * g++.dg/cpp1y/lambda-generic-local-class2.C: New test.
---- a/gcc/cp/pt.cc
-+++ b/gcc/cp/pt.cc
-@@ -4106,10 +4106,14 @@ find_parameter_packs_r (tree *tp, int *walk_subtrees, 
void* data)
-     case TAG_DEFN:
-       t = TREE_TYPE (t);
-       if (CLASS_TYPE_P (t))
--      /* Local class, need to look through the whole definition.  */
--      for (tree bb : BINFO_BASE_BINFOS (TYPE_BINFO (t)))
--        cp_walk_tree (&BINFO_TYPE (bb), &find_parameter_packs_r,
--                      ppd, ppd->visited);
-+      {
-+        /* Local class, need to look through the whole definition.
-+           TYPE_BINFO might be unset for a partial instantiation.  */
-+        if (TYPE_BINFO (t))
-+          for (tree bb : BINFO_BASE_BINFOS (TYPE_BINFO (t)))
-+            cp_walk_tree (&BINFO_TYPE (bb), &find_parameter_packs_r,
-+                          ppd, ppd->visited);
-+      }
-       else
-       /* Enum, look at the values.  */
-       for (tree l = TYPE_VALUES (t); l; l = TREE_CHAIN (l))
---- /dev/null
-+++ b/gcc/testsuite/g++.dg/cpp1y/lambda-generic-local-class2.C
-@@ -0,0 +1,13 @@
-+// PR c++/109241
-+// { dg-do compile { target c++14 } }
-+// { dg-options "" } no pedantic
-+
-+void g() {
-+  [](auto) {
-+    [](auto) {
-+      ({
-+        struct A {};
-+      });
-+    };
-+  }(1);
-+}
--- 
-2.31.1

Reply via email to