From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1706553-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1041015812D
	for <garchives@archives.gentoo.org>; Mon, 06 Jan 2025 10:03:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EDA85E078A;
	Mon, 06 Jan 2025 10:03:22 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8758BE078A
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 10:03:22 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B4FF933BF39
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 10:03:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D4C1AED
	for <gentoo-commits@lists.gentoo.org>; Mon, 06 Jan 2025 10:03:20 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1736157792.d26e153ec5586afaa1ef59cf063d761156b953fc.sam@gentoo>
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 15.0.0/gentoo/
X-VCS-Repository: proj/gcc-patches
X-VCS-Files: 15.0.0/gentoo/78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch 15.0.0/gentoo/README.history
X-VCS-Directories: 15.0.0/gentoo/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d26e153ec5586afaa1ef59cf063d761156b953fc
X-VCS-Branch: master
Date: Mon, 06 Jan 2025 10:03:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e9874f0c-4d52-4c16-80ba-9f29c9fddf19
X-Archives-Hash: 378f186e8c41e5496ebe2566b1c63faa

commit:     d26e153ec5586afaa1ef59cf063d761156b953fc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 10:03:12 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 10:03:12 2025 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=d26e153e

15.0.0: drop 78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch

Merged upstream.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-conversion-don-t-apply-switch-size-limit.patch | 51 ----------------------
 15.0.0/gentoo/README.history                       |  1 -
 2 files changed, 52 deletions(-)

diff --git a/15.0.0/gentoo/78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch b/15.0.0/gentoo/78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch
deleted file mode 100644
index 20018ef..0000000
--- a/15.0.0/gentoo/78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://inbox.sourceware.org/gcc-patches/20250105172539.906393-1-mark@klomp.org/
-
-From 4e8dc9973c98a8b0c5cfe555221dc7dee5d92662 Mon Sep 17 00:00:00 2001
-Message-ID: <4e8dc9973c98a8b0c5cfe555221dc7dee5d92662.1736136715.git.sam@gentoo.org>
-From: Mark Wielaard <mark@klomp.org>
-Date: Sun, 5 Jan 2025 18:25:39 +0100
-Subject: [PATCH] tree-switch-conversion: don't apply switch size limit on jump
- tables
-
-commit 56946c801a7c ("gimple: Add limit after which slower switchlower
-algs are used [PR117091] [PR117352]") introduced a limit on the number
-of cases of a switch. It also bails out on finding jump tables if the
-switch is too large. This introduces a compile time regression during
-bootstrap. A riscv bootstrap takes hours longer. Particularly
-insn-attrtab.cc will take hours instead of minutes. Fix this by not
-applying the switch size limit on jump tables.
-
-An alternative would be to implement greedy switch clustering for jump
-tables as is done for switch bitmap clustering.
-
-gcc/ChangeLog:
-
-PR tree-optimization/118032
-	* tree-switch-conversion.cc (jump_table_cluster::find_jump_tables):
-	Remove param_switch_lower_slow_alg_max_cases check.
----
- gcc/tree-switch-conversion.cc | 4 ----
- 1 file changed, 4 deletions(-)
-
-diff --git a/gcc/tree-switch-conversion.cc b/gcc/tree-switch-conversion.cc
-index 432970597c97..39a8a893edde 100644
---- a/gcc/tree-switch-conversion.cc
-+++ b/gcc/tree-switch-conversion.cc
-@@ -1643,10 +1643,6 @@ jump_table_cluster::find_jump_tables (vec<cluster *> &clusters)
- 
-   unsigned l = clusters.length ();
- 
--  /* Note: l + 1 is the number of cases of the switch.  */
--  if (l + 1 > (unsigned) param_switch_lower_slow_alg_max_cases)
--    return clusters.copy ();
--
-   auto_vec<min_cluster_item> min;
-   min.reserve (l + 1);
- 
-
-base-commit: 451ff5b58f7c5958f8341160343680262944a63f
-prerequisite-patch-id: cca034489e37f362f6ff4ff1aba0258270153a6a
-prerequisite-patch-id: dcb0315887787c40fae21980c53d20d0b6e234b7
--- 
-2.47.1
-

diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history
index edfaab4..666e4b2 100644
--- a/15.0.0/gentoo/README.history
+++ b/15.0.0/gentoo/README.history
@@ -1,7 +1,6 @@
 37	????
 
 	- 78_all_PR118032-Revert-gimple-Add-limit-after-which-slower-switchlow.patch
-	+ 78_all_PR118032-tree-switch-conversion-don-t-apply-switch-size-limit.patch
 	+ 81_all_PR118199-c-Clear-TARGET_EXPR_ELIDING_P-when-forced-to-use-a-c.patch
 
 36	5 January 2025