From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id BBFDB1581EE for ; Tue, 25 Mar 2025 01:27:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A1046343386 for ; Tue, 25 Mar 2025 01:27:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 91C97110296; Tue, 25 Mar 2025 01:27:48 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 865C3110296 for ; Tue, 25 Mar 2025 01:27:48 +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 2F88D34328A for ; Tue, 25 Mar 2025 01:27:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C79B122C for ; Tue, 25 Mar 2025 01:27:46 +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: <1742866047.b2c0fd1b027e6effa08eb2657dc54ce49829a7f0.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/80_all_PR119428.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: b2c0fd1b027e6effa08eb2657dc54ce49829a7f0 X-VCS-Branch: master Date: Tue, 25 Mar 2025 01:27:46 +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: cfa36536-f9c1-4fc7-aee4-35e984e2ffda X-Archives-Hash: 3ab8b8b7dd34536191e0ccecb823dca8 commit: b2c0fd1b027e6effa08eb2657dc54ce49829a7f0 Author: Sam James gentoo org> AuthorDate: Tue Mar 25 01:27:27 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 25 01:27:27 2025 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=b2c0fd1b 15.0.0: add fix for sqlite/e2fsprogs miscompilation Bug: https://gcc.gnu.org/PR119428 Signed-off-by: Sam James gentoo.org> 15.0.0/gentoo/80_all_PR119428.patch | 56 +++++++++++++++++++++++++++++++++++++ 15.0.0/gentoo/README.history | 4 +++ 2 files changed, 60 insertions(+) diff --git a/15.0.0/gentoo/80_all_PR119428.patch b/15.0.0/gentoo/80_all_PR119428.patch new file mode 100644 index 0000000..45b1bf5 --- /dev/null +++ b/15.0.0/gentoo/80_all_PR119428.patch @@ -0,0 +1,56 @@ +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119428#c10 + +2025-03-24 Jakub Jelinek + + PR target/96226 + PR target/119428 + * config/i386/i386.md (splitter after *3_mask, + splitter after *3_mask_1): Revert 2020-12-05 + changes. + + * gcc.c-torture/execute/pr119428.c: New test. + +--- a/gcc/config/i386/i386.md 2025-03-24 11:29:12.271793423 +0100 ++++ b/gcc/config/i386/i386.md 2025-03-24 11:32:14.139305881 +0100 +@@ -18168,7 +18168,8 @@ (define_split + [(set (match_dup 4) (match_dup 1)) + (set (match_dup 0) + (any_rotate:SWI (match_dup 4) +- (subreg:QI (match_dup 2) 0)))] ++ (subreg:QI ++ (and:SI (match_dup 2) (match_dup 3)) 0)))] + "operands[4] = gen_reg_rtx (mode);") + + (define_insn_and_split "*3_mask_1" +@@ -18202,7 +18203,8 @@ (define_split + == GET_MODE_BITSIZE (mode) - 1" + [(set (match_dup 4) (match_dup 1)) + (set (match_dup 0) +- (any_rotate:SWI (match_dup 4) (match_dup 2)))] ++ (any_rotate:SWI (match_dup 4) ++ (and:QI (match_dup 2) (match_dup 3))))] + "operands[4] = gen_reg_rtx (mode);") + + (define_insn_and_split "*3_add" +--- a/gcc/testsuite/gcc.c-torture/execute/pr119428.c 2025-03-24 11:41:31.583658619 +0100 ++++ b/gcc/testsuite/gcc.c-torture/execute/pr119428.c 2025-03-24 11:40:37.884395211 +0100 +@@ -0,0 +1,18 @@ ++/* PR target/119428 */ ++ ++__attribute__((noipa)) void ++foo (unsigned int x, unsigned char *y) ++{ ++ y += x >> 3; ++ *y &= (unsigned char) ~(1 << (x & 0x07)); ++} ++ ++int ++main () ++{ ++ unsigned char buf[8]; ++ __builtin_memset (buf, 0xff, 8); ++ foo (8, buf); ++ if (buf[1] != 0xfe) ++ __builtin_abort (); ++} + diff --git a/15.0.0/gentoo/README.history b/15.0.0/gentoo/README.history index 45773fe..92b88c3 100644 --- a/15.0.0/gentoo/README.history +++ b/15.0.0/gentoo/README.history @@ -1,3 +1,7 @@ +49 ???? + + + 80_all_PR119428.patch + 48 24 March 2025 + 79_all_PR117811-arm-neon-shift.patch