aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/0017-pr93402.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-03-27 11:31:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-03-27 11:32:14 +0000
commitae600a11fa30d9b3682409c76a4fc6b59f2309c7 (patch)
treeae24e3483e4373001b8ad28113dc80187dbe40c5 /main/gcc/0017-pr93402.patch
parentea8bab6e767cc909a8bc59aaa1523b483035c33a (diff)
downloadaports-ae600a11fa30d9b3682409c76a4fc6b59f2309c7.tar.bz2
aports-ae600a11fa30d9b3682409c76a4fc6b59f2309c7.tar.xz
main/gcc: upgrade to 9.3.0
Diffstat (limited to 'main/gcc/0017-pr93402.patch')
-rw-r--r--main/gcc/0017-pr93402.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/main/gcc/0017-pr93402.patch b/main/gcc/0017-pr93402.patch
deleted file mode 100644
index c985fb6825..0000000000
--- a/main/gcc/0017-pr93402.patch
+++ /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;
-+}