Browse Source

gcc: Update gcc 9.X to version 9.2.0

This updates the GCC version 9.X to version 9.2.0.
The removed patches are applied upstream.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 6 năm trước cách đây
mục cha
commit
b8b7d4cbca
22 tập tin đã thay đổi với 9 bổ sung90 xóa
  1. 1 1
      toolchain/gcc/Config.version
  2. 2 2
      toolchain/gcc/common.mk
  3. 0 38
      toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch
  4. 0 43
      toolchain/gcc/patches/9.1.0/975-g++-ICE-with-generic-lambda.patch
  5. 0 0
      toolchain/gcc/patches/9.2.0/002-case_insensitive.patch
  6. 0 0
      toolchain/gcc/patches/9.2.0/010-documentation.patch
  7. 0 0
      toolchain/gcc/patches/9.2.0/110-Fix-MIPS-PR-84790.patch
  8. 0 0
      toolchain/gcc/patches/9.2.0/230-musl_libssp.patch
  9. 1 1
      toolchain/gcc/patches/9.2.0/300-mips_Os_cpu_rtx_cost_model.patch
  10. 0 0
      toolchain/gcc/patches/9.2.0/810-arm-softfloat-libgcc.patch
  11. 0 0
      toolchain/gcc/patches/9.2.0/820-libgcc_pic.patch
  12. 0 0
      toolchain/gcc/patches/9.2.0/840-armv4_pass_fix-v4bx_to_ld.patch
  13. 1 1
      toolchain/gcc/patches/9.2.0/850-use_shared_libgcc.patch
  14. 0 0
      toolchain/gcc/patches/9.2.0/851-libgcc_no_compat.patch
  15. 1 1
      toolchain/gcc/patches/9.2.0/870-ppc_no_crtsavres.patch
  16. 0 0
      toolchain/gcc/patches/9.2.0/881-no_tm_section.patch
  17. 0 0
      toolchain/gcc/patches/9.2.0/900-bad-mips16-crt.patch
  18. 2 2
      toolchain/gcc/patches/9.2.0/910-mbsd_multi.patch
  19. 0 0
      toolchain/gcc/patches/9.2.0/920-specs_nonfatal_getenv.patch
  20. 1 1
      toolchain/gcc/patches/9.2.0/930-fix-mips-noexecstack.patch
  21. 0 0
      toolchain/gcc/patches/9.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch
  22. 0 0
      toolchain/gcc/patches/9.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch

+ 1 - 1
toolchain/gcc/Config.version

@@ -20,5 +20,5 @@ config GCC_VERSION
 	string
 	default "5.5.0"		if GCC_VERSION_5
 	default "8.3.0"		if GCC_VERSION_8
-	default "9.1.0"		if GCC_VERSION_9
+	default "9.2.0"		if GCC_VERSION_9
 	default "7.4.0"

+ 2 - 2
toolchain/gcc/common.mk

@@ -40,8 +40,8 @@ ifeq ($(PKG_VERSION),8.3.0)
   PKG_HASH:=64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c
 endif
 
-ifeq ($(PKG_VERSION),9.1.0)
-  PKG_HASH:=79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0
+ifeq ($(PKG_VERSION),9.2.0)
+  PKG_HASH:=ea6ef08f121239da5695f76c9b33637a118dcf63e24164422231917fa61fb206
 endif
 
 PATCH_DIR=../patches/$(GCC_VERSION)

+ 0 - 38
toolchain/gcc/patches/9.1.0/970-recompute-dom-fast-queries-before-vn.patch

@@ -1,38 +0,0 @@
-From f36b864c7d84b36883c6190c83b31c0a8c15172b Mon Sep 17 00:00:00 2001
-From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Fri, 3 May 2019 11:22:33 +0000
-Subject: [PATCH] 2019-05-03  Richard Biener  <[email protected]>
-
-	PR tree-optimization/90316
-	* tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
-	before running VN.
-
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@270849 138bc75d-0d04-0410-961f-82ee72b054a4
----
- gcc/ChangeLog      | 6 ++++++
- gcc/tree-ssa-pre.c | 1 +
- 2 files changed, 7 insertions(+)
-
---- a/gcc/ChangeLog
-+++ b/gcc/ChangeLog
-@@ -1,3 +1,9 @@
-+2019-05-03  Richard Biener  <[email protected]>
-+
-+	PR tree-optimization/90316
-+	* tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries
-+	before running VN.
-+
- 2019-05-03  Release Manager
- 
- 	* GCC 9.1.0 released.
---- a/gcc/tree-ssa-pre.c
-+++ b/gcc/tree-ssa-pre.c
-@@ -4197,6 +4197,7 @@ pass_pre::execute (function *fun)
-   loop_optimizer_init (LOOPS_NORMAL);
-   split_critical_edges ();
-   scev_initialize ();
-+  calculate_dominance_info (CDI_DOMINATORS);
- 
-   run_rpo_vn (VN_WALK);
- 

+ 0 - 43
toolchain/gcc/patches/9.1.0/975-g++-ICE-with-generic-lambda.patch

@@ -1,43 +0,0 @@
-From 7a1606168f60622f73a7dd90778e2a148a2c520c Mon Sep 17 00:00:00 2001
-From: mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Mon, 6 May 2019 17:08:08 +0000
-Subject: [PATCH] 	PR c++/90265 - ICE with generic lambda. 	* pt.c
- (tsubst_copy_and_build): Use a dedicated variable for the last 
- element in the vector.
-
-	* g++.dg/cpp1y/lambda-generic-90265.C: New test.
-
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@270919 138bc75d-0d04-0410-961f-82ee72b054a4
----
- gcc/cp/ChangeLog                                  | 6 ++++++
- gcc/cp/pt.c                                       | 3 ++-
- gcc/testsuite/ChangeLog                           | 5 +++++
- gcc/testsuite/g++.dg/cpp1y/lambda-generic-90265.C | 4 ++++
- 4 files changed, 17 insertions(+), 1 deletion(-)
- create mode 100644 gcc/testsuite/g++.dg/cpp1y/lambda-generic-90265.C
-
---- a/gcc/cp/ChangeLog
-+++ b/gcc/cp/ChangeLog
-@@ -1,3 +1,9 @@
-+2019-05-06  Marek Polacek  <[email protected]>
-+
-+	PR c++/90265 - ICE with generic lambda.
-+	* pt.c (tsubst_copy_and_build): Use a dedicated variable for the last
-+	element in the vector.
-+
- 2019-05-03  Release Manager
- 
- 	* GCC 9.1.0 released.
---- a/gcc/cp/pt.c
-+++ b/gcc/cp/pt.c
-@@ -18881,7 +18881,8 @@ tsubst_copy_and_build (tree t,
- 	    if (thisarg)
- 	      {
- 		/* Shift the other args over to make room.  */
--		vec_safe_push (call_args, (*call_args)[nargs-1]);
-+		tree last = (*call_args)[nargs - 1];
-+		vec_safe_push (call_args, last);
- 		for (int i = nargs-1; i > 0; --i)
- 		  (*call_args)[i] = (*call_args)[i-1];
- 		(*call_args)[0] = thisarg;

+ 0 - 0
toolchain/gcc/patches/9.1.0/002-case_insensitive.patch → toolchain/gcc/patches/9.2.0/002-case_insensitive.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/010-documentation.patch → toolchain/gcc/patches/9.2.0/010-documentation.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/110-Fix-MIPS-PR-84790.patch → toolchain/gcc/patches/9.2.0/110-Fix-MIPS-PR-84790.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/230-musl_libssp.patch → toolchain/gcc/patches/9.2.0/230-musl_libssp.patch


+ 1 - 1
toolchain/gcc/patches/9.1.0/300-mips_Os_cpu_rtx_cost_model.patch → toolchain/gcc/patches/9.2.0/300-mips_Os_cpu_rtx_cost_model.patch

@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
 
 --- a/gcc/config/mips/mips.c
 +++ b/gcc/config/mips/mips.c
-@@ -19970,7 +19970,7 @@ mips_option_override (void)
+@@ -19994,7 +19994,7 @@ mips_option_override (void)
      flag_pcc_struct_return = 0;
  
    /* Decide which rtx_costs structure to use.  */

+ 0 - 0
toolchain/gcc/patches/9.1.0/810-arm-softfloat-libgcc.patch → toolchain/gcc/patches/9.2.0/810-arm-softfloat-libgcc.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/820-libgcc_pic.patch → toolchain/gcc/patches/9.2.0/820-libgcc_pic.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/840-armv4_pass_fix-v4bx_to_ld.patch → toolchain/gcc/patches/9.2.0/840-armv4_pass_fix-v4bx_to_ld.patch


+ 1 - 1
toolchain/gcc/patches/9.1.0/850-use_shared_libgcc.patch → toolchain/gcc/patches/9.2.0/850-use_shared_libgcc.patch

@@ -42,7 +42,7 @@ Date:   Sun Feb 12 20:25:47 2012 +0000
  }
 --- a/gcc/config/rs6000/linux.h
 +++ b/gcc/config/rs6000/linux.h
-@@ -75,6 +75,9 @@
+@@ -62,6 +62,9 @@
  #undef	CPP_OS_DEFAULT_SPEC
  #define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"
  

+ 0 - 0
toolchain/gcc/patches/9.1.0/851-libgcc_no_compat.patch → toolchain/gcc/patches/9.2.0/851-libgcc_no_compat.patch


+ 1 - 1
toolchain/gcc/patches/9.1.0/870-ppc_no_crtsavres.patch → toolchain/gcc/patches/9.2.0/870-ppc_no_crtsavres.patch

@@ -1,6 +1,6 @@
 --- a/gcc/config/rs6000/rs6000.c
 +++ b/gcc/config/rs6000/rs6000.c
-@@ -24349,7 +24349,7 @@ rs6000_savres_strategy (rs6000_stack_t *
+@@ -24365,7 +24365,7 @@ rs6000_savres_strategy (rs6000_stack_t *
    /* Define cutoff for using out-of-line functions to save registers.  */
    if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
      {

+ 0 - 0
toolchain/gcc/patches/9.1.0/881-no_tm_section.patch → toolchain/gcc/patches/9.2.0/881-no_tm_section.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/900-bad-mips16-crt.patch → toolchain/gcc/patches/9.2.0/900-bad-mips16-crt.patch


+ 2 - 2
toolchain/gcc/patches/9.1.0/910-mbsd_multi.patch → toolchain/gcc/patches/9.2.0/910-mbsd_multi.patch

@@ -40,7 +40,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
      case OPT_fconstant_string_class_:
        constant_string_class_name = arg;
        break;
-@@ -1134,6 +1143,47 @@ c_common_init (void)
+@@ -1138,6 +1147,47 @@ c_common_init (void)
        return false;
      }
  
@@ -134,7 +134,7 @@ Date:   Tue Jul 31 00:52:27 2007 +0000
  @opindex Wno-stack-protector
 --- a/gcc/opts.c
 +++ b/gcc/opts.c
-@@ -2321,6 +2321,9 @@ common_handle_option (struct gcc_options
+@@ -2314,6 +2314,9 @@ common_handle_option (struct gcc_options
        /* Currently handled in a prescan.  */
        break;
  

+ 0 - 0
toolchain/gcc/patches/9.1.0/920-specs_nonfatal_getenv.patch → toolchain/gcc/patches/9.2.0/920-specs_nonfatal_getenv.patch


+ 1 - 1
toolchain/gcc/patches/9.1.0/930-fix-mips-noexecstack.patch → toolchain/gcc/patches/9.2.0/930-fix-mips-noexecstack.patch

@@ -48,7 +48,7 @@ [email protected]
 
 --- a/gcc/config/mips/mips.c
 +++ b/gcc/config/mips/mips.c
-@@ -22798,6 +22798,9 @@ mips_starting_frame_offset (void)
+@@ -22822,6 +22822,9 @@ mips_starting_frame_offset (void)
  #undef TARGET_STARTING_FRAME_OFFSET
  #define TARGET_STARTING_FRAME_OFFSET mips_starting_frame_offset
  

+ 0 - 0
toolchain/gcc/patches/9.1.0/931-libffi-fix-MIPS-softfloat-build-issue.patch → toolchain/gcc/patches/9.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch


+ 0 - 0
toolchain/gcc/patches/9.1.0/960-gotools-fix-compilation-when-making-cross-compiler.patch → toolchain/gcc/patches/9.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch