toolchain/gcc: update 8.x to 8.2.0

This release fixes LTO link-time performance problems and C++ bug introduced in GCC 8.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
master
Syrone Wong 2018-07-27 18:32:03 +08:00 committed by Felix Fietkau
parent 713cee6463
commit 2fb95f7142
21 changed files with 8 additions and 8 deletions

View File

@ -19,5 +19,5 @@ config GCC_VERSION
string string
default "5.5.0" if GCC_VERSION_5 default "5.5.0" if GCC_VERSION_5
default "arc-2017.09-release" if GCC_VERSION_7_1_ARC default "arc-2017.09-release" if GCC_VERSION_7_1_ARC
default "8.1.0" if GCC_VERSION_8 default "8.2.0" if GCC_VERSION_8
default "7.3.0" default "7.3.0"

View File

@ -36,8 +36,8 @@ ifeq ($(PKG_VERSION),7.3.0)
PKG_HASH:=832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c PKG_HASH:=832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c
endif endif
ifeq ($(PKG_VERSION),8.1.0) ifeq ($(PKG_VERSION),8.2.0)
PKG_HASH:=1d1866f992626e61349a1ccd0b8d5253816222cdc13390dcfaa74b093aa2b153 PKG_HASH:=196c3c04ba2613f893283977e6011b2345d1cd1af9abeac58e916b1aab3e0080
endif endif
ifneq ($(CONFIG_GCC_VERSION_7_1_ARC),) ifneq ($(CONFIG_GCC_VERSION_7_1_ARC),)

View File

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

View File

@ -27,7 +27,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
static void handle_OPT_d (const char *); static void handle_OPT_d (const char *);
static void set_std_cxx98 (int); static void set_std_cxx98 (int);
static void set_std_cxx11 (int); static void set_std_cxx11 (int);
@@ -461,6 +464,12 @@ c_common_handle_option (size_t scode, co @@ -459,6 +462,12 @@ c_common_handle_option (size_t scode, co
flag_no_builtin = !value; flag_no_builtin = !value;
break; break;
@ -40,7 +40,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
case OPT_fconstant_string_class_: case OPT_fconstant_string_class_:
constant_string_class_name = arg; constant_string_class_name = arg;
break; break;
@@ -1110,6 +1119,47 @@ c_common_init (void) @@ -1125,6 +1134,47 @@ c_common_init (void)
return false; return false;
} }
@ -102,7 +102,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
Assume normal C execution environment. Assume normal C execution environment.
--- a/gcc/common.opt --- a/gcc/common.opt
+++ b/gcc/common.opt +++ b/gcc/common.opt
@@ -1547,6 +1547,9 @@ fguess-branch-probability @@ -1551,6 +1551,9 @@ fguess-branch-probability
Common Report Var(flag_guess_branch_prob) Optimization Common Report Var(flag_guess_branch_prob) Optimization
Enable guessing of branch probabilities. Enable guessing of branch probabilities.
@ -126,7 +126,7 @@ Date: Tue Jul 31 00:52:27 2007 +0000
opts->x_warn_larger_than = value != -1; opts->x_warn_larger_than = value != -1;
--- a/gcc/doc/invoke.texi --- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi
@@ -7005,6 +7005,17 @@ This option is only supported for C and @@ -7012,6 +7012,17 @@ This option is only supported for C and
@option{-Wall} and by @option{-Wpedantic}, which can be disabled with @option{-Wall} and by @option{-Wpedantic}, which can be disabled with
@option{-Wno-pointer-sign}. @option{-Wno-pointer-sign}.