diff --git a/.gitignore b/.gitignore index 1b7aa4a..7412321 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /isl-0.24.tar.bz2 /newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz /nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz +/gcc-14.2.1-20240801.tar.xz +/gcc-14.2.1-20250110.tar.xz diff --git a/0020-more-fixes.patch b/0020-more-fixes.patch index 2dd02c7..d123161 100644 --- a/0020-more-fixes.patch +++ b/0020-more-fixes.patch @@ -6,7 +6,7 @@ index b64e71dae22..5bf47b20820 100644 jump threading opportunities. Skip the later tests on aarch64. */ /* { dg-final { scan-tree-dump-not "Jumps threaded" "dom3" { target { ! aarch64*-*-* } } } } */ /* { dg-final { scan-tree-dump "Jumps threaded: 9" "thread2" { target { ! aarch64*-*-* } } } } */ --/* { dg-final { scan-tree-dump "Jumps threaded: 18" "thread2" { target { aarch64*-*-* } } } } */ +-/* { dg-final { scan-tree-dump "Jumps threaded: 17" "thread2" { target { aarch64*-*-* } } } } */ enum STATE { S0=0, diff --git a/gcc.spec b/gcc.spec index a87a721..75b6cfa 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 20240801 -%global gitrev 43d4666d3d94934f11857a2fb9122c575be81801 +%global DATE 20250110 +%global gitrev e525669e462dd777a1af9932fe9188937acdeb69 %global gcc_version 14.2.1 %global gcc_major 14 # 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 7 %global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed %global isl_version 0.24 @@ -152,7 +152,7 @@ BuildRequires: scl-utils-build Summary: GCC version %{gcc_major} Name: %{?scl_prefix}gcc Version: %{gcc_version} -Release: %{gcc_release}.1%{?dist} +Release: %{gcc_release}%{?dist} # License notes for some of the less obvious ones: # gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para # isl: MIT, BSD-2-Clause @@ -333,6 +333,7 @@ Patch9: gcc14-Wno-format-security.patch Patch10: gcc14-rh1574936.patch Patch11: gcc14-d-shared-libphobos.patch Patch12: gcc14-pr101523.patch +Patch13: gcc14-pr118509.patch Patch50: isl-rh2155127.patch @@ -680,6 +681,7 @@ so that there cannot be any synchronization problems. %patch -P10 -p0 -b .rh1574936~ %patch -P11 -p0 -b .d-shared-libphobos~ %patch -P12 -p1 -b .pr101523~ +%patch -P13 -p0 -b .pr118509~ %patch -P100 -p1 -b .fortran-fdec-duplicates~ @@ -738,10 +740,8 @@ echo 'TM_H += $(srcdir)/config/rs6000/rs6000-modes.h' >> gcc/config/rs6000/t-rs6 LC_ALL=C sed -i -e 's/\xa0/ /' gcc/doc/options.texi -sed -i -e '/ldp_fusion/s/Init(1)/Init(0)/' gcc/config/aarch64/aarch64.opt - sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt -sed -i -e 's/context->report_bug = false;/context->report_bug = true;/' gcc/diagnostic.cc +sed -i -e 's/m_report_bug = false;/m_report_bug = true;/' gcc/diagnostic.cc %ifarch ppc if [ -d libstdc++-v3/config/abi/post/powerpc64-linux-gnu ]; then @@ -2787,6 +2787,55 @@ fi %endif %changelog +* Wed Jan 22 2025 Marek Polacek 14.2.1-7 +- update from releases/gcc-14 branch (RHEL-74062) + - PRs ada/113036, ada/113868, ada/115917, ada/117328, ada/117996, + analyzer/115724, c/117641, c/117745, c/117802, c++/100358, c++/101463, + c++/102594, c++/109859, c++/113108, c++/114854, c++/115008, + c++/115430, c++/115657, c++/116108, c++/116634, c++/117158, + c++/117317, c++/117614, c++/117615, c++/117792, c++/117825, + c++/117845, c++/117880, c++/117925, c++/117985, c++/118060, + c++/118069, driver/117942, fortran/84674, fortran/84869, + fortran/105054, fortran/109105, fortran/109345, fortran/115070, + fortran/115348, fortran/116388, fortran/117730, fortran/117763, + fortran/117774, fortran/117791, fortran/117797, fortran/117819, + fortran/117820, fortran/117843, fortran/117897, libgomp/117851, + libstdc++/89624, libstdc++/106212, libstdc++/106676, libstdc++/108236, + libstdc++/109517, libstdc++/109976, libstdc++/112349, + libstdc++/112641, libstdc++/117520, libstdc++/117560, + libstdc++/117822, libstdc++/117962, libstdc++/117966, + libstdc++/118035, libstdc++/118093, middle-end/43374, + middle-end/102674, middle-end/116997, middle-end/117433, + middle-end/117458, middle-end/117459, middle-end/117847, + middle-end/118024, modula2/114529, modula2/115003, modula2/115057, + modula2/115164, modula2/115276, modula2/115328, modula2/115536, + modula2/115540, modula2/115804, modula2/115823, modula2/115957, + modula2/116048, modula2/116181, modula2/116378, modula2/116557, + modula2/116918, modula2/117120, modula2/117371, modula2/117555, + modula2/117660, modula2/117904, modula2/117948, other/116603, + preprocessor/117118, rtl-optimization/113994, rtl-optimization/116799, + rtl-optimization/117095, sanitizer/117960, target/64242, + target/114801, target/114942, target/116371, target/116629, + target/116999, target/117045, target/117105, target/117304, + target/117357, target/117408, target/117418, target/117443, + target/117500, target/117525, target/117562, target/117564, + target/117642, target/117659, target/117675, target/117744, + target/117926, testsuite/103298, testsuite/109360, + tree-optimization/94589, tree-optimization/112376, + tree-optimization/116463, tree-optimization/117142, + tree-optimization/117254, tree-optimization/117307, + tree-optimization/117333, tree-optimization/117398, + tree-optimization/117417, tree-optimization/117439, + tree-optimization/117574, tree-optimization/117594, + tree-optimization/117612, tree-optimization/117912 +- fix up -freport-bug default (#2330362, RHEL-73476) +- revert -mearly-ldp-fusion and -mlate-ldp-fusion default to enabled on + aarch64 to match upstream (RHEL-74058) +- consider TARGET_EXPR invariant like SAVE_EXPR (PR c++/118509) + +* Thu Aug 22 2024 Marek Polacek 14.2.1-1.2 +- bump NVR (RHEL-53492) + * Tue Aug 13 2024 Marek Polacek 14.2.1-1.1 - do not hide _ZSt21ios_base_library_initv diff --git a/sources b/sources index 7eb2b89..d19db37 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -SHA512 (gcc-14.2.1-20240801.tar.xz) = b21f0bfd5767d0ecb9c08ba3e3a605a841d4c6a6008bf9dd8b4c4da366d7e733600eb21095768bda91e5df6536c398bf4a941e44577aef7586e95f1d148a214f +SHA512 (gcc-14.2.1-20250110.tar.xz) = 9de1009fd87d3734361a3c451e0d8faac984a38b2c064bea228b1a04738e870d7dcca2ee98182be5423579b8caa5f762cd06a6576e2fe797559620619ae4e169 SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95 SHA512 (newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz) = 31bfc19429797236e268e22b752c5abeabb9c0f39b1058634af8dab329b4f028fc72a35888193c9575f6cee5cf2c069669d79fcb4d4e3a4318f57413452f707d SHA512 (nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz) = 941e763af8601b89f0e4ec48a2d68ae0a8e70ee1e6ba6859394b021ad7bd7d143cc529f3c35c08d7f84e5554980ddcc97cf05b6c4755c2bc36c91161b79e8cea