From f7ebdff3c2d99318fd46094549568be88efe90ee7338a643e48604310bb73faa Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 28 Jun 2023 07:53:04 +0000 Subject: [PATCH 1/4] - Bump to a533ded17fb13cbbb2fa5133ecd470360f66c5cf, git7489. - Add gcc13-pr110334.patch to fix missed optimization in Skia resulting in Firefox crashes when building with LTO. [boo#1212101] - Raise POWER architecture baseline to power9. [PED-4454] - Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-???] - Raise s390x architecture baseline to ???. [PED-???] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=48 --- cross-aarch64-gcc13-bootstrap.spec | 28 ++++- cross-aarch64-gcc13.spec | 28 ++++- cross-amdgcn-gcc13.spec | 28 ++++- cross-arm-gcc13.spec | 28 ++++- cross-arm-none-gcc13-bootstrap.spec | 28 ++++- cross-arm-none-gcc13.spec | 28 ++++- cross-avr-gcc13-bootstrap.spec | 28 ++++- cross-avr-gcc13.spec | 28 ++++- cross-bpf-gcc13.spec | 28 ++++- cross-epiphany-gcc13-bootstrap.spec | 28 ++++- cross-epiphany-gcc13.spec | 28 ++++- cross-hppa-gcc13-bootstrap.spec | 28 ++++- cross-hppa-gcc13.spec | 28 ++++- cross-m68k-gcc13.spec | 28 ++++- cross-mips-gcc13.spec | 28 ++++- cross-nvptx-gcc13.spec | 28 ++++- cross-ppc64-gcc13.spec | 28 ++++- cross-ppc64le-gcc13.spec | 28 ++++- cross-pru-gcc13-bootstrap.spec | 28 ++++- cross-pru-gcc13.spec | 28 ++++- cross-riscv64-elf-gcc13-bootstrap.spec | 28 ++++- cross-riscv64-elf-gcc13.spec | 28 ++++- cross-riscv64-gcc13-bootstrap.spec | 28 ++++- cross-riscv64-gcc13.spec | 28 ++++- cross-rx-gcc13-bootstrap.spec | 28 ++++- cross-rx-gcc13.spec | 28 ++++- cross-s390x-gcc13.spec | 28 ++++- cross-sparc-gcc13.spec | 28 ++++- cross-sparc64-gcc13.spec | 28 ++++- cross-x86_64-gcc13.spec | 28 ++++- gcc-13.1.1+git7364.tar.xz | 3 - gcc-13.1.1+git7489.tar.xz | 3 + gcc.spec.in | 28 ++++- gcc13-pr110334.patch | 135 +++++++++++++++++++++++++ gcc13-testresults.spec | 28 ++++- gcc13.changes | 14 +++ gcc13.spec | 28 ++++- 37 files changed, 1043 insertions(+), 36 deletions(-) delete mode 100644 gcc-13.1.1+git7364.tar.xz create mode 100644 gcc-13.1.1+git7489.tar.xz create mode 100644 gcc13-pr110334.patch diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index dcf3986..87068fc 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index 169ac42..840cb72 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index b742c42..d2a1c17 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 59c09d8..0a8d60e 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 7976e27..481a895 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,6 +134,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -631,6 +633,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -643,6 +649,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -670,34 +677,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index a650c06..7660515 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index dcd13d6..ad2197d 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index 9a97a53..4725e82 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 71cf235..442ff49 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index eba094b..b1c67ff 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,6 +134,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -631,6 +633,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -643,6 +649,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -670,34 +677,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 614a9e3..6358727 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index 76b6d00..8b68b41 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index 9ae5e22..14987c0 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index e53ab48..a589c30 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index 4d0486c..30a8860 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 0fbf4cd..26adfb7 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index 7b3083d..8db01b2 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index aa06724..8dabd25 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index 4afd2ff..177dee0 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,6 +134,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -631,6 +633,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -643,6 +649,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -670,34 +677,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index a66d911..e89dece 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index 5e1d63b..1aad6d1 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,6 +134,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -631,6 +633,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -643,6 +649,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -670,34 +677,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 48fae33..2458a18 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index 0509a4e..c5a4fd5 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index 4316211..35de18d 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index 27fb48d..9d7befa 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,6 +134,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,6 +335,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -631,6 +633,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -643,6 +649,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -670,34 +677,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index 27a5146..c97a9ae 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index f38acf4..256b833 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index 72f0571..fec4ea5 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index fa50d4b..98f2ed7 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index fc7c8b0..9f36e38 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,6 +133,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -333,6 +334,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -630,6 +632,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -642,6 +648,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -669,34 +676,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/gcc-13.1.1+git7364.tar.xz b/gcc-13.1.1+git7364.tar.xz deleted file mode 100644 index a1a2ffa..0000000 --- a/gcc-13.1.1+git7364.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3368bca3b7d5e231bd20d12fd75869aaea08373b8863668c37d22611b8639d7 -size 87100668 diff --git a/gcc-13.1.1+git7489.tar.xz b/gcc-13.1.1+git7489.tar.xz new file mode 100644 index 0000000..033f43c --- /dev/null +++ b/gcc-13.1.1+git7489.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a698d4769513cb6c9766793c87981bfc0637bde537508aa3e5cd6a13e5c73c9a +size 87014676 diff --git a/gcc.spec.in b/gcc.spec.in index 2c91c7d..d50fd05 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -204,7 +204,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 1 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -385,6 +385,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1344,6 +1345,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -1641,6 +1643,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -1653,6 +1659,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -1680,34 +1687,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/gcc13-pr110334.patch b/gcc13-pr110334.patch new file mode 100644 index 0000000..b13e6ac --- /dev/null +++ b/gcc13-pr110334.patch @@ -0,0 +1,135 @@ +From abdf0b6cdff5783b97f35ad61ae31433f0569dfd Mon Sep 17 00:00:00 2001 +From: Jason Merrill +Date: Tue, 27 Jun 2023 05:15:01 -0400 +Subject: [PATCH] c++: inherited constructor attributes +To: gcc-patches@gcc.gnu.org + +Inherited constructors are like constructor clones; they don't exist from +the language perspective, so they should copy the attributes in the same +way. But it doesn't make sense to copy alias or ifunc attributes in either +case. Unlike handle_copy_attribute, we do want to copy inlining attributes. + +The discussion of PR110334 pointed out that we weren't copying the +always_inline attribute, leading to poor inlining choices. + + PR c++/110334 + +gcc/cp/ChangeLog: + + * cp-tree.h (clone_attrs): Declare. + * method.cc (implicitly_declare_fn): Use it for inherited + constructor. + * optimize.cc (clone_attrs): New. + (maybe_clone_body): Use it. + +gcc/testsuite/ChangeLog: + + * g++.dg/cpp1z/nodiscard-inh1.C: New test. +--- + gcc/cp/cp-tree.h | 1 + + gcc/cp/method.cc | 2 ++ + gcc/cp/optimize.cc | 26 ++++++++++++++++++++- + gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C | 15 ++++++++++++ + 4 files changed, 43 insertions(+), 1 deletion(-) + create mode 100644 gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C + +diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h +index 83982233111..0d7a6c153dc 100644 +--- a/gcc/cp/cp-tree.h ++++ b/gcc/cp/cp-tree.h +@@ -7282,6 +7282,7 @@ extern void module_preprocess_options (cpp_reader *); + extern bool handle_module_option (unsigned opt, const char *arg, int value); + + /* In optimize.cc */ ++extern tree clone_attrs (tree); + extern bool maybe_clone_body (tree); + + /* In parser.cc */ +diff --git a/gcc/cp/method.cc b/gcc/cp/method.cc +index 91cf943f110..8ed967ddb21 100644 +--- a/gcc/cp/method.cc ++++ b/gcc/cp/method.cc +@@ -3294,6 +3294,8 @@ implicitly_declare_fn (special_function_kind kind, tree type, + /* Copy constexpr from the inherited constructor even if the + inheriting constructor doesn't satisfy the requirements. */ + constexpr_p = DECL_DECLARED_CONSTEXPR_P (inherited_ctor); ++ /* Also copy any attributes. */ ++ DECL_ATTRIBUTES (fn) = clone_attrs (DECL_ATTRIBUTES (inherited_ctor)); + } + + /* Add the "this" parameter. */ +diff --git a/gcc/cp/optimize.cc b/gcc/cp/optimize.cc +index f73d86b6c6b..9e8926e4cc6 100644 +--- a/gcc/cp/optimize.cc ++++ b/gcc/cp/optimize.cc +@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see + #include "debug.h" + #include "tree-inline.h" + #include "tree-iterator.h" ++#include "attribs.h" + + /* Prototypes. */ + +@@ -446,6 +447,29 @@ maybe_thunk_body (tree fn, bool force) + return 1; + } + ++/* Copy most attributes from ATTRS, omitting attributes that can really only ++ apply to a single decl. */ ++ ++tree ++clone_attrs (tree attrs) ++{ ++ tree new_attrs = NULL_TREE; ++ tree *p = &new_attrs; ++ ++ for (tree a = attrs; a; a = TREE_CHAIN (a)) ++ { ++ tree aname = get_attribute_name (a); ++ if (is_attribute_namespace_p ("", a) ++ && (is_attribute_p ("alias", aname) ++ || is_attribute_p ("ifunc", aname))) ++ continue; ++ *p = copy_node (a); ++ p = &TREE_CHAIN (*p); ++ } ++ *p = NULL_TREE; ++ return new_attrs; ++} ++ + /* FN is a function that has a complete body. Clone the body as + necessary. Returns nonzero if there's no longer any need to + process the main body. */ +@@ -503,7 +527,7 @@ maybe_clone_body (tree fn) + DECL_VISIBILITY (clone) = DECL_VISIBILITY (fn); + DECL_VISIBILITY_SPECIFIED (clone) = DECL_VISIBILITY_SPECIFIED (fn); + DECL_DLLIMPORT_P (clone) = DECL_DLLIMPORT_P (fn); +- DECL_ATTRIBUTES (clone) = copy_list (DECL_ATTRIBUTES (fn)); ++ DECL_ATTRIBUTES (clone) = clone_attrs (DECL_ATTRIBUTES (fn)); + DECL_DISREGARD_INLINE_LIMITS (clone) = DECL_DISREGARD_INLINE_LIMITS (fn); + set_decl_section_name (clone, fn); + +diff --git a/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C +new file mode 100644 +index 00000000000..bc2555930f1 +--- /dev/null ++++ b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C +@@ -0,0 +1,15 @@ ++// [[nodiscard]] should apply to inherited constructors. ++// { dg-do compile { target c++11 } } ++ ++struct A { ++ [[nodiscard]] A(int); ++}; ++ ++struct B: A { ++ using A::A; ++}; ++ ++int main() ++{ ++ B(42); // { dg-warning nodiscard } ++} +-- +2.35.3 + diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 9011ccf..48bdc9b 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -221,7 +221,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -401,6 +401,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -535,6 +536,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -832,6 +834,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -844,6 +850,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -871,34 +878,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ diff --git a/gcc13.changes b/gcc13.changes index fa570dc..49f9366 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jun 28 06:56:52 UTC 2023 - Richard Biener + +- Bump to a533ded17fb13cbbb2fa5133ecd470360f66c5cf, git7489. +- Add gcc13-pr110334.patch to fix missed optimization in Skia + resulting in Firefox crashes when building with LTO. [boo#1212101] + +------------------------------------------------------------------- +Tue Jun 13 09:22:50 UTC 2023 - Richard Biener + +- Raise POWER architecture baseline to power9. [PED-4454] +- Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-???] +- Raise s390x architecture baseline to ???. [PED-???] + ------------------------------------------------------------------- Mon May 22 09:05:30 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index 7d9beb4..ce19b0b 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -200,7 +200,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7364 +Version: 13.1.1+git7489 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -380,6 +380,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch +Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -2352,6 +2353,7 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif +%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 @@ -2649,6 +2651,10 @@ amdgcn-amdhsa,\ --enable-fix-cortex-a53-843419 \ %endif %if "%{TARGET_ARCH}" == "powerpc64le" +%if %{suse_version} >= 1600 + --with-cpu=power9 \ + --with-tune=power9 \ +%else %if %{suse_version} >= 1350 --with-cpu=power8 \ --with-tune=power9 \ @@ -2661,6 +2667,7 @@ amdgcn-amdhsa,\ --with-tune=power7 \ %endif %endif +%endif %if %{suse_version} > 1500 --with-long-double-format=ieee \ %else @@ -2688,34 +2695,53 @@ amdgcn-amdhsa,\ --with-long-double-128 \ %endif %if "%{TARGET_ARCH}" == "i586" +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else %if 0%{?sle_version:%sle_version} >= 150000 --with-arch-32=x86-64 \ %else --with-arch-32=i586 \ +%endif %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "x86_64" %ifnarch %{disable_multilib_arch} --enable-multilib \ +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch-32=x86-64-v2 \ +%else --with-arch-32=x86-64 \ +%endif +%endif +%if %{suse_version} >= 1600 && !0%{?is_opensuse} + --with-arch=x86-64-v2 \ %endif --with-tune=generic \ %endif %if "%{TARGET_ARCH}" == "s390" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ %endif %if "%{TARGET_ARCH}" == "s390x" +%if %{suse_version} >= 1600 + --with-tune=zEC12 --with-arch=z196 \ +%else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ %else --with-tune=z9-109 --with-arch=z900 \ +%endif %endif --with-long-double-128 \ --enable-decimal-float \ From 539e8fd815e5d45175ed6b831578d5112a5172a5a6eb0395b881599fcac1593d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 28 Jun 2023 09:09:04 +0000 Subject: [PATCH 2/4] - Raise architecture levels for ALP. [PED-153] * Raise POWER architecture baseline to power9. [PED-2005] * Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-252] * Raise s390x architecture baseline to z14. [PED-253] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=49 --- cross-aarch64-gcc13-bootstrap.spec | 2 +- cross-aarch64-gcc13.spec | 2 +- cross-amdgcn-gcc13.spec | 2 +- cross-arm-gcc13.spec | 2 +- cross-arm-none-gcc13-bootstrap.spec | 2 +- cross-arm-none-gcc13.spec | 2 +- cross-avr-gcc13-bootstrap.spec | 2 +- cross-avr-gcc13.spec | 2 +- cross-bpf-gcc13.spec | 2 +- cross-epiphany-gcc13-bootstrap.spec | 2 +- cross-epiphany-gcc13.spec | 2 +- cross-hppa-gcc13-bootstrap.spec | 2 +- cross-hppa-gcc13.spec | 2 +- cross-m68k-gcc13.spec | 2 +- cross-mips-gcc13.spec | 2 +- cross-nvptx-gcc13.spec | 2 +- cross-ppc64-gcc13.spec | 2 +- cross-ppc64le-gcc13.spec | 2 +- cross-pru-gcc13-bootstrap.spec | 2 +- cross-pru-gcc13.spec | 2 +- cross-riscv64-elf-gcc13-bootstrap.spec | 2 +- cross-riscv64-elf-gcc13.spec | 2 +- cross-riscv64-gcc13-bootstrap.spec | 2 +- cross-riscv64-gcc13.spec | 2 +- cross-rx-gcc13-bootstrap.spec | 2 +- cross-rx-gcc13.spec | 2 +- cross-s390x-gcc13.spec | 2 +- cross-sparc-gcc13.spec | 2 +- cross-sparc64-gcc13.spec | 2 +- cross-x86_64-gcc13.spec | 2 +- gcc.spec.in | 2 +- gcc13-testresults.spec | 2 +- gcc13.changes | 7 ++++--- gcc13.spec | 2 +- 34 files changed, 37 insertions(+), 36 deletions(-) diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index 87068fc..5102b45 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index 840cb72..58c4e2e 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index d2a1c17..3b5fcfc 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 0a8d60e..827ef39 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 481a895..4779e75 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index 7660515..6525761 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index ad2197d..aa0f29f 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index 4725e82..9e5518d 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 442ff49..55a63be 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index b1c67ff..ff4aecd 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 6358727..59f0f34 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index 8b68b41..aaf4299 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index 14987c0..d05cf8f 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index a589c30..e47d3eb 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index 30a8860..d1d0523 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 26adfb7..35b4323 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index 8db01b2..285f018 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 8dabd25..0a8650d 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index 177dee0..a38e515 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index e89dece..84e8c53 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index 1aad6d1..797171d 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 2458a18..5fbb121 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index c5a4fd5..30ca737 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index 35de18d..b7ff037 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index 9d7befa..497a51c 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index c97a9ae..2729a41 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index 256b833..f29e165 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index fec4ea5..95c4aac 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index 98f2ed7..60f55ea 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index 9f36e38..f30f128 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc.spec.in b/gcc.spec.in index d50fd05..2a20aa3 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1714,7 +1714,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 48bdc9b..614065c 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -905,7 +905,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc13.changes b/gcc13.changes index 49f9366..82e189d 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -8,9 +8,10 @@ Wed Jun 28 06:56:52 UTC 2023 - Richard Biener ------------------------------------------------------------------- Tue Jun 13 09:22:50 UTC 2023 - Richard Biener -- Raise POWER architecture baseline to power9. [PED-4454] -- Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-???] -- Raise s390x architecture baseline to ???. [PED-???] +- Raise architecture levels for ALP. [PED-153] + * Raise POWER architecture baseline to power9. [PED-2005] + * Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-252] + * Raise s390x architecture baseline to z14. [PED-253] ------------------------------------------------------------------- Mon May 22 09:05:30 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index ce19b0b..573a39f 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -2722,7 +2722,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=zEC12 --with-arch=z196 \ + --with-tune=z14 --with-arch=z14 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ From 564457ca89fac485a71ddb5d86cf320f7f4acd1a3cc45c30e0700083423c491e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 30 Jun 2023 06:06:25 +0000 Subject: [PATCH 3/4] * Delay raising s390x architecture baseline to z14. [PED-253] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=50 --- cross-aarch64-gcc13-bootstrap.spec | 2 +- cross-aarch64-gcc13.spec | 2 +- cross-amdgcn-gcc13.spec | 2 +- cross-arm-gcc13.spec | 2 +- cross-arm-none-gcc13-bootstrap.spec | 2 +- cross-arm-none-gcc13.spec | 2 +- cross-avr-gcc13-bootstrap.spec | 2 +- cross-avr-gcc13.spec | 2 +- cross-bpf-gcc13.spec | 2 +- cross-epiphany-gcc13-bootstrap.spec | 2 +- cross-epiphany-gcc13.spec | 2 +- cross-hppa-gcc13-bootstrap.spec | 2 +- cross-hppa-gcc13.spec | 2 +- cross-m68k-gcc13.spec | 2 +- cross-mips-gcc13.spec | 2 +- cross-nvptx-gcc13.spec | 2 +- cross-ppc64-gcc13.spec | 2 +- cross-ppc64le-gcc13.spec | 2 +- cross-pru-gcc13-bootstrap.spec | 2 +- cross-pru-gcc13.spec | 2 +- cross-riscv64-elf-gcc13-bootstrap.spec | 2 +- cross-riscv64-elf-gcc13.spec | 2 +- cross-riscv64-gcc13-bootstrap.spec | 2 +- cross-riscv64-gcc13.spec | 2 +- cross-rx-gcc13-bootstrap.spec | 2 +- cross-rx-gcc13.spec | 2 +- cross-s390x-gcc13.spec | 2 +- cross-sparc-gcc13.spec | 2 +- cross-sparc64-gcc13.spec | 2 +- cross-x86_64-gcc13.spec | 2 +- gcc.spec.in | 2 +- gcc13-testresults.spec | 2 +- gcc13.changes | 2 +- gcc13.spec | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index 5102b45..87068fc 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index 58c4e2e..840cb72 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index 3b5fcfc..d2a1c17 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 827ef39..0a8d60e 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 4779e75..481a895 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index 6525761..7660515 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index aa0f29f..ad2197d 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index 9e5518d..4725e82 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 55a63be..442ff49 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index ff4aecd..b1c67ff 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 59f0f34..6358727 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index aaf4299..8b68b41 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index d05cf8f..14987c0 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index e47d3eb..a589c30 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index d1d0523..30a8860 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 35b4323..26adfb7 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index 285f018..8db01b2 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 0a8650d..8dabd25 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index a38e515..177dee0 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index 84e8c53..e89dece 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index 797171d..1aad6d1 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 5fbb121..2458a18 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index 30ca737..c5a4fd5 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index b7ff037..35de18d 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index 497a51c..9d7befa 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -704,7 +704,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index 2729a41..c97a9ae 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index f29e165..256b833 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index 95c4aac..fec4ea5 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index 60f55ea..98f2ed7 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index f30f128..9f36e38 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -703,7 +703,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc.spec.in b/gcc.spec.in index 2a20aa3..d50fd05 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1714,7 +1714,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 614065c..48bdc9b 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -905,7 +905,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ diff --git a/gcc13.changes b/gcc13.changes index 82e189d..760d34b 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -11,7 +11,7 @@ Tue Jun 13 09:22:50 UTC 2023 - Richard Biener - Raise architecture levels for ALP. [PED-153] * Raise POWER architecture baseline to power9. [PED-2005] * Raise x86-64 architecture baseline to x86-64-v2 for ALP. [PED-252] - * Raise s390x architecture baseline to z14. [PED-253] + * Delay raising s390x architecture baseline to z14. [PED-253] ------------------------------------------------------------------- Mon May 22 09:05:30 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index 573a39f..ce19b0b 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -2722,7 +2722,7 @@ amdgcn-amdhsa,\ %endif %if "%{TARGET_ARCH}" == "s390" %if %{suse_version} >= 1600 - --with-tune=z14 --with-arch=z14 \ + --with-tune=zEC12 --with-arch=z196 \ %else %if %{suse_version} >= 1310 --with-tune=zEC12 --with-arch=z196 \ From 23ab3ff6b503071fa5cdb0bb61df1d9706ff11e5536f1d74413c3063636ff03f Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 10 Jul 2023 08:21:10 +0000 Subject: [PATCH 4/4] - Bump to f9781fcf733ca3afe5b5811afd8ecbb18d9d3a11, git7552 - Remove gcc13-pr110334.patch again as it breaks libreoffice build. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc13?expand=0&rev=51 --- cross-aarch64-gcc13-bootstrap.spec | 4 +- cross-aarch64-gcc13.spec | 4 +- cross-amdgcn-gcc13.spec | 4 +- cross-arm-gcc13.spec | 4 +- cross-arm-none-gcc13-bootstrap.spec | 4 +- cross-arm-none-gcc13.spec | 4 +- cross-avr-gcc13-bootstrap.spec | 4 +- cross-avr-gcc13.spec | 4 +- cross-bpf-gcc13.spec | 4 +- cross-epiphany-gcc13-bootstrap.spec | 4 +- cross-epiphany-gcc13.spec | 4 +- cross-hppa-gcc13-bootstrap.spec | 4 +- cross-hppa-gcc13.spec | 4 +- cross-m68k-gcc13.spec | 4 +- cross-mips-gcc13.spec | 4 +- cross-nvptx-gcc13.spec | 4 +- cross-ppc64-gcc13.spec | 4 +- cross-ppc64le-gcc13.spec | 4 +- cross-pru-gcc13-bootstrap.spec | 4 +- cross-pru-gcc13.spec | 4 +- cross-riscv64-elf-gcc13-bootstrap.spec | 4 +- cross-riscv64-elf-gcc13.spec | 4 +- cross-riscv64-gcc13-bootstrap.spec | 4 +- cross-riscv64-gcc13.spec | 4 +- cross-rx-gcc13-bootstrap.spec | 4 +- cross-rx-gcc13.spec | 4 +- cross-s390x-gcc13.spec | 4 +- cross-sparc-gcc13.spec | 4 +- cross-sparc64-gcc13.spec | 4 +- cross-x86_64-gcc13.spec | 4 +- gcc-13.1.1+git7489.tar.xz | 3 - gcc-13.1.1+git7552.tar.xz | 3 + gcc.spec.in | 4 +- gcc13-pr110334.patch | 135 ------------------------- gcc13-testresults.spec | 4 +- gcc13.changes | 6 ++ gcc13.spec | 4 +- 37 files changed, 42 insertions(+), 237 deletions(-) delete mode 100644 gcc-13.1.1+git7489.tar.xz create mode 100644 gcc-13.1.1+git7552.tar.xz delete mode 100644 gcc13-pr110334.patch diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index 87068fc..734e16e 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index 840cb72..10533ea 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index d2a1c17..c48f0a4 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index 0a8d60e..0ac2f42 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 481a895..42fa900 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,7 +134,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -335,7 +334,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index 7660515..f3a10eb 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index ad2197d..e87f6dd 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index 4725e82..90994d7 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 442ff49..0118eab 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index b1c67ff..17b6ab6 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,7 +134,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -335,7 +334,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 6358727..a1d165f 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index 8b68b41..0cb3a6d 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index 14987c0..3d27866 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index a589c30..c45992d 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index 30a8860..0ae878d 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 26adfb7..e261b5d 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index 8db01b2..96c0ee4 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 8dabd25..b01b408 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index 177dee0..7194ccf 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,7 +134,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -335,7 +334,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index e89dece..1f40652 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index 1aad6d1..c846702 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,7 +134,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -335,7 +334,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index 2458a18..2630336 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index c5a4fd5..86ca4bf 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index 35de18d..febffca 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index 9d7befa..168f680 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -108,7 +108,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -134,7 +134,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -335,7 +334,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index c97a9ae..1ab8e37 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index 256b833..fbcabbe 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index fec4ea5..8cc980f 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index 98f2ed7..0c88587 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index 9f36e38..14f3ee1 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -107,7 +107,7 @@ Name: %{pkgname} %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -133,7 +133,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -334,7 +333,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/gcc-13.1.1+git7489.tar.xz b/gcc-13.1.1+git7489.tar.xz deleted file mode 100644 index 033f43c..0000000 --- a/gcc-13.1.1+git7489.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a698d4769513cb6c9766793c87981bfc0637bde537508aa3e5cd6a13e5c73c9a -size 87014676 diff --git a/gcc-13.1.1+git7552.tar.xz b/gcc-13.1.1+git7552.tar.xz new file mode 100644 index 0000000..7cd9e70 --- /dev/null +++ b/gcc-13.1.1+git7552.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98b95d594a6cbb5c270be7214c45873e87b0b28194833e7837c54438748918fc +size 86948796 diff --git a/gcc.spec.in b/gcc.spec.in index d50fd05..a27a2c7 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -204,7 +204,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 1 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -385,7 +385,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1345,7 +1344,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/gcc13-pr110334.patch b/gcc13-pr110334.patch deleted file mode 100644 index b13e6ac..0000000 --- a/gcc13-pr110334.patch +++ /dev/null @@ -1,135 +0,0 @@ -From abdf0b6cdff5783b97f35ad61ae31433f0569dfd Mon Sep 17 00:00:00 2001 -From: Jason Merrill -Date: Tue, 27 Jun 2023 05:15:01 -0400 -Subject: [PATCH] c++: inherited constructor attributes -To: gcc-patches@gcc.gnu.org - -Inherited constructors are like constructor clones; they don't exist from -the language perspective, so they should copy the attributes in the same -way. But it doesn't make sense to copy alias or ifunc attributes in either -case. Unlike handle_copy_attribute, we do want to copy inlining attributes. - -The discussion of PR110334 pointed out that we weren't copying the -always_inline attribute, leading to poor inlining choices. - - PR c++/110334 - -gcc/cp/ChangeLog: - - * cp-tree.h (clone_attrs): Declare. - * method.cc (implicitly_declare_fn): Use it for inherited - constructor. - * optimize.cc (clone_attrs): New. - (maybe_clone_body): Use it. - -gcc/testsuite/ChangeLog: - - * g++.dg/cpp1z/nodiscard-inh1.C: New test. ---- - gcc/cp/cp-tree.h | 1 + - gcc/cp/method.cc | 2 ++ - gcc/cp/optimize.cc | 26 ++++++++++++++++++++- - gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C | 15 ++++++++++++ - 4 files changed, 43 insertions(+), 1 deletion(-) - create mode 100644 gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C - -diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h -index 83982233111..0d7a6c153dc 100644 ---- a/gcc/cp/cp-tree.h -+++ b/gcc/cp/cp-tree.h -@@ -7282,6 +7282,7 @@ extern void module_preprocess_options (cpp_reader *); - extern bool handle_module_option (unsigned opt, const char *arg, int value); - - /* In optimize.cc */ -+extern tree clone_attrs (tree); - extern bool maybe_clone_body (tree); - - /* In parser.cc */ -diff --git a/gcc/cp/method.cc b/gcc/cp/method.cc -index 91cf943f110..8ed967ddb21 100644 ---- a/gcc/cp/method.cc -+++ b/gcc/cp/method.cc -@@ -3294,6 +3294,8 @@ implicitly_declare_fn (special_function_kind kind, tree type, - /* Copy constexpr from the inherited constructor even if the - inheriting constructor doesn't satisfy the requirements. */ - constexpr_p = DECL_DECLARED_CONSTEXPR_P (inherited_ctor); -+ /* Also copy any attributes. */ -+ DECL_ATTRIBUTES (fn) = clone_attrs (DECL_ATTRIBUTES (inherited_ctor)); - } - - /* Add the "this" parameter. */ -diff --git a/gcc/cp/optimize.cc b/gcc/cp/optimize.cc -index f73d86b6c6b..9e8926e4cc6 100644 ---- a/gcc/cp/optimize.cc -+++ b/gcc/cp/optimize.cc -@@ -28,6 +28,7 @@ along with GCC; see the file COPYING3. If not see - #include "debug.h" - #include "tree-inline.h" - #include "tree-iterator.h" -+#include "attribs.h" - - /* Prototypes. */ - -@@ -446,6 +447,29 @@ maybe_thunk_body (tree fn, bool force) - return 1; - } - -+/* Copy most attributes from ATTRS, omitting attributes that can really only -+ apply to a single decl. */ -+ -+tree -+clone_attrs (tree attrs) -+{ -+ tree new_attrs = NULL_TREE; -+ tree *p = &new_attrs; -+ -+ for (tree a = attrs; a; a = TREE_CHAIN (a)) -+ { -+ tree aname = get_attribute_name (a); -+ if (is_attribute_namespace_p ("", a) -+ && (is_attribute_p ("alias", aname) -+ || is_attribute_p ("ifunc", aname))) -+ continue; -+ *p = copy_node (a); -+ p = &TREE_CHAIN (*p); -+ } -+ *p = NULL_TREE; -+ return new_attrs; -+} -+ - /* FN is a function that has a complete body. Clone the body as - necessary. Returns nonzero if there's no longer any need to - process the main body. */ -@@ -503,7 +527,7 @@ maybe_clone_body (tree fn) - DECL_VISIBILITY (clone) = DECL_VISIBILITY (fn); - DECL_VISIBILITY_SPECIFIED (clone) = DECL_VISIBILITY_SPECIFIED (fn); - DECL_DLLIMPORT_P (clone) = DECL_DLLIMPORT_P (fn); -- DECL_ATTRIBUTES (clone) = copy_list (DECL_ATTRIBUTES (fn)); -+ DECL_ATTRIBUTES (clone) = clone_attrs (DECL_ATTRIBUTES (fn)); - DECL_DISREGARD_INLINE_LIMITS (clone) = DECL_DISREGARD_INLINE_LIMITS (fn); - set_decl_section_name (clone, fn); - -diff --git a/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C -new file mode 100644 -index 00000000000..bc2555930f1 ---- /dev/null -+++ b/gcc/testsuite/g++.dg/cpp1z/nodiscard-inh1.C -@@ -0,0 +1,15 @@ -+// [[nodiscard]] should apply to inherited constructors. -+// { dg-do compile { target c++11 } } -+ -+struct A { -+ [[nodiscard]] A(int); -+}; -+ -+struct B: A { -+ using A::A; -+}; -+ -+int main() -+{ -+ B(42); // { dg-warning nodiscard } -+} --- -2.35.3 - diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 48bdc9b..92184c2 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -221,7 +221,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -401,7 +401,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -536,7 +535,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1 diff --git a/gcc13.changes b/gcc13.changes index 760d34b..94b2d6d 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 10 08:12:40 UTC 2023 - Richard Biener + +- Bump to f9781fcf733ca3afe5b5811afd8ecbb18d9d3a11, git7552 +- Remove gcc13-pr110334.patch again as it breaks libreoffice build. + ------------------------------------------------------------------- Wed Jun 28 06:56:52 UTC 2023 - Richard Biener diff --git a/gcc13.spec b/gcc13.spec index ce19b0b..87fdf0b 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -200,7 +200,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 13.1.1+git7489 +Version: 13.1.1+git7552 Release: 0 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') @@ -380,7 +380,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch18: gcc10-amdgcn-llvm-as.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch -Patch21: gcc13-pr110334.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -2353,7 +2352,6 @@ ln -s newlib-4.3.0.20230120/newlib . %patch18 -p1 %patch20 -p1 %endif -%patch21 -p1 # In SLE15 and earlier default to dwarf4, not dwarf5 %if %{suse_version} < 1550 %patch19 -p1