[oe-commits] [openembedded-core] 40/44: Revert "gcc: fix miscompilation on mips64"

git at git.openembedded.org git at git.openembedded.org
Fri Nov 10 14:45:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 3937c9ed534398ede1576abff8934a67a4017343
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Nov 9 21:41:44 2017 +0000

    Revert "gcc: fix miscompilation on mips64"
    
    This reverts commit b656fd9267b1f36d46ca20a1c0bcfaedbf7df438.
---
 meta/recipes-devtools/gcc/gcc-7.2.inc              |  1 -
 .../fix-miscompilation-for-O1-on-mips64el.patch    | 35 ----------------------
 2 files changed, 36 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-7.2.inc b/meta/recipes-devtools/gcc/gcc-7.2.inc
index 02b8e03..a2cb288 100644
--- a/meta/recipes-devtools/gcc/gcc-7.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-7.2.inc
@@ -75,7 +75,6 @@ SRC_URI = "\
            file://0048-gcc-Enable-static-PIE.patch \
            file://fix-segmentation-fault-precompiled-hdr.patch \
            file://0050-RISC-V-Handle-non-legitimate-address-in-riscv_legiti.patch \
-           file://fix-miscompilation-for-O1-on-mips64el.patch \
            ${BACKPORTS} \
 "
 BACKPORTS = "\
diff --git a/meta/recipes-devtools/gcc/gcc-7.2/fix-miscompilation-for-O1-on-mips64el.patch b/meta/recipes-devtools/gcc/gcc-7.2/fix-miscompilation-for-O1-on-mips64el.patch
deleted file mode 100644
index 28020b0..0000000
--- a/meta/recipes-devtools/gcc/gcc-7.2/fix-miscompilation-for-O1-on-mips64el.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-This patch comes from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
-
-Author: mpf <mpf at 138bc75d-0d04-0410-961f-82ee72b054a4>
-
-This patch hasn't been merged into gcc. But it does solve the problem of
-strange behaviour of `systemd status <xxx>' on qemumips64.
-
-Upstream-Status: Pending [Taken from gcc bugzilla's attachment]
-
-Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
----
- gcc/lra-constraints.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c
-index c8bc9b9a66f..6d319662b09 100644
---- a/gcc/lra-constraints.c
-+++ b/gcc/lra-constraints.c
-@@ -4235,7 +4235,12 @@ curr_insn_transform (bool check_only_p)
- 			  && (goal_alt[i] == NO_REGS
- 			      || (simplify_subreg_regno
- 				  (ira_class_hard_regs[goal_alt[i]][0],
--				   GET_MODE (reg), byte, mode) >= 0)))))
-+				   GET_MODE (reg), byte, mode) >= 0))))
-+		      || (type != OP_IN
-+			  && GET_MODE_PRECISION (mode)
-+			  < GET_MODE_PRECISION (GET_MODE (reg))
-+			  && GET_MODE_SIZE (GET_MODE (reg)) <= UNITS_PER_WORD
-+			  && WORD_REGISTER_OPERATIONS))
- 		{
- 		  /* An OP_INOUT is required when reloading a subreg of a
- 		     mode wider than a word to ensure that data beyond the
--- 
-2.13.0
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list