From 849dc90078acff1ebf21ae7ff6b6f3cb15f600c8 Mon Sep 17 00:00:00 2001
From: rofl0r <rofl0r@users.noreply.github.com>
Date: Thu, 26 Nov 2020 22:49:44 +0000
Subject: [PATCH] update GCC 9.2.0 to 9.3.0

0017-pr93402.diff was removed, as it was merged upstream.
---
 hashes/gcc-9.2.0.tar.xz.sha1                  |  1 -
 hashes/gcc-9.3.0.tar.xz.sha1                  |  1 +
 patches/gcc-9.2.0/0017-pr93402.diff           | 45 -------------------
 .../0001-ssp_nonshared.diff                   |  0
 .../0002-posix_memalign.diff                  |  0
 .../0003-libatomic-test-fix.diff              |  0
 .../0004-libgomp-test-fix.diff                |  0
 .../0005-libitm-test-fix.diff                 |  0
 .../0006-libvtv-test-fix.diff                 |  0
 patches/{gcc-9.2.0 => gcc-9.3.0}/0007-j2.diff |  0
 .../0008-s390x-muslldso.diff                  |  0
 .../0009-microblaze-pr65649.diff              |  0
 .../0010-ldbl128-config.diff                  |  0
 .../{gcc-9.2.0 => gcc-9.3.0}/0011-m68k.diff   |  0
 .../0012-static-pie.diff                      |  0
 .../0013-invalid-tls-model.diff               |  0
 .../0014-fix-gthr-weak-refs-for-libgcc.patch  |  0
 .../0015-riscv-tls-copy-relocs.diff           |  0
 .../0016-libstdc++-futex-time64.diff          |  0
 .../0018-m68k-sqrt.diff                       |  0
 20 files changed, 1 insertion(+), 46 deletions(-)
 delete mode 100644 hashes/gcc-9.2.0.tar.xz.sha1
 create mode 100644 hashes/gcc-9.3.0.tar.xz.sha1
 delete mode 100644 patches/gcc-9.2.0/0017-pr93402.diff
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0001-ssp_nonshared.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0002-posix_memalign.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0003-libatomic-test-fix.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0004-libgomp-test-fix.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0005-libitm-test-fix.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0006-libvtv-test-fix.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0007-j2.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0008-s390x-muslldso.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0009-microblaze-pr65649.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0010-ldbl128-config.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0011-m68k.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0012-static-pie.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0013-invalid-tls-model.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0014-fix-gthr-weak-refs-for-libgcc.patch (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0015-riscv-tls-copy-relocs.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0016-libstdc++-futex-time64.diff (100%)
 rename patches/{gcc-9.2.0 => gcc-9.3.0}/0018-m68k-sqrt.diff (100%)

diff --git a/hashes/gcc-9.2.0.tar.xz.sha1 b/hashes/gcc-9.2.0.tar.xz.sha1
deleted file mode 100644
index b404b36..0000000
--- a/hashes/gcc-9.2.0.tar.xz.sha1
+++ /dev/null
@@ -1 +0,0 @@
-306d27c3465fa36862c206738d06d65fff5c3645  gcc-9.2.0.tar.xz
diff --git a/hashes/gcc-9.3.0.tar.xz.sha1 b/hashes/gcc-9.3.0.tar.xz.sha1
new file mode 100644
index 0000000..5ed2ca6
--- /dev/null
+++ b/hashes/gcc-9.3.0.tar.xz.sha1
@@ -0,0 +1 @@
+b746688bf045a316fc92c3528138ad10d0822b6b  gcc-9.3.0.tar.xz
diff --git a/patches/gcc-9.2.0/0017-pr93402.diff b/patches/gcc-9.2.0/0017-pr93402.diff
deleted file mode 100644
index c985fb6..0000000
--- a/patches/gcc-9.2.0/0017-pr93402.diff
+++ /dev/null
@@ -1,45 +0,0 @@
-2020-01-23  Jakub Jelinek  <jakub@redhat.com>
-
-	PR rtl-optimization/93402
-	* postreload.c (reload_combine_recognize_pattern): Don't try to adjust
-	USE insns.
-
-	* gcc.c-torture/execute/pr93402.c: New test.
-
---- a/gcc/postreload.c.jj	2020-01-12 11:54:36.000000000 +0100
-+++ b/gcc/postreload.c	2020-01-23 17:23:25.359929516 +0100
-@@ -1078,6 +1078,10 @@ reload_combine_recognize_pattern (rtx_in
-       struct reg_use *use = reg_state[regno].reg_use + i;
-       if (GET_MODE (*use->usep) != mode)
- 	return false;
-+      /* Don't try to adjust (use (REGX)).  */
-+      if (GET_CODE (PATTERN (use->insn)) == USE
-+	  && &XEXP (PATTERN (use->insn), 0) == use->usep)
-+	return false;
-     }
- 
-   /* Look for (set (REGX) (CONST_INT))
---- a/gcc/testsuite/gcc.c-torture/execute/pr93402.c.jj	2020-01-23 17:25:46.496803852 +0100
-+++ b/gcc/testsuite/gcc.c-torture/execute/pr93402.c	2020-01-23 17:25:05.221425501 +0100
-@@ -0,0 +1,21 @@
-+/* PR rtl-optimization/93402 */
-+
-+struct S { unsigned int a; unsigned long long b; };
-+
-+__attribute__((noipa)) struct S
-+foo (unsigned long long x)
-+{
-+  struct S ret;
-+  ret.a = 0;
-+  ret.b = x * 11111111111ULL + 111111111111ULL;
-+  return ret;
-+}
-+
-+int
-+main ()
-+{
-+  struct S a = foo (1);
-+  if (a.a != 0 || a.b != 122222222222ULL)
-+    __builtin_abort ();
-+  return 0;
-+}
diff --git a/patches/gcc-9.2.0/0001-ssp_nonshared.diff b/patches/gcc-9.3.0/0001-ssp_nonshared.diff
similarity index 100%
rename from patches/gcc-9.2.0/0001-ssp_nonshared.diff
rename to patches/gcc-9.3.0/0001-ssp_nonshared.diff
diff --git a/patches/gcc-9.2.0/0002-posix_memalign.diff b/patches/gcc-9.3.0/0002-posix_memalign.diff
similarity index 100%
rename from patches/gcc-9.2.0/0002-posix_memalign.diff
rename to patches/gcc-9.3.0/0002-posix_memalign.diff
diff --git a/patches/gcc-9.2.0/0003-libatomic-test-fix.diff b/patches/gcc-9.3.0/0003-libatomic-test-fix.diff
similarity index 100%
rename from patches/gcc-9.2.0/0003-libatomic-test-fix.diff
rename to patches/gcc-9.3.0/0003-libatomic-test-fix.diff
diff --git a/patches/gcc-9.2.0/0004-libgomp-test-fix.diff b/patches/gcc-9.3.0/0004-libgomp-test-fix.diff
similarity index 100%
rename from patches/gcc-9.2.0/0004-libgomp-test-fix.diff
rename to patches/gcc-9.3.0/0004-libgomp-test-fix.diff
diff --git a/patches/gcc-9.2.0/0005-libitm-test-fix.diff b/patches/gcc-9.3.0/0005-libitm-test-fix.diff
similarity index 100%
rename from patches/gcc-9.2.0/0005-libitm-test-fix.diff
rename to patches/gcc-9.3.0/0005-libitm-test-fix.diff
diff --git a/patches/gcc-9.2.0/0006-libvtv-test-fix.diff b/patches/gcc-9.3.0/0006-libvtv-test-fix.diff
similarity index 100%
rename from patches/gcc-9.2.0/0006-libvtv-test-fix.diff
rename to patches/gcc-9.3.0/0006-libvtv-test-fix.diff
diff --git a/patches/gcc-9.2.0/0007-j2.diff b/patches/gcc-9.3.0/0007-j2.diff
similarity index 100%
rename from patches/gcc-9.2.0/0007-j2.diff
rename to patches/gcc-9.3.0/0007-j2.diff
diff --git a/patches/gcc-9.2.0/0008-s390x-muslldso.diff b/patches/gcc-9.3.0/0008-s390x-muslldso.diff
similarity index 100%
rename from patches/gcc-9.2.0/0008-s390x-muslldso.diff
rename to patches/gcc-9.3.0/0008-s390x-muslldso.diff
diff --git a/patches/gcc-9.2.0/0009-microblaze-pr65649.diff b/patches/gcc-9.3.0/0009-microblaze-pr65649.diff
similarity index 100%
rename from patches/gcc-9.2.0/0009-microblaze-pr65649.diff
rename to patches/gcc-9.3.0/0009-microblaze-pr65649.diff
diff --git a/patches/gcc-9.2.0/0010-ldbl128-config.diff b/patches/gcc-9.3.0/0010-ldbl128-config.diff
similarity index 100%
rename from patches/gcc-9.2.0/0010-ldbl128-config.diff
rename to patches/gcc-9.3.0/0010-ldbl128-config.diff
diff --git a/patches/gcc-9.2.0/0011-m68k.diff b/patches/gcc-9.3.0/0011-m68k.diff
similarity index 100%
rename from patches/gcc-9.2.0/0011-m68k.diff
rename to patches/gcc-9.3.0/0011-m68k.diff
diff --git a/patches/gcc-9.2.0/0012-static-pie.diff b/patches/gcc-9.3.0/0012-static-pie.diff
similarity index 100%
rename from patches/gcc-9.2.0/0012-static-pie.diff
rename to patches/gcc-9.3.0/0012-static-pie.diff
diff --git a/patches/gcc-9.2.0/0013-invalid-tls-model.diff b/patches/gcc-9.3.0/0013-invalid-tls-model.diff
similarity index 100%
rename from patches/gcc-9.2.0/0013-invalid-tls-model.diff
rename to patches/gcc-9.3.0/0013-invalid-tls-model.diff
diff --git a/patches/gcc-9.2.0/0014-fix-gthr-weak-refs-for-libgcc.patch b/patches/gcc-9.3.0/0014-fix-gthr-weak-refs-for-libgcc.patch
similarity index 100%
rename from patches/gcc-9.2.0/0014-fix-gthr-weak-refs-for-libgcc.patch
rename to patches/gcc-9.3.0/0014-fix-gthr-weak-refs-for-libgcc.patch
diff --git a/patches/gcc-9.2.0/0015-riscv-tls-copy-relocs.diff b/patches/gcc-9.3.0/0015-riscv-tls-copy-relocs.diff
similarity index 100%
rename from patches/gcc-9.2.0/0015-riscv-tls-copy-relocs.diff
rename to patches/gcc-9.3.0/0015-riscv-tls-copy-relocs.diff
diff --git a/patches/gcc-9.2.0/0016-libstdc++-futex-time64.diff b/patches/gcc-9.3.0/0016-libstdc++-futex-time64.diff
similarity index 100%
rename from patches/gcc-9.2.0/0016-libstdc++-futex-time64.diff
rename to patches/gcc-9.3.0/0016-libstdc++-futex-time64.diff
diff --git a/patches/gcc-9.2.0/0018-m68k-sqrt.diff b/patches/gcc-9.3.0/0018-m68k-sqrt.diff
similarity index 100%
rename from patches/gcc-9.2.0/0018-m68k-sqrt.diff
rename to patches/gcc-9.3.0/0018-m68k-sqrt.diff