1 |
commit: 38039a107e4ac09fc34d9433dfe2fba9a20e1b92 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 6 19:22:55 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 6 19:22:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=38039a10 |
7 |
|
8 |
9.2.0: pull in PR88879 (negative insn cost), bug #707958 |
9 |
|
10 |
Single new upstream patch 34_all_ia64-neg-insn-cost.patch |
11 |
to allow zstd to build successfully. |
12 |
|
13 |
Reported-by: Matt Turner |
14 |
Closes: https://bugs.gentoo.org/707958 |
15 |
Bug: https://gcc.gnu.org/PR88879 |
16 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
17 |
|
18 |
9.2.0/gentoo/34_all_ia64-neg-insn-cost.patch | 29 ++++++++++++++++++++++++++++ |
19 |
9.2.0/gentoo/README.history | 3 +++ |
20 |
2 files changed, 32 insertions(+) |
21 |
|
22 |
diff --git a/9.2.0/gentoo/34_all_ia64-neg-insn-cost.patch b/9.2.0/gentoo/34_all_ia64-neg-insn-cost.patch |
23 |
new file mode 100644 |
24 |
index 0000000..7a6bebd |
25 |
--- /dev/null |
26 |
+++ b/9.2.0/gentoo/34_all_ia64-neg-insn-cost.patch |
27 |
@@ -0,0 +1,29 @@ |
28 |
+https://bugs.gentoo.org/707958 |
29 |
+https://gcc.gnu.org/PR88879 |
30 |
+ |
31 |
+Subject: [PATCH] sel-sched: allow negative insn priority (PR 88879) |
32 |
+From: Alexander Monakov <amonakov@××××××.ru> |
33 |
+ |
34 |
+ PR rtl-optimization/88879 |
35 |
+ * sel-sched.c (sel_target_adjust_priority): Remove assert. |
36 |
+ |
37 |
+From-SVN: r271039 |
38 |
+--- |
39 |
+ gcc/ChangeLog | 5 +++++ |
40 |
+ gcc/sel-sched.c | 2 -- |
41 |
+ 2 files changed, 5 insertions(+), 2 deletions(-) |
42 |
+ |
43 |
+--- a/gcc/sel-sched.c |
44 |
++++ b/gcc/sel-sched.c |
45 |
+@@ -3331,8 +3331,6 @@ sel_target_adjust_priority (expr_t expr) |
46 |
+ else |
47 |
+ new_priority = priority; |
48 |
+ |
49 |
+- gcc_assert (new_priority >= 0); |
50 |
+- |
51 |
+ /* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */ |
52 |
+ EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr); |
53 |
+ |
54 |
+-- |
55 |
+2.25.0 |
56 |
+ |
57 |
|
58 |
diff --git a/9.2.0/gentoo/README.history b/9.2.0/gentoo/README.history |
59 |
index 3324fed..0ac54f3 100644 |
60 |
--- a/9.2.0/gentoo/README.history |
61 |
+++ b/9.2.0/gentoo/README.history |
62 |
@@ -1,3 +1,6 @@ |
63 |
+5 TODO |
64 |
+ + 34_all_ia64-neg-insn-cost.patch |
65 |
+ |
66 |
4 22 Dec 2012 |
67 |
+ 31_all_openmp-for-SEGV.patch |
68 |
+ 27_all_sparc-PIC-constant-PR91472.patch |