diff --git a/.gitignore b/.gitignore index bbda5d5..a9109b2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /gcc-13.2.1-20231113.tar.xz /gcc-13.2.1-20231205.tar.xz /gcc-13.3.1-20240522.tar.xz +/gcc-13.3.1-20240611.tar.xz diff --git a/gcc.spec b/gcc.spec index 3c87e64..4733205 100644 --- a/gcc.spec +++ b/gcc.spec @@ -5,13 +5,13 @@ BuildRequires: scl-utils-build %{?scl:%global __strip %%{_scl_root}/usr/bin/strip} %{?scl:%global __objdump %%{_scl_root}/usr/bin/objdump} %{?scl:%scl_package gcc} -%global DATE 20240522 -%global gitrev 5632a1dc05eae4936ac0d8d7e8a5cb717bce5960 +%global DATE 20240611 +%global gitrev 03b1a31f9807251f378fcecb29c4669eed357eb2 %global gcc_version 13.3.1 %global gcc_major 13 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. -%global gcc_release 1 +%global gcc_release 2 %global nvptx_tools_gitrev aa3404ad5a496cda5d79a50bedb1344fd63e8763 %global newlib_cygwin_gitrev 9e09d6ed83cce4777a5950412647ccc603040409 %global mpc_version 1.0.3 @@ -330,6 +330,7 @@ Patch9: gcc13-Wno-format-security.patch Patch10: gcc13-rh1574936.patch Patch11: gcc13-d-shared-libphobos.patch Patch12: gcc13-znver5.patch +Patch13: gcc13-pr107071.patch Patch50: isl-rh2155127.patch @@ -696,6 +697,7 @@ so that there cannot be any synchronization problems. %endif %patch -P11 -p0 -b .d-shared-libphobos~ %patch -P12 -p1 -b .znver5~ +%patch -P13 -p1 -b .pr107071~ %if 0%{?rhel} >= 6 %patch -P100 -p1 -b .fortran-fdec-duplicates~ @@ -1826,7 +1828,7 @@ ln -sf ../../../%{multilib_32_arch}-%{_vendor}-%{_target_os}%{?_gnu}/%{gcc_major %if 0%{?_enable_debug_packages} mkdir -p $RPM_BUILD_ROOT%{?scl:%{_root_prefix}}%{!?scl:%{_prefix}}/lib/debug%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major} adirs="$FULLPATH" -if [ $FULLLPATH -ne $FULLPATH ]; then +if [ "$FULLLPATH" != "$FULLPATH" ]; then adirs="$adirs $FULLLPATH" fi for f in `find $adirs -maxdepth 1 -a \ @@ -2907,6 +2909,18 @@ fi %endif %changelog +* Tue Jun 11 2024 Marek Polacek 13.3.1-2 +- update from releases/gcc-13 branch + - PRs ada/114398, ada/114708, c/114493, c++/111529, c++/113598, + fortran/110415, fortran/114827, fortran/115150, libstdc++/114940, + libstdc++/115269, middle-end/108789, rtl-optimization/114902, + rtl-optimization/115092, target/113281, target/113719, target/115297, + target/115317, target/115324, tree-optimization/115192, + tree-optimization/115307, tree-optimization/115337 +- fix a shell condition (RHEL-40722) +- backport a fix for modes_1.f90 (RHEL-40234) +- fix up pointer types to may_alias structures (PR c/114493, RHEL-39736) + * Mon Jun 3 2024 Marek Polacek 13.3.1-1 - update from releases/gcc-13 branch - GCC 13.3 release diff --git a/gcc13-pr107071.patch b/gcc13-pr107071.patch new file mode 100644 index 0000000..5d459a0 --- /dev/null +++ b/gcc13-pr107071.patch @@ -0,0 +1,28 @@ +commit c8c587b854c9e85fc9ce58c8192d532205f0ee1f +Author: Tamar Christina +Date: Wed Feb 21 11:42:13 2024 +0000 + + AArch64: skip modes_1.f90 [PR107071] + + This test has never worked on AArch64 since the day it was committed. It has + a number of issues that prevent it from working on AArch64: + + The testfailures seem to be known and triaged, so until that's fixed there's + no point in running this test. + + gcc/testsuite/ChangeLog: + + PR fortran/107071 + * gfortran.dg/ieee/modes_1.f90: skip aarch64, arm. + +diff --git a/gcc/testsuite/gfortran.dg/ieee/modes_1.f90 b/gcc/testsuite/gfortran.dg/ieee/modes_1.f90 +index 205c47f3800..e29d8c678e6 100644 +--- a/gcc/testsuite/gfortran.dg/ieee/modes_1.f90 ++++ b/gcc/testsuite/gfortran.dg/ieee/modes_1.f90 +@@ -1,5 +1,5 @@ + ! { dg-do run } +-! ++! { dg-skip-if "PR libfortran/78314" { aarch64*-*-gnu* arm*-*-gnueabi arm*-*-gnueabihf } } + ! Test IEEE_MODES_TYPE, IEEE_GET_MODES and IEEE_SET_MODES + + diff --git a/sources b/sources index d75b15c..0c41230 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (gcc-13.3.1-20240522.tar.xz) = a0d7a71101af71309a5b3677cff7e0b193d06d1eac0ca642573dda24614dc8f101342d576727a1a3ea3bf0adf6b53a1a472516b1a4164391a32af735bcce9923 +SHA512 (gcc-13.3.1-20240611.tar.xz) = 4cf86cf58663e89b54198824eaf6387157f8fb205f700815d8066150f393ceecb41f3f369c772e5855a4555eccf24c5dfd501507337d0438cc8134d0df02f696 SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95 SHA512 (newlib-cygwin-9e09d6ed83cce4777a5950412647ccc603040409.tar.xz) = bef3fa04f7b1a915fc1356ebed114698b5cc835e9fa04b0becff05a9efc76c59fb376482990873d222d7acdcfee3c4f30f5a4cb7f3be1f291f1fa5f1c7a9d983 SHA512 (nvptx-tools-aa3404ad5a496cda5d79a50bedb1344fd63e8763.tar.xz) = 33a024326426375533cb5dd9b68b2508f37540be418d2506bfa19a5f5866485e9af150469064e9059b68136ad8cb080b3b12e7eb5c6b7d1288cf6bfb3f6bb5d0