summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest1
-rw-r--r--sys-devel/gcc/files/gcc-14.0.1_pre20240303-uninit.patch48
2 files changed, 0 insertions, 49 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 6a53567ca5b9..667f7428846b 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -1,5 +1,4 @@
AUX gcc-13-fix-cross-fixincludes.patch 854 BLAKE2B 3dc52dc6b1ed7e86ae5a0a48b79dc5020f2abcbb4db6735479595ce88e259eb8fe933a5619408a29997c00966481f5b3cd3a412eb63517aa26b6babb3afac612 SHA512 666f9343594c5ffa4ea01e7cbfb8c79d95ffc3a5215dbc16a3f964cb73de552863aa578758d2ffcb0dfd36764ec65389b5abacf6dd12c941c129f39c8117fff2
-AUX gcc-14.0.1_pre20240303-uninit.patch 2047 BLAKE2B edad64293826366fc668da1926dd7a860ee4acb77771cacba043a1ccea3fe1886b4cbc586012026f57e610a0bbebc08120d693786e0cd49c50c80693ced75447 SHA512 9de6b5182086a0abebd8e171ab3b3a9775dac2408684acf27e2d92dce0c44e1622197a00ca72319a0ad4f173279313d6a560f0dbcce8368bc57bb8735bff792f
AUX gcc-14.0.1_pre20240324-PR114439.patch 2806 BLAKE2B a8232abbca4da3a280085d11319f31ba4829439b6121c8a22b91e57487275560f9d4399fb079e53b08155b94392f57434480a508f2ed629ed1a132d9b2251972 SHA512 7e8ad80cc927d15837f6b5ea1c14f1441fecb2ebaeb51c9f84f49a01673b89b6ab8852a4e251d154235f0724267156dfbddb9707d1d15ac5f9de41107d930f45
AUX gcc-configure-texinfo.patch 341 BLAKE2B d2ea3b2ea08f5d3a498ba27d0fb95e325097e2104e55caa28b66515cb48662649140d90b639369aedc54b2b1178fa4b49cda442f5f504e09d88a2efa45a5057c SHA512 e8d34c5077409df5495cf0c5fbf5e77f841c5698108fa6a5fde33eb28202c685603bdefd8368918e55f30c4b995e895d71d64c715c1ec2b017e09eb2c54c09ff
DIST gcc-10.5.0-musl-patches-2.tar.xz 3452 BLAKE2B 5387e516d07d81477b3f39b8b3bd986bf861d32cd25dc5481c97bd3620d00c918c5661e86857f66dbf28a655401a53e43417f638c443e44cbfdbf5e950caac4d SHA512 86f2ce31cc4fc4fb5a6043fb527bf822d895e1a6220652024f78a1cbd5a962edb6be8dc5f43c32053e075f39bb2350ea8f14e7d57e0473dd2933a7b44676bde5
diff --git a/sys-devel/gcc/files/gcc-14.0.1_pre20240303-uninit.patch b/sys-devel/gcc/files/gcc-14.0.1_pre20240303-uninit.patch
deleted file mode 100644
index 5ad41c4581a9..000000000000
--- a/sys-devel/gcc/files/gcc-14.0.1_pre20240303-uninit.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=901e7bdab70e2275723ac31dacbbce0b6f68f4f4
-
-From 901e7bdab70e2275723ac31dacbbce0b6f68f4f4 Mon Sep 17 00:00:00 2001
-From: Jakub Jelinek <jakub@redhat.com>
-Date: Mon, 4 Mar 2024 19:23:02 +0100
-Subject: [PATCH] combine: Fix recent WORD_REGISTER_OPERATIONS check [PR113010]
-
-On Mon, Mar 04, 2024 at 05:18:39PM +0100, Rainer Orth wrote:
-> unfortunately, the patch broke Solaris/SPARC bootstrap
-> (sparc-sun-solaris2.11):
->
-> .../gcc/combine.cc: In function 'rtx_code simplify_comparison(rtx_code, rtx_def**, rtx_def**)':
-> .../gcc/combine.cc:12101:25: error: '*(unsigned int*)((char*)&inner_mode + offsetof(scalar_int_mode, scalar_int_mode::m_mode))' may be used uninitialized [-Werror=maybe-uninitialized]
-> 12101 | scalar_int_mode mode, inner_mode, tmode;
-> | ^~~~~~~~~~
-
-I don't see how it could ever work properly, inner_mode in that spot is
-just uninitialized.
-
-I think we shouldn't worry about paradoxical subregs of non-scalar_int_mode
-REGs/MEMs and for the scalar_int_mode ones should initialize inner_mode
-before we use it.
-Another option would be to use
-maybe_lt (GET_MODE_PRECISION (GET_MODE (SUBREG_REG (op0))), BITS_PER_WORD)
-and
-load_extend_op (GET_MODE (SUBREG_REG (op0))) == ZERO_EXTEND,
-or set machine_mode smode = GET_MODE (SUBREG_REG (op0)); and use it in
-those two spots.
-
-2024-03-04 Jakub Jelinek <jakub@redhat.com>
-
- PR rtl-optimization/113010
- * combine.cc (simplify_comparison): Guard the
- WORD_REGISTER_OPERATIONS check on scalar_int_mode of SUBREG_REG
- and initialize inner_mode.
---- a/gcc/combine.cc
-+++ b/gcc/combine.cc
-@@ -12554,6 +12554,8 @@ simplify_comparison (enum rtx_code code, rtx *pop0, rtx *pop1)
- if (paradoxical_subreg_p (op0))
- {
- if (WORD_REGISTER_OPERATIONS
-+ && is_a <scalar_int_mode> (GET_MODE (SUBREG_REG (op0)),
-+ &inner_mode)
- && GET_MODE_PRECISION (inner_mode) < BITS_PER_WORD
- /* On WORD_REGISTER_OPERATIONS targets the bits
- beyond sub_mode aren't considered undefined,
---
-2.39.3