diff --git a/.gitignore b/.gitignore index 6d3d806..8ddbea7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /gcc-14.2.1-20240801.tar.xz /gcc-14.2.1-20241104.tar.xz /gcc-14.2.1-20250110.tar.xz +/gcc-14.3.1-20250617.tar.xz diff --git a/gcc.spec b/gcc.spec index 3923908..7038a1e 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20250110 -%global gitrev e525669e462dd777a1af9932fe9188937acdeb69 -%global gcc_version 14.2.1 +%global DATE 20250617 +%global gitrev 74a421064f3d0de5d604bc051d9c21c1b9763064 +%global gcc_version 14.3.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 8 +%global gcc_release 2 %global nvptx_tools_gitrev 87ce9dc5999e5fca2e1d3478a30888d9864c9804 %global newlib_cygwin_gitrev d45261f62a15f8abd94a1031020b9a9f455e4eed %global _unpackaged_files_terminate_build 0 @@ -305,7 +305,6 @@ 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 @@ -907,7 +906,6 @@ so that there cannot be any synchronization problems. %endif %patch -P11 -p0 -b .d-shared-libphobos~ %patch -P12 -p1 -b .pr101523~ -%patch -P13 -p0 -b .pr118509~ %patch -P50 -p0 -b .rh2155127~ touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m4 @@ -2672,6 +2670,8 @@ end %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/arm_fp16.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/arm_bf16.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/arm_sve.h +%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/arm_neon_sve_bridge.h +%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/arm_sme.h %endif %ifarch sparc sparcv9 sparc64 %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/visintrin.h @@ -3622,6 +3622,120 @@ end %endif %changelog +* Thu Jun 19 2025 Joseph Myers - 14.3.1-2 +- update from releases/gcc-14 branch (RHEL-83953) + - GCC 14.3 release + - PRs ada/112958, ada/118712, ada/119265, c/100420, c/112556, + c/113688, c/114014, c/114713, c/114870, c/116284, c/117145, + c/117245, c/117391, c/117724, c/117806, c/119000, c/119183, + c/119582, c++/79786, c++/86769, c++/98533, c++/98935, + c++/99214, c++/99546, c++/100476, c++/101180, c++/102051, + c++/105104, c++/105475, c++/106973, c++/106976, c++/107522, + c++/109464, c++/109682, c++/109961, c++/110635, c++/110871, + c++/110872, c++/111075, c++/111728, c++/112341, c++/113457, + c++/113773, c++/113835, c++/113925, c++/114292, c++/114525, + c++/114630, c++/114772, c++/114970, c++/114992, c++/115434, + c++/115580, c++/115586, c++/115905, c++/115906, c++/116379, + c++/116482, c++/116502, c++/116506, c++/116681, c++/116731, + c++/116793, c++/116880, c++/116954, c++/116960, c++/117153, + c++/117336, c++/117501, c++/117504, c++/117512, c++/117530, + c++/117775, c++/117778, c++/117827, c++/117849, c++/117855, + c++/118047, c++/118049, c++/118053, c++/118104, c++/118147, + c++/118245, c++/118255, c++/118285, c++/118355, c++/118509, + c++/118590, c++/118629, c++/118655, c++/118661, c++/118673, + c++/118763, c++/118775, c++/118822, c++/118849, c++/119038, + c++/119045, c++/119123, c++/119134, c++/119150, c++/119175, + c++/119194, c++/119233, c++/119303, c++/119316, c++/119344, + c++/119345, c++/119378, c++/119383, c++/119387, c++/119574, + c++/119652, c++/119687, c++/119807, c++/119981, c++/120123, + c++/120125, c++/120161, d/114434, d/115249, d/116373, + d/116961, d/117002, d/117115, d/117621, d/118309, d/118477, + d/119112, d/119139, d/119817, d/119826, debug/101533, + driver/117739, driver/119727, fortran/59252, fortran/81978, + fortran/85750, fortran/98454, fortran/103391, fortran/106692, + fortran/106948, fortran/108434, fortran/108454, + fortran/109066, fortran/110993, fortran/116706, + fortran/117434, fortran/118080, fortran/118640, + fortran/118683, fortran/118750, fortran/119054, + fortran/119380, fortran/119656, fortran/119986, + fortran/120191, gcov-profile/116743, ipa/111245, ipa/113197, + ipa/116572, ipa/117432, ipa/118243, ipa/118318, ipa/118400, + ipa/119067, ipa/119852, jit/118780, libfortran/118571, + libfortran/120196, libgcc/101075, libgcc/119151, + libgcc/119796, libstdc++/21334, libstdc++/90389, + libstdc++/99832, libstdc++/100249, libstdc++/101527, + libstdc++/101587, libstdc++/104395, libstdc++/105258, + libstdc++/105609, libstdc++/106612, libstdc++/108487, + libstdc++/108760, libstdc++/108846, libstdc++/110498, + libstdc++/112490, libstdc++/112803, libstdc++/114758, + libstdc++/114945, libstdc++/115046, libstdc++/115285, + libstdc++/115939, libstdc++/116212, libstdc++/116440, + libstdc++/116471, libstdc++/117121, libstdc++/117921, + libstdc++/117983, libstdc++/118083, libstdc++/118158, + libstdc++/118160, libstdc++/118185, libstdc++/118413, + libstdc++/118699, libstdc++/118811, libstdc++/119121, + libstdc++/119135, libstdc++/119429, libstdc++/119469, + libstdc++/119593, libstdc++/119671, libstdc++/120198, + libstdc++/120548, lto/91299, lto/113207, lto/114501, + lto/119625, lto/119792, middle-end/66279, middle-end/101478, + middle-end/111285, middle-end/113546, middle-end/114877, + middle-end/115871, middle-end/115913, middle-end/117498, + middle-end/117811, middle-end/118140, middle-end/118411, + middle-end/118819, middle-end/118950, middle-end/119119, + middle-end/119204, middle-end/119219, middle-end/119706, + middle-end/119808, middle-end/120547, modula2/115032, + modula2/115112, modula2/118703, modula2/118761, + preprocessor/108900, preprocessor/116047, preprocessor/120061, + rtl-optimization/115568, rtl-optimization/116564, + rtl-optimization/117186, rtl-optimization/117239, + rtl-optimization/117506, rtl-optimization/118320, + rtl-optimization/118638, rtl-optimization/118662, + rtl-optimization/118739, rtl-optimization/119071, + rtl-optimization/119291, rtl-optimization/119689, + rtl-optimization/119785, target/86772, target/106544, + target/110901, target/113257, target/115258, target/115485, + target/116036, target/116086, target/116111, target/116149, + target/116240, target/116256, target/116305, target/116308, + target/116550, target/116591, target/116592, target/116593, + target/116693, target/116720, target/116809, target/116827, + target/116927, target/117286, target/117383, target/117483, + target/117544, target/117682, target/117878, target/118067, + target/118137, target/118154, target/118182, target/118184, + target/118329, target/118357, target/118501, target/118531, + target/118561, target/118601, target/118623, target/118685, + target/118776, target/118813, target/118815, target/118825, + target/118835, target/118843, target/118844, target/118892, + target/118942, target/119084, target/119133, target/119172, + target/119235, target/119327, target/119340, target/119383, + target/119386, target/119408, target/119450, target/119533, + target/119547, target/119549, target/119572, target/119610, + target/119784, target/119834, target/120441, target/120480, + testsuite/52641, testsuite/116448, testsuite/118127, + testsuite/118597, tree-optimization/117358, + tree-optimization/120638 tree-optimization/87984, + tree-optimization/98845, tree-optimization/111873, + tree-optimization/112859, tree-optimization/113197, + tree-optimization/114052, tree-optimization/115347, + tree-optimization/115494, tree-optimization/116098, + tree-optimization/116125, tree-optimization/116412, + tree-optimization/116749, tree-optimization/116906, + tree-optimization/116922, tree-optimization/117113, + tree-optimization/117119, tree-optimization/117243, + tree-optimization/117424, tree-optimization/117919, + tree-optimization/117979, tree-optimization/118476, + tree-optimization/118522, tree-optimization/118605, + tree-optimization/118653, tree-optimization/118689, + tree-optimization/118717, tree-optimization/118915, + tree-optimization/118922, tree-optimization/118924, + tree-optimization/118953, tree-optimization/118976, + tree-optimization/119057, tree-optimization/119096, + tree-optimization/119145, tree-optimization/119351, + tree-optimization/119399, tree-optimization/119417, + tree-optimization/119534, tree-optimization/119706, + tree-optimization/119707, tree-optimization/119722, + tree-optimization/119778, tree-optimization/120048, + tree-optimization/120156 + * Mon May 26 2025 Siddhesh Poyarekar 14.2.1-8 - Tune for z16 on s390x by default on RHEL10 and later (RHEL-86679) diff --git a/gcc14-libstdc++-docs.patch b/gcc14-libstdc++-docs.patch index 0e0e0f9..01a54af 100644 --- a/gcc14-libstdc++-docs.patch +++ b/gcc14-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 14.2.1 ++ Release 14.3.1 +

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation @@ -17,7 +17,7 @@

- The API documentation, rendered into HTML, can be viewed online + The API documentation, rendered into HTML, can be viewed locally -+ for the 14.2.1 release, ++ for the 14.3.1 release, + online for each GCC release and diff --git a/gcc14-pr118509.patch b/gcc14-pr118509.patch deleted file mode 100644 index 6e19016..0000000 --- a/gcc14-pr118509.patch +++ /dev/null @@ -1,56 +0,0 @@ -2025-01-20 Jakub Jelinek - - PR c++/118509 - * typeck.cc (get_member_function_from_ptrfunc): Wrap force_target_expr - with save_expr. - - * g++.dg/expr/pmf-4.C: New test. - ---- gcc/cp/typeck.cc.jj 2025-01-09 10:10:28.042651891 +0100 -+++ gcc/cp/typeck.cc 2025-01-20 15:09:24.200053590 +0100 -@@ -4187,8 +4187,8 @@ get_member_function_from_ptrfunc (tree * - && !DECL_P (instance_ptr) - && !TREE_CONSTANT (instance_ptr))) - instance_ptr = instance_save_expr -- = force_target_expr (TREE_TYPE (instance_ptr), instance_ptr, -- complain); -+ = save_expr (force_target_expr (TREE_TYPE (instance_ptr), -+ instance_ptr, complain)); - - /* See above comment. */ - if (TREE_SIDE_EFFECTS (function) -@@ -4196,7 +4196,8 @@ get_member_function_from_ptrfunc (tree * - && !DECL_P (function) - && !TREE_CONSTANT (function))) - function -- = force_target_expr (TREE_TYPE (function), function, complain); -+ = save_expr (force_target_expr (TREE_TYPE (function), function, -+ complain)); - - /* Start by extracting all the information from the PMF itself. */ - e3 = pfn_from_ptrmemfunc (function); ---- gcc/testsuite/g++.dg/expr/pmf-4.C.jj -+++ gcc/testsuite/g++.dg/expr/pmf-4.C -@@ -0,0 +1,22 @@ -+// PR c++/118509 -+// { dg-do run } -+// { dg-options "-Wall -O2" } -+ -+struct A { void foo () { a = 1; } int a; A () : a (0) {} }; -+struct B : virtual A {}; -+typedef void (A::*C) (); -+ -+__attribute__((noipa)) void -+foo (C x, B *y) -+{ -+ (y->*x) (); -+} -+ -+int -+main () -+{ -+ B b; -+ foo (&A::foo, &b); -+ if (b.a != 1) -+ __builtin_abort (); -+} diff --git a/sources b/sources index 5ab9873..7f104e5 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ SHA512 (isl-0.24.tar.bz2) = aab3bddbda96b801d0f56d2869f943157aad52a6f6e6a61745edd740234c635c38231af20bc3f1a08d416a5e973a90e18249078ed8e4ae2f1d5de57658738e95 SHA512 (newlib-cygwin-d45261f62a15f8abd94a1031020b9a9f455e4eed.tar.xz) = 31bfc19429797236e268e22b752c5abeabb9c0f39b1058634af8dab329b4f028fc72a35888193c9575f6cee5cf2c069669d79fcb4d4e3a4318f57413452f707d SHA512 (nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz) = 941e763af8601b89f0e4ec48a2d68ae0a8e70ee1e6ba6859394b021ad7bd7d143cc529f3c35c08d7f84e5554980ddcc97cf05b6c4755c2bc36c91161b79e8cea -SHA512 (gcc-14.2.1-20250110.tar.xz) = 9de1009fd87d3734361a3c451e0d8faac984a38b2c064bea228b1a04738e870d7dcca2ee98182be5423579b8caa5f762cd06a6576e2fe797559620619ae4e169 +SHA512 (gcc-14.3.1-20250617.tar.xz) = 5b5f35f56e6e3ddcb94a72756af316b6520bd4c3d740553c88f99d91101bd99a6e4d50b7cd677159327b08bc91903939e97f1004f2dfaabd2085501e63dc061e