diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 05:29:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 05:29:36 +0100 |
commit | 6c371067b74d6f9ad2ad4f2340d29cf969ebacf2 (patch) | |
tree | 046050c16be079a8e6301d0f2910d5f68b789199 /sys-devel/gcc/files | |
parent | fbcee111120284091d5f2c5c1b8081fbfc399d6b (diff) |
sys-devel/gcc : version bump (tc)
Diffstat (limited to 'sys-devel/gcc/files')
-rw-r--r-- | sys-devel/gcc/files/gcc-8.3.0-ia64-bootstrap.patch | 41 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-8.3.0-norisc32.patch | 29 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-9.1.0-norisc32.patch | 53 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-9.2.0-neg-insn-cost.patch | 29 | ||||
-rw-r--r-- | sys-devel/gcc/files/gcc-configure-texinfo.patch | 4 |
5 files changed, 154 insertions, 2 deletions
diff --git a/sys-devel/gcc/files/gcc-8.3.0-ia64-bootstrap.patch b/sys-devel/gcc/files/gcc-8.3.0-ia64-bootstrap.patch new file mode 100644 index 00000000..0a0a25b5 --- /dev/null +++ b/sys-devel/gcc/files/gcc-8.3.0-ia64-bootstrap.patch @@ -0,0 +1,41 @@ +https://gcc.gnu.org/PR87338 + +From 1cc1dc32fcf6b47db4e6d28f55de343713f824a4 Mon Sep 17 00:00:00 2001 +From: James Clarke <jrtc27@jrtc27.com> +Date: Thu, 25 Apr 2019 15:58:55 +0200 +Subject: [PATCH] PR bootstrap/87338: Fix ia64 bootstrap comparison regression + in r257511 +To: gcc-patches@gcc.gnu.org + +By using ASM_OUTPUT_LABEL, r257511 forced the assembler to start a new +bundle when emitting an inline entry label on. Instead, use +ASM_OUTPUT_DEBUG_LABEL like for the block begin and end labels so tags are +emitted rather than labels. + +gcc/ + PR bootstrap/87338 + * dwarf2out.c (dwarf2out_inline_entry): Use ASM_OUTPUT_DEBUG_LABEL + instead of ASM_GENERATE_INTERNAL_LABEL and ASM_OUTPUT_LABEL. +--- + gcc/dwarf2out.c | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +--- a/gcc/dwarf2out.c ++++ b/gcc/dwarf2out.c +@@ -27670,11 +27670,8 @@ dwarf2out_inline_entry (tree block) + if (cur_line_info_table) + ied->view = cur_line_info_table->view; + +- char label[MAX_ARTIFICIAL_LABEL_BYTES]; +- +- ASM_GENERATE_INTERNAL_LABEL (label, BLOCK_INLINE_ENTRY_LABEL, +- BLOCK_NUMBER (block)); +- ASM_OUTPUT_LABEL (asm_out_file, label); ++ ASM_OUTPUT_DEBUG_LABEL (asm_out_file, BLOCK_INLINE_ENTRY_LABEL, ++ BLOCK_NUMBER (block)); + } + + /* Called from finalize_size_functions for size functions so that their body +-- +1.8.5.3 + diff --git a/sys-devel/gcc/files/gcc-8.3.0-norisc32.patch b/sys-devel/gcc/files/gcc-8.3.0-norisc32.patch new file mode 100644 index 00000000..19f4f568 --- /dev/null +++ b/sys-devel/gcc/files/gcc-8.3.0-norisc32.patch @@ -0,0 +1,29 @@ +https://gcc.gnu.org/PR90419 + +diff -ruN gcc-8.3.0.orig/gcc/config/riscv/t-linux-multilib gcc-8.3.0/gcc/config/riscv/t-linux-multilib +--- gcc-8.3.0.orig/gcc/config/riscv/t-linux-multilib 2017-02-06 22:38:37.000000000 +0100 ++++ gcc-8.3.0/gcc/config/riscv/t-linux-multilib 2019-04-28 16:37:44.377841943 +0200 +@@ -20,21 +20,9 @@ + ilp32d \ + lp64 \ + lp64d +-MULTILIB_REQUIRED = march=rv32imac/mabi=ilp32 \ +-march=rv32imafdc/mabi=ilp32d \ +-march=rv64imac/mabi=lp64 \ ++MULTILIB_REQUIRED = march=rv64imac/mabi=lp64 \ + march=rv64imafdc/mabi=lp64d +-MULTILIB_REUSE = march.rv32imac/mabi.ilp32=march.rv32ima/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imaf/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafd/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafdc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32g/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32gc/mabi.ilp32 \ +-march.rv32imafdc/mabi.ilp32d=march.rv32imafd/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32gc/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32g/mabi.ilp32d \ +-march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ ++MULTILIB_REUSE = march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imaf/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafd/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafc/mabi.lp64 \ diff --git a/sys-devel/gcc/files/gcc-9.1.0-norisc32.patch b/sys-devel/gcc/files/gcc-9.1.0-norisc32.patch new file mode 100644 index 00000000..ad0128a0 --- /dev/null +++ b/sys-devel/gcc/files/gcc-9.1.0-norisc32.patch @@ -0,0 +1,53 @@ +Autogenerated patch disabling the 32bit RISCV support +See https://gcc.gnu.org/PR90419 + +diff -ruN gcc-9.1.0.orig/gcc/config/riscv/t-linux-multilib gcc-9.1.0/gcc/config/riscv/t-linux-multilib +--- gcc-9.1.0.orig/gcc/config/riscv/t-linux-multilib 2017-02-06 22:38:37.000000000 +0100 ++++ gcc-9.1.0/gcc/config/riscv/t-linux-multilib 2019-05-18 23:04:54.849400774 +0200 +@@ -1,40 +1,18 @@ + # This file was generated by multilib-generator with the command: +-# ./multilib-generator rv32imac-ilp32-rv32ima,rv32imaf,rv32imafd,rv32imafc,rv32imafdc- rv32imafdc-ilp32d-rv32imafd- rv64imac-lp64-rv64ima,rv64imaf,rv64imafd,rv64imafc,rv64imafdc- rv64imafdc-lp64d-rv64imafd- +-MULTILIB_OPTIONS = march=rv32imac/march=rv32ima/march=rv32imaf/march=rv32imafd/march=rv32imafc/march=rv32imafdc/march=rv32g/march=rv32gc/march=rv64imac/march=rv64ima/march=rv64imaf/march=rv64imafd/march=rv64imafc/march=rv64imafdc/march=rv64g/march=rv64gc mabi=ilp32/mabi=ilp32d/mabi=lp64/mabi=lp64d +-MULTILIB_DIRNAMES = rv32imac \ +-rv32ima \ +-rv32imaf \ +-rv32imafd \ +-rv32imafc \ +-rv32imafdc \ +-rv32g \ +-rv32gc \ +-rv64imac \ ++# ./multilib-generator rv64imac-lp64-rv64ima,rv64imaf,rv64imafd,rv64imafc,rv64imafdc- rv64imafdc-lp64d-rv64imafd- ++MULTILIB_OPTIONS = march=rv64imac/march=rv64ima/march=rv64imaf/march=rv64imafd/march=rv64imafc/march=rv64imafdc/march=rv64g/march=rv64gc mabi=lp64/mabi=lp64d ++MULTILIB_DIRNAMES = rv64imac \ + rv64ima \ + rv64imaf \ + rv64imafd \ + rv64imafc \ + rv64imafdc \ + rv64g \ +-rv64gc ilp32 \ +-ilp32d \ +-lp64 \ ++rv64gc lp64 \ + lp64d +-MULTILIB_REQUIRED = march=rv32imac/mabi=ilp32 \ +-march=rv32imafdc/mabi=ilp32d \ +-march=rv64imac/mabi=lp64 \ ++MULTILIB_REQUIRED = march=rv64imac/mabi=lp64 \ + march=rv64imafdc/mabi=lp64d +-MULTILIB_REUSE = march.rv32imac/mabi.ilp32=march.rv32ima/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imaf/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafd/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32imafdc/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32g/mabi.ilp32 \ +-march.rv32imac/mabi.ilp32=march.rv32gc/mabi.ilp32 \ +-march.rv32imafdc/mabi.ilp32d=march.rv32imafd/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32gc/mabi.ilp32d \ +-march.rv32imafdc/mabi.ilp32d=march.rv32g/mabi.ilp32d \ +-march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ ++MULTILIB_REUSE = march.rv64imac/mabi.lp64=march.rv64ima/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imaf/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafd/mabi.lp64 \ + march.rv64imac/mabi.lp64=march.rv64imafc/mabi.lp64 \ diff --git a/sys-devel/gcc/files/gcc-9.2.0-neg-insn-cost.patch b/sys-devel/gcc/files/gcc-9.2.0-neg-insn-cost.patch new file mode 100644 index 00000000..7a6bebdf --- /dev/null +++ b/sys-devel/gcc/files/gcc-9.2.0-neg-insn-cost.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/707958 +https://gcc.gnu.org/PR88879 + +Subject: [PATCH] sel-sched: allow negative insn priority (PR 88879) +From: Alexander Monakov <amonakov@ispras.ru> + + PR rtl-optimization/88879 + * sel-sched.c (sel_target_adjust_priority): Remove assert. + +From-SVN: r271039 +--- + gcc/ChangeLog | 5 +++++ + gcc/sel-sched.c | 2 -- + 2 files changed, 5 insertions(+), 2 deletions(-) + +--- a/gcc/sel-sched.c ++++ b/gcc/sel-sched.c +@@ -3331,8 +3331,6 @@ sel_target_adjust_priority (expr_t expr) + else + new_priority = priority; + +- gcc_assert (new_priority >= 0); +- + /* If the priority has changed, adjust EXPR_PRIORITY_ADJ accordingly. */ + EXPR_PRIORITY_ADJ (expr) = new_priority - EXPR_PRIORITY (expr); + +-- +2.25.0 + diff --git a/sys-devel/gcc/files/gcc-configure-texinfo.patch b/sys-devel/gcc/files/gcc-configure-texinfo.patch index ddc098dd..99e90998 100644 --- a/sys-devel/gcc/files/gcc-configure-texinfo.patch +++ b/sys-devel/gcc/files/gcc-configure-texinfo.patch @@ -4,8 +4,8 @@ that it violates the cheesy version grep. http://bugs.gentoo.org/198182 ---- configure -+++ configure +--- a/configure ++++ b/configure @@ -3573,6 +3573,6 @@ : else |