From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53A97158089 for ; Mon, 25 Sep 2023 02:21:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F1692BC02D; Mon, 25 Sep 2023 02:21:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61DD32BC02D for ; Mon, 25 Sep 2023 02:21:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 53957335C87 for ; Mon, 25 Sep 2023 02:21:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A215D125D for ; Mon, 25 Sep 2023 02:21:36 +0000 (UTC) From: "Sam James" 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" Message-ID: <1695608477.9ee25f02fcb2f92884a64becf5ba618da96d6402.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gcc/files/gcc-14.0.0_pre20230806-fix-bootstrap.patch X-VCS-Directories: sys-devel/gcc/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ee25f02fcb2f92884a64becf5ba618da96d6402 X-VCS-Branch: master Date: Mon, 25 Sep 2023 02:21:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 368b607d-c19b-43cc-bb46-c4373cc98d54 X-Archives-Hash: 8ae0cd6a4df46d0416d934860508a085 commit: 9ee25f02fcb2f92884a64becf5ba618da96d6402 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Sep 22 05:45:15 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 25 02:21:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ee25f02 sys-devel/gcc: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/32985 Signed-off-by: Sam James gentoo.org> .../gcc-14.0.0_pre20230806-fix-bootstrap.patch | 105 --------------------- 1 file changed, 105 deletions(-) diff --git a/sys-devel/gcc/files/gcc-14.0.0_pre20230806-fix-bootstrap.patch b/sys-devel/gcc/files/gcc-14.0.0_pre20230806-fix-bootstrap.patch deleted file mode 100644 index 5d5747312b69..000000000000 --- a/sys-devel/gcc/files/gcc-14.0.0_pre20230806-fix-bootstrap.patch +++ /dev/null @@ -1,105 +0,0 @@ -https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=af6cfd7b663909688c6ca55b6e9f859cdde4310f -https://gcc.gnu.org/PR110926 - -From af6cfd7b663909688c6ca55b6e9f859cdde4310f Mon Sep 17 00:00:00 2001 -From: liuhongt -Date: Mon, 7 Aug 2023 11:10:52 +0800 -Subject: [PATCH] Fix ICE in rtl check when bootstrap. -MIME-Version: 1.0 -Content-Type: text/plain; charset=utf8 -Content-Transfer-Encoding: 8bit - -/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c: In function âmatmul_i1_avx512fâ: -/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460 - 1781 | } - | ^ -0x5559de26dc2d rtl_check_failed_type2(rtx_def const*, int, int, int, char const*, int, char const*) - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/rtl.cc:761 -0x5559de340bfe vpternlog_redundant_operand_mask(rtx_def**) - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/i386.cc:19460 -0x5559dfec67a6 split_44 - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:12730 -0x5559dfec67a6 split_63 - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:28428 -0x5559deb8a682 try_split(rtx_def*, rtx_insn*, int) - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3800 -0x5559deb8adf2 try_split(rtx_def*, rtx_insn*, int) - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3972 -0x5559def69194 split_insn - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3385 -0x5559def70c57 split_all_insns() - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3489 -0x5559def70d0c execute - /var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:4413 - -Use INTVAL (imm_op) instead of XINT (imm_op, 0). - -gcc/ChangeLog: - - PR target/110926 - * config/i386/i386-protos.h - (vpternlog_redundant_operand_mask): Adjust parameter type. - * config/i386/i386.cc (vpternlog_redundant_operand_mask): Use - INTVAL instead of XINT, also adjust parameter type from rtx* - to rtx since the function only needs operands[4] in vpternlog - pattern. - (substitute_vpternlog_operands): Pass operands[4] instead of - operands to vpternlog_redundant_operand_mask. - * config/i386/sse.md: Ditto. ---- a/gcc/config/i386/i386-protos.h -+++ b/gcc/config/i386/i386-protos.h -@@ -70,7 +70,7 @@ extern machine_mode ix86_cc_mode (enum rtx_code, rtx, rtx); - extern int avx_vpermilp_parallel (rtx par, machine_mode mode); - extern int avx_vperm2f128_parallel (rtx par, machine_mode mode); - --extern int vpternlog_redundant_operand_mask (rtx[]); -+extern int vpternlog_redundant_operand_mask (rtx); - extern void substitute_vpternlog_operands (rtx[]); - - extern bool ix86_expand_strlen (rtx, rtx, rtx, rtx); ---- a/gcc/config/i386/i386.cc -+++ b/gcc/config/i386/i386.cc -@@ -19454,10 +19454,10 @@ avx_vperm2f128_parallel (rtx par, machine_mode mode) - /* Return a mask of VPTERNLOG operands that do not affect output. */ - - int --vpternlog_redundant_operand_mask (rtx *operands) -+vpternlog_redundant_operand_mask (rtx pternlog_imm) - { - int mask = 0; -- int imm8 = XINT (operands[4], 0); -+ int imm8 = INTVAL (pternlog_imm); - - if (((imm8 >> 4) & 0x0F) == (imm8 & 0x0F)) - mask |= 1; -@@ -19475,7 +19475,7 @@ vpternlog_redundant_operand_mask (rtx *operands) - void - substitute_vpternlog_operands (rtx *operands) - { -- int mask = vpternlog_redundant_operand_mask (operands); -+ int mask = vpternlog_redundant_operand_mask (operands[4]); - - if (mask & 1) /* The first operand is redundant. */ - operands[1] = operands[2]; ---- a/gcc/config/i386/sse.md -+++ b/gcc/config/i386/sse.md -@@ -12751,7 +12751,7 @@ - (match_operand:V 3 "memory_operand") - (match_operand:SI 4 "const_0_to_255_operand")] - UNSPEC_VTERNLOG))] -- "!reload_completed && vpternlog_redundant_operand_mask (operands) == 3" -+ "!reload_completed && vpternlog_redundant_operand_mask (operands[4]) == 3" - [(set (match_dup 0) - (match_dup 3)) - (set (match_dup 0) -@@ -12772,7 +12772,7 @@ - (match_operand:V 3 "nonimmediate_operand") - (match_operand:SI 4 "const_0_to_255_operand")] - UNSPEC_VTERNLOG))] -- "!reload_completed && vpternlog_redundant_operand_mask (operands) != 0" -+ "!reload_completed && vpternlog_redundant_operand_mask (operands[4]) != 0" - [(set (match_dup 0) - (unspec:V - [(match_dup 1) --- -2.39.3