toolchain: gcc: update GCC13 to 13.4
authorShiji Yang <[email protected]>
Tue, 10 Jun 2025 13:32:13 +0000 (21:32 +0800)
committerNick Hainke <[email protected]>
Wed, 20 Aug 2025 21:42:15 +0000 (23:42 +0200)
Release Notes:
  https://gcc.gnu.org/gcc-13/changes.html

All patches are automatically refreshed.

Build-tested on:
  ath79/generic(MIPS)
  ipq40xx/generic(ARMv7)
  mediatek/filogic(ARMv8)

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19089
Signed-off-by: Nick Hainke <[email protected]>
toolchain/gcc/Config.version
toolchain/gcc/common.mk
toolchain/gcc/patches-13.x/010-documentation.patch
toolchain/gcc/patches-13.x/230-musl_libssp.patch
toolchain/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch
toolchain/gcc/patches-13.x/920-specs_nonfatal_getenv.patch

index 063a2dc9ce6deef27905c2a6654f42b1cb082450..5960fe3d9b94b5fd45c2dbb51f381049ccd00374 100644 (file)
@@ -14,7 +14,7 @@ config GCC_VERSION
        string
        default EXTERNAL_GCC_VERSION    if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
        default "12.3.0"        if GCC_VERSION_12
-       default "13.3.0"        if GCC_VERSION_13
+       default "13.4.0"        if GCC_VERSION_13
        default "15.2.0"        if GCC_VERSION_15
        default "14.3.0"
 
index 3c1167724ee19b534c4711fe8cfa1bae0b0b5b9f..8bd898e09553fb1bf0780ed4eaa18afc706060f6 100644 (file)
@@ -38,8 +38,8 @@ ifeq ($(PKG_VERSION),12.3.0)
   PKG_HASH:=949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b
 endif
 
-ifeq ($(PKG_VERSION),13.3.0)
-  PKG_HASH:=0845e9621c9543a13f484e94584a49ffc0129970e9914624235fc1d061a0c083
+ifeq ($(PKG_VERSION),13.4.0)
+  PKG_HASH:=9c4ce6dbb040568fdc545588ac03c5cbc95a8dbf0c7aa490170843afb59ca8f5
 endif
 
 ifeq ($(PKG_VERSION),14.3.0)
index 9646568afebdeb5617f6870add73db26fd3c5273..cdb081913322898fe36f34ae0a1a7dd5e0e7d33c 100644 (file)
@@ -12,7 +12,7 @@ Date:   Tue Feb 26 16:16:33 2013 +0000
 
 --- a/gcc/Makefile.in
 +++ b/gcc/Makefile.in
-@@ -3397,18 +3397,10 @@ doc/gcc.info: $(TEXI_GCC_FILES)
+@@ -3398,18 +3398,10 @@ doc/gcc.info: $(TEXI_GCC_FILES)
  doc/gccint.info: $(TEXI_GCCINT_FILES)
  doc/cppinternals.info: $(TEXI_CPPINT_FILES)
  
index fee068e1d60ac8793e943bdde79a9e028e1d09f8..aa59f4fa48d0d1b54c932b5c299b140107e6c0de 100644 (file)
@@ -1,6 +1,6 @@
 --- a/gcc/gcc.cc
 +++ b/gcc/gcc.cc
-@@ -972,7 +972,9 @@ proper position among the other output f
+@@ -975,7 +975,9 @@ proper position among the other output f
  #endif
  
  #ifndef LINK_SSP_SPEC
index 2ca42ad7771b542b4f437bb6c8e8a9e04addc571..87a3cab8387dc3280ae20cc84d90e838bc112cef 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
 
 --- a/gcc/config/mips/mips.cc
 +++ b/gcc/config/mips/mips.cc
-@@ -20219,7 +20219,7 @@ mips_option_override (void)
+@@ -20228,7 +20228,7 @@ mips_option_override (void)
      flag_pcc_struct_return = 0;
  
    /* Decide which rtx_costs structure to use.  */
index 265ca22c0c3cdbaf18728478c5025e8acd6de501..bd965660f4f0780d05f7c3498606c6b90a91eb33 100644 (file)
@@ -7,7 +7,7 @@ Date:   Sat Apr 21 03:02:39 2012 +0000
 
 --- a/gcc/gcc.cc
 +++ b/gcc/gcc.cc
-@@ -10174,8 +10174,10 @@ getenv_spec_function (int argc, const ch
+@@ -10184,8 +10184,10 @@ getenv_spec_function (int argc, const ch
      }
  
    if (!value)