From 56833e61a5d5a40a9ca662ef7d0e12ed28dc9009 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 9 Feb 2019 12:13:57 +0100 Subject: [PATCH 01/16] 8.2.1-8 --- .gitignore | 1 + gcc.spec | 42 +++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 18ec708..fafdf11 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ /gcc-8.2.1-20181105.tar.xz /gcc-8.2.1-20181215.tar.xz /gcc-8.2.1-20190109.tar.xz +/gcc-8.2.1-20190209.tar.xz diff --git a/gcc.spec b/gcc.spec index e0c4f1f..83b8d22 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190109 -%global SVNREV 267776 +%global DATE 20190209 +%global SVNREV 268720 %global gcc_version 8.2.1 %global gcc_major 8 # 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 7 +%global gcc_release 8 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3128,6 +3128,42 @@ fi %endif %changelog +* Sat Feb 9 2019 Jakub Jelinek 8.2.1-8 +- update from the 8 branch + - PRs bootstrap/88714, c++/66676, c++/80864, c++/86610, c++/86740, + c++/86943, c++/87075, c++/88752, c++/88761, c++/88949, c++/88976, + c++/88983, c++/88988, c++/89024, c++/89083, c++/89105, c++/89119, + c++/89158, c++/89187, c/88568, c/88720, c/88726, c/89211, debug/87295, + debug/88046, debug/88635, debug/88723, fortran/35031, fortran/56386, + fortran/57048, fortran/58906, fortran/67679, fortran/70696, + fortran/77385, fortran/80260, fortran/81849, fortran/82077, + fortran/83246, fortran/87336, fortran/88298, fortran/88393, + fortran/88685, fortran/88803, fortran/88902, fortran/88980, + fortran/89084, ipa/85574, ipa/88214, ipa/89104, libfortran/78314, + libfortran/88678, libfortran/88776, libstdc++/65229, libstdc++/80762, + libstdc++/83511, libstdc++/86595, libstdc++/86910, libstdc++/87308, + libstdc++/87514, libstdc++/87787, libstdc++/87846, libstdc++/88066, + libstdc++/88084, libstdc++/88119, libstdc++/88782, libstdc++/89117, + libstdc++/89128, lto/86736, lto/87187, lto/87229, lto/88112, + lto/88422, middle-end/87887, middle-end/88415, middle-end/88448, + middle-end/88968, middle-end/89002, middle-end/89243, + rtl-optimization/11304, rtl-optimization/49429, + rtl-optimization/86334, rtl-optimization/88870, + rtl-optimization/89115, rtl-optimization/89195, + rtl-optimization/89234, sanitizer/88901, sanitizer/89124, + target/49454, target/85596, target/87064, target/87214, target/88469, + target/88734, target/88799, target/88856, target/88861, target/88905, + target/88906, target/88938, target/88948, target/88965, target/88998, + target/89073, target/89186, target/89188, tree-optimization/85574, + tree-optimization/86865, tree-optimization/86991, + tree-optimization/87022, tree-optimization/87929, + tree-optimization/88030, tree-optimization/88105, + tree-optimization/88107, tree-optimization/88149, + tree-optimization/88217, tree-optimization/88223, + tree-optimization/88427, tree-optimization/88903, + tree-optimization/88932, tree-optimization/88964, + tree-optimization/89008, tree-optimization/89135 + * Wed Jan 9 2019 Jakub Jelinek 8.2.1-7 - update from the 8 branch - PRs c++/60994, c++/82294, c++/86669, c++/86900, c++/87380, c++/87436, diff --git a/sources b/sources index d019e58..43b4c73 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.2.1-20190109.tar.xz) = d699b52baa2c54a71f2fef2dd77701baa836737975938d67fb532f1a54638b1442fc04b560fd74e66b44195e4de9ce485100b9bdbac569e4c3abad053a96bc33 +SHA512 (gcc-8.2.1-20190209.tar.xz) = aded1d3267d1994b8e18362ac5c5e259ca3d5a73e5a5d381b44bf39ec901941db05ed92d03a66169da757d8c53798669324e063aa2b62bf32cca0e18560be1e0 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From dabf8d891d236f8f2e1654e4e4ec099a8811defe Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 15 Feb 2019 19:51:27 +0100 Subject: [PATCH 02/16] 8.2.1-9 --- .gitignore | 1 + gcc.spec | 19 ++++++++++++++++--- sources | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fafdf11..e43a13c 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ /gcc-8.2.1-20181215.tar.xz /gcc-8.2.1-20190109.tar.xz /gcc-8.2.1-20190209.tar.xz +/gcc-8.2.1-20190215.tar.xz diff --git a/gcc.spec b/gcc.spec index 83b8d22..02669a5 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190209 -%global SVNREV 268720 +%global DATE 20190215 +%global SVNREV 268945 %global gcc_version 8.2.1 %global gcc_major 8 # 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 9 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3128,6 +3128,19 @@ fi %endif %changelog +* Fri Feb 15 2019 Jakub Jelinek 8.2.1-9 +- update from the 8 branch + - GCC 8.3-rc1 + - PRs c++/85515, c++/86329, c++/88795, c++/89036, c++/89267, fortran/71237, + fortran/71860, fortran/89077, ipa/89009, lto/88858, lto/89260, + middle-end/89223, middle-end/89246, middle-end/89281, + middle-end/89303, other/89342, rtl-optimization/85805, + rtl-optimization/89242, rtl-optimization/89354, target/86684, + target/87149, target/88648, target/88892, target/89112, target/89290, + tree-opt/86020, tree-optimization/86554, tree-optimization/88739, + tree-optimization/89253, tree-optimization/89278, + tree-optimization/89314 + * Sat Feb 9 2019 Jakub Jelinek 8.2.1-8 - update from the 8 branch - PRs bootstrap/88714, c++/66676, c++/80864, c++/86610, c++/86740, diff --git a/sources b/sources index 43b4c73..c2a0d62 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.2.1-20190209.tar.xz) = aded1d3267d1994b8e18362ac5c5e259ca3d5a73e5a5d381b44bf39ec901941db05ed92d03a66169da757d8c53798669324e063aa2b62bf32cca0e18560be1e0 +SHA512 (gcc-8.2.1-20190215.tar.xz) = cec83f416665898e843b462d33af7e7aec5736bed59fc7e3979dccfc8d8213c198f9670c3150001761bfd6034eac31ed1c4347421e0dcbe99b0014bb9abe4a51 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From 2859746f8f608bb9974665bc25157601a7ee340a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 22 Feb 2019 21:40:09 +0100 Subject: [PATCH 03/16] 8.3.1-1 --- gcc.spec | 12 ++++++++---- gcc8-libstdc++-docs.patch | 4 ++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gcc.spec b/gcc.spec index 02669a5..6d8ee07 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190215 -%global SVNREV 268945 -%global gcc_version 8.2.1 +%global DATE 20190222 +%global SVNREV 269133 +%global gcc_version 8.3.1 %global gcc_major 8 # 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 9 +%global gcc_release 1 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3128,6 +3128,10 @@ fi %endif %changelog +* Fri Feb 22 2019 Jakub Jelinek 8.3.1-1 +- update from the 8 branch + - GCC 8.3 release + * Fri Feb 15 2019 Jakub Jelinek 8.2.1-9 - update from the 8 branch - GCC 8.3-rc1 diff --git a/gcc8-libstdc++-docs.patch b/gcc8-libstdc++-docs.patch index e73a92b..5f6a2ae 100644 --- a/gcc8-libstdc++-docs.patch +++ b/gcc8-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 8.2.1 ++ Release 8.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 8.2.1 release, ++ for the 8.3.1 release, + online for each GCC release and From 2ba1d8f23a67ec99d7ec6ed15caa0cac8df6e286 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 23 Feb 2019 01:53:00 +0100 Subject: [PATCH 04/16] 8.3.1-1 --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e43a13c..2fd745e 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ /gcc-8.2.1-20190109.tar.xz /gcc-8.2.1-20190209.tar.xz /gcc-8.2.1-20190215.tar.xz +/gcc-8.3.1-20190222.tar.xz diff --git a/sources b/sources index c2a0d62..1ec758d 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.2.1-20190215.tar.xz) = cec83f416665898e843b462d33af7e7aec5736bed59fc7e3979dccfc8d8213c198f9670c3150001761bfd6034eac31ed1c4347421e0dcbe99b0014bb9abe4a51 + SHA512 (gcc-8.3.1-20190222.tar.xz) = 48d61c1ba84a498d9468b61e227c8680e1647a102f026370468a76bc003705ac019e2aecbc137ef8e7a8c873dcf1b5d4c95314f293435d5259a5112d2dc909ac SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From a0c76d403ca1bdde26446ba4808d40af7247b7de Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 23 Feb 2019 01:53:18 +0100 Subject: [PATCH 05/16] 8.3.1-1 --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 1ec758d..fa7c094 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ - SHA512 (gcc-8.3.1-20190222.tar.xz) = 48d61c1ba84a498d9468b61e227c8680e1647a102f026370468a76bc003705ac019e2aecbc137ef8e7a8c873dcf1b5d4c95314f293435d5259a5112d2dc909ac +SHA512 (gcc-8.3.1-20190222.tar.xz) = 48d61c1ba84a498d9468b61e227c8680e1647a102f026370468a76bc003705ac019e2aecbc137ef8e7a8c873dcf1b5d4c95314f293435d5259a5112d2dc909ac SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From a050417cd5cb9b3269bcce2e324fab8d081e4355 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 23 Feb 2019 19:51:31 +0100 Subject: [PATCH 06/16] 8.3.1-2 --- .gitignore | 1 + gcc.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2fd745e..d6dfd7d 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ /gcc-8.2.1-20190209.tar.xz /gcc-8.2.1-20190215.tar.xz /gcc-8.3.1-20190222.tar.xz +/gcc-8.3.1-20190223.tar.xz diff --git a/gcc.spec b/gcc.spec index 6d8ee07..07f2a6b 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190222 -%global SVNREV 269133 +%global DATE 20190223 +%global SVNREV 269162 %global gcc_version 8.3.1 %global gcc_major 8 # 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 c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3128,6 +3128,10 @@ fi %endif %changelog +* Sat Feb 23 2019 Jakub Jelinek 8.3.1-2 +- update from the 8 branch + - PRs ada/89349, fortran/71066, fortran/88117, libstdc++/89446 + * Fri Feb 22 2019 Jakub Jelinek 8.3.1-1 - update from the 8 branch - GCC 8.3 release diff --git a/sources b/sources index fa7c094..7dbd757 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.3.1-20190222.tar.xz) = 48d61c1ba84a498d9468b61e227c8680e1647a102f026370468a76bc003705ac019e2aecbc137ef8e7a8c873dcf1b5d4c95314f293435d5259a5112d2dc909ac +SHA512 (gcc-8.3.1-20190223.tar.xz) = 6835f5ec05d0fd28025e8e02014ecf24e57d8f5e31380243cd677ec76ae01cf0b3c3122d2ea75c4a7afcf5f314308e9a0957f6aaf4b1a3326161b4c00fc35aad SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From 4332b901a34eda842f30db11a0454d47001e9280 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 11 Mar 2019 19:53:41 +0100 Subject: [PATCH 07/16] 8.3.1-3 --- .gitignore | 1 + gcc.spec | 23 ++++++++++++++--- gcc8-pr89629.patch | 64 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 86 insertions(+), 4 deletions(-) create mode 100644 gcc8-pr89629.patch diff --git a/.gitignore b/.gitignore index d6dfd7d..fb89bf1 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ /gcc-8.2.1-20190215.tar.xz /gcc-8.3.1-20190222.tar.xz /gcc-8.3.1-20190223.tar.xz +/gcc-8.3.1-20190311.tar.xz diff --git a/gcc.spec b/gcc.spec index 07f2a6b..8e9911f 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190223 -%global SVNREV 269162 +%global DATE 20190311 +%global SVNREV 269592 %global gcc_version 8.3.1 %global gcc_major 8 # 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 2 +%global gcc_release 3 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -259,6 +259,7 @@ Patch10: gcc8-Wno-format-security.patch Patch11: gcc8-rh1512529-aarch64.patch Patch12: gcc8-mcet.patch Patch13: gcc8-rh1574936.patch +Patch14: gcc8-pr89629.patch Patch1000: nvptx-tools-no-ptxas.patch Patch1001: nvptx-tools-build.patch @@ -827,6 +828,7 @@ to NVidia PTX capable devices if available. %if 0%{?fedora} >= 29 || 0%{?rhel} > 7 %patch13 -p0 -b .rh1574936~ %endif +%patch14 -p0 -b .pr89629~ cd nvptx-tools-%{nvptx_tools_gitrev} %patch1000 -p1 -b .nvptx-tools-no-ptxas~ @@ -3128,6 +3130,21 @@ fi %endif %changelog +* Mon Mar 11 2019 Jakub Jelinek 8.3.1-3 +- update from the 8 branch + - PRs bootstrap/89539, c++/87513, c++/87921, c++/88183, c++/88419, + c++/88690, c++/88820, c++/88869, c++/89212, c++/89381, c++/89383, + c++/89422, c++/89576, c++/89585, debug/88878, debug/89514, + fortran/71203, fortran/71544, fortran/72714, fortran/77583, + fortran/84387, fortran/86119, fortran/87689, fortran/87734, + fortran/88326, fortran/89174, fortran/89266, fortran/89492, + fortran/89516, ipa/88235, libfortran/89020, lto/88147, + rtl-optimization/89588, target/86952, target/88100, target/88530, + target/89271, target/89361, target/89397, target/89517, + tree-optimization/89505, tree-optimization/89536 +- two small autoFDO fixes (#1684650) +- fix std::hash for 2GB+ strings (PR libstdc++/89629) + * Sat Feb 23 2019 Jakub Jelinek 8.3.1-2 - update from the 8 branch - PRs ada/89349, fortran/71066, fortran/88117, libstdc++/89446 diff --git a/gcc8-pr89629.patch b/gcc8-pr89629.patch new file mode 100644 index 0000000..dd00aa7 --- /dev/null +++ b/gcc8-pr89629.patch @@ -0,0 +1,64 @@ +2019-03-11 Jonathan Wakely + + PR libstdc++/89629 + * libsupc++/hash_bytes.cc [__SIZEOF_SIZE_T__ == 8] (_Hash_bytes): + Use correct type for len_aligned. + * testsuite/20_util/hash/89629.cc: New test. + +--- libstdc++-v3/libsupc++/hash_bytes.cc (revision 269583) ++++ libstdc++-v3/libsupc++/hash_bytes.cc (revision 269584) +@@ -139,7 +139,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION + + // Remove the bytes not divisible by the sizeof(size_t). This + // allows the main loop to process the data as 64-bit integers. +- const int len_aligned = len & ~0x7; ++ const size_t len_aligned = len & ~(size_t)0x7; + const char* const end = buf + len_aligned; + size_t hash = seed ^ (len * mul); + for (const char* p = buf; p != end; p += 8) +--- libstdc++-v3/testsuite/20_util/hash/89629.cc (nonexistent) ++++ libstdc++-v3/testsuite/20_util/hash/89629.cc (revision 269584) +@@ -0,0 +1,43 @@ ++// Copyright (C) 2019 Free Software Foundation, Inc. ++// ++// This file is part of the GNU ISO C++ Library. This library is free ++// software; you can redistribute it and/or modify it under the ++// terms of the GNU General Public License as published by the ++// Free Software Foundation; either version 3, or (at your option) ++// any later version. ++ ++// This library is distributed in the hope that it will be useful, ++// but WITHOUT ANY WARRANTY; without even the implied warranty of ++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++// GNU General Public License for more details. ++ ++// You should have received a copy of the GNU General Public License along ++// with this library; see the file COPYING3. If not see ++// . ++ ++// { dg-do run { target { lp64 || llp64 } } } ++// { dg-require-effective-target c++11 } ++// { dg-require-effective-target run_expensive_tests } ++ ++#include ++#include ++ ++void ++test01() ++{ ++ const std::size_t big = std::size_t(1) << 31; ++ std::string s; ++ try { ++ s.resize(big, 'a'); ++ } catch (const std::bad_alloc&) { ++ return; // try to avoid a FAIL if memory allocation fails ++ } ++ // PR libstdc++/89629 ++ (void) std::hash{}(s); ++} ++ ++int ++main() ++{ ++ test01(); ++} diff --git a/sources b/sources index 7dbd757..950f7d8 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.3.1-20190223.tar.xz) = 6835f5ec05d0fd28025e8e02014ecf24e57d8f5e31380243cd677ec76ae01cf0b3c3122d2ea75c4a7afcf5f314308e9a0957f6aaf4b1a3326161b4c00fc35aad +SHA512 (gcc-8.3.1-20190311.tar.xz) = 2ab5d3e1dac35a01ea9b9ed9a9ca79cce8da69a4d773e5277f903105d6764dbaa771a801a237576f1c7c0e0bc0d0a091bacfe97b3a83ea9579808d54bca65a40 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From 88de2413fbbd8a2cd916f896a6ae53131b2d30e7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 7 May 2019 19:50:30 +0200 Subject: [PATCH 08/16] 8.3.1-4 --- .gitignore | 1 + gcc.spec | 44 +++++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 43 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index fb89bf1..458c730 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ /gcc-8.3.1-20190222.tar.xz /gcc-8.3.1-20190223.tar.xz /gcc-8.3.1-20190311.tar.xz +/gcc-8.3.1-20190507.tar.xz diff --git a/gcc.spec b/gcc.spec index 8e9911f..0059623 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190311 -%global SVNREV 269592 +%global DATE 20190507 +%global SVNREV 270976 %global gcc_version 8.3.1 %global gcc_major 8 # 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 3 +%global gcc_release 4 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3130,6 +3130,44 @@ fi %endif %changelog +* Tue May 7 2019 Jakub Jelinek 8.3.1-4 +- update from the 8 branch + - PRs bootstrap/89656, bootstrap/90359, c++/60702, c++/82075, c++/87148, + c++/88857, c++/89214, c++/89403, c++/89405, c++/89511, c++/89512, + c++/89705, c++/89767, c++/89796, c++/89876, c++/90010, c++/90108, + c/89520, c/89521, c/89734, c/89872, c/89933, c/89946, debug/88389, + debug/89498, debug/89631, debug/89704, fortran/29383, fortran/56408, + fortran/66089, fortran/66695, fortran/68009, fortran/71861, + fortran/77746, fortran/78865, fortran/79485, fortran/83515, + fortran/84394, fortran/85797, fortran/87127, fortran/87352, + fortran/87673, fortran/89651, fortran/89866, fortran/89904, + fortran/89981, ipa/89684, ipa/89693, libgcc/60790, libgfortran/79540, + libstdc++/85965, libstdc++/88740, libstdc++/89102, libstdc++/90105, + libstdc++/90165, lto/87525, lto/89896, middle-end/88074, + middle-end/88273, middle-end/88587, middle-end/88588, + middle-end/89037, middle-end/89091, middle-end/89412, + middle-end/89415, middle-end/89497, middle-end/89572, + middle-end/89590, middle-end/89621, middle-end/89655, + middle-end/89663, middle-end/89677, middle-end/89698, + middle-end/89934, other/89712, rtl-optimization/84032, + rtl-optimization/87979, rtl-optimization/89679, + rtl-optimization/89753, rtl-optimization/89768, + rtl-optimization/89862, rtl-optimization/89965, + rtl-optimization/90026, rtl-optimization/90082, sanitizer/89869, + target/37369, target/84369, target/85860, target/85910, target/86538, + target/86984, target/87532, target/89523, target/89587, target/89711, + target/89726, target/89736, target/89752, target/89775, target/89827, + target/89848, target/89877, target/89902, target/89903, target/89945, + target/90024, target/90075, target/90187, target/90193, + testsuite/85368, testsuite/89551, tree-optimization/85459, + tree-optimization/85762, tree-optimization/87008, + tree-optimization/89296, tree-optimization/89546, + tree-optimization/89595, tree-optimization/89664, + tree-optimization/89703, tree-optimization/89710, + tree-optimization/89998, tree-optimization/90018, + tree-optimization/90071, tree-optimization/90090, + tree-optimization/90208, web/87829 + * Mon Mar 11 2019 Jakub Jelinek 8.3.1-3 - update from the 8 branch - PRs bootstrap/89539, c++/87513, c++/87921, c++/88183, c++/88419, diff --git a/sources b/sources index 950f7d8..a2ae4af 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.3.1-20190311.tar.xz) = 2ab5d3e1dac35a01ea9b9ed9a9ca79cce8da69a4d773e5277f903105d6764dbaa771a801a237576f1c7c0e0bc0d0a091bacfe97b3a83ea9579808d54bca65a40 +SHA512 (gcc-8.3.1-20190507.tar.xz) = 2e282fa43bce9b8a84b3c5ad88fd9571f99c5a723045bb9238abbafb30aa1ea65ea94c9a11d81f64bf7ddc2b961143beb216efd571bd05c7dc4cfccb69a890ad SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From dec2ba6fea2441fdc486432f8260cba45a2293e9 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 7 May 2019 20:12:28 +0200 Subject: [PATCH 09/16] 8.3.1-4 --- gcc.spec | 2 -- gcc8-pr89629.patch | 64 ---------------------------------------------- 2 files changed, 66 deletions(-) delete mode 100644 gcc8-pr89629.patch diff --git a/gcc.spec b/gcc.spec index 0059623..8ec30b5 100644 --- a/gcc.spec +++ b/gcc.spec @@ -259,7 +259,6 @@ Patch10: gcc8-Wno-format-security.patch Patch11: gcc8-rh1512529-aarch64.patch Patch12: gcc8-mcet.patch Patch13: gcc8-rh1574936.patch -Patch14: gcc8-pr89629.patch Patch1000: nvptx-tools-no-ptxas.patch Patch1001: nvptx-tools-build.patch @@ -828,7 +827,6 @@ to NVidia PTX capable devices if available. %if 0%{?fedora} >= 29 || 0%{?rhel} > 7 %patch13 -p0 -b .rh1574936~ %endif -%patch14 -p0 -b .pr89629~ cd nvptx-tools-%{nvptx_tools_gitrev} %patch1000 -p1 -b .nvptx-tools-no-ptxas~ diff --git a/gcc8-pr89629.patch b/gcc8-pr89629.patch deleted file mode 100644 index dd00aa7..0000000 --- a/gcc8-pr89629.patch +++ /dev/null @@ -1,64 +0,0 @@ -2019-03-11 Jonathan Wakely - - PR libstdc++/89629 - * libsupc++/hash_bytes.cc [__SIZEOF_SIZE_T__ == 8] (_Hash_bytes): - Use correct type for len_aligned. - * testsuite/20_util/hash/89629.cc: New test. - ---- libstdc++-v3/libsupc++/hash_bytes.cc (revision 269583) -+++ libstdc++-v3/libsupc++/hash_bytes.cc (revision 269584) -@@ -139,7 +139,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION - - // Remove the bytes not divisible by the sizeof(size_t). This - // allows the main loop to process the data as 64-bit integers. -- const int len_aligned = len & ~0x7; -+ const size_t len_aligned = len & ~(size_t)0x7; - const char* const end = buf + len_aligned; - size_t hash = seed ^ (len * mul); - for (const char* p = buf; p != end; p += 8) ---- libstdc++-v3/testsuite/20_util/hash/89629.cc (nonexistent) -+++ libstdc++-v3/testsuite/20_util/hash/89629.cc (revision 269584) -@@ -0,0 +1,43 @@ -+// Copyright (C) 2019 Free Software Foundation, Inc. -+// -+// This file is part of the GNU ISO C++ Library. This library is free -+// software; you can redistribute it and/or modify it under the -+// terms of the GNU General Public License as published by the -+// Free Software Foundation; either version 3, or (at your option) -+// any later version. -+ -+// This library is distributed in the hope that it will be useful, -+// but WITHOUT ANY WARRANTY; without even the implied warranty of -+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+// GNU General Public License for more details. -+ -+// You should have received a copy of the GNU General Public License along -+// with this library; see the file COPYING3. If not see -+// . -+ -+// { dg-do run { target { lp64 || llp64 } } } -+// { dg-require-effective-target c++11 } -+// { dg-require-effective-target run_expensive_tests } -+ -+#include -+#include -+ -+void -+test01() -+{ -+ const std::size_t big = std::size_t(1) << 31; -+ std::string s; -+ try { -+ s.resize(big, 'a'); -+ } catch (const std::bad_alloc&) { -+ return; // try to avoid a FAIL if memory allocation fails -+ } -+ // PR libstdc++/89629 -+ (void) std::hash{}(s); -+} -+ -+int -+main() -+{ -+ test01(); -+} From 62b413d244caaf088f1d4a73b30a9e3b0ad4cbef Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 9 May 2019 15:55:25 +0200 Subject: [PATCH 10/16] Resolves: #1688766 --- gcc.spec | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/gcc.spec b/gcc.spec index 8ec30b5..66ebb45 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1317,36 +1317,39 @@ mkdir -p %{buildroot}/%{_lib} mv -f %{buildroot}%{_prefix}/%{_lib}/libgcc_s.so.1 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}-%{DATE}.so.1 chmod 755 %{buildroot}/%{_lib}/libgcc_s-%{gcc_major}-%{DATE}.so.1 ln -sf libgcc_s-%{gcc_major}-%{DATE}.so.1 %{buildroot}/%{_lib}/libgcc_s.so.1 +%ifarch %{ix86} x86_64 ppc ppc64 ppc64p7 ppc64le %{arm} +rm -f $FULLPATH/libgcc_s.so +echo '/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT('`gcc -Wl,--print-output-format -nostdlib -r -o /dev/null`') +GROUP ( /%{_lib}/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so +%else ln -sf /%{_lib}/libgcc_s.so.1 $FULLPATH/libgcc_s.so +%endif %ifarch sparcv9 ppc +%ifarch ppc +rm -f $FULLPATH/64/libgcc_s.so +echo '/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT('`gcc -m64 -Wl,--print-output-format -nostdlib -r -o /dev/null`') +GROUP ( /lib64/libgcc_s.so.1 libgcc.a )' > $FULLPATH/64/libgcc_s.so +%else ln -sf /lib64/libgcc_s.so.1 $FULLPATH/64/libgcc_s.so %endif +%endif %ifarch %{multilib_64_archs} +%ifarch x86_64 ppc64 ppc64p7 +rm -f $FULLPATH/64/libgcc_s.so +echo '/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +OUTPUT_FORMAT('`gcc -m32 -Wl,--print-output-format -nostdlib -r -o /dev/null`') +GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so +%else ln -sf /lib/libgcc_s.so.1 $FULLPATH/32/libgcc_s.so %endif -%ifarch ppc -rm -f $FULLPATH/libgcc_s.so -echo '/* GNU ld script - Use the shared library, but some functions are only in - the static library, so try that secondarily. */ -OUTPUT_FORMAT(elf32-powerpc) -GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so -%endif -%ifarch ppc64 ppc64p7 -rm -f $FULLPATH/32/libgcc_s.so -echo '/* GNU ld script - Use the shared library, but some functions are only in - the static library, so try that secondarily. */ -OUTPUT_FORMAT(elf32-powerpc) -GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so -%endif -%ifarch %{arm} -rm -f $FULLPATH/libgcc_s.so -echo '/* GNU ld script - Use the shared library, but some functions are only in - the static library, so try that secondarily. */ -OUTPUT_FORMAT(elf32-littlearm) -GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/libgcc_s.so %endif mv -f %{buildroot}%{_prefix}/%{_lib}/libgomp.spec $FULLPATH/ @@ -3128,6 +3131,9 @@ fi %endif %changelog +- turn libgcc_s.so into a linker script on i?86, x86_64, ppc64le and also on + ppc and ppc64 for 64-bit multilib (#1688766) + * Tue May 7 2019 Jakub Jelinek 8.3.1-4 - update from the 8 branch - PRs bootstrap/89656, bootstrap/90359, c++/60702, c++/82075, c++/87148, From 22e7d5c2e17632633655e3bccffccecf4d9b39f5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 21 Nov 2019 18:55:01 +0100 Subject: [PATCH 11/16] 8.3.1-5 --- .gitignore | 1 + gcc.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 56 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 458c730..5822249 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ /gcc-8.3.1-20190223.tar.xz /gcc-8.3.1-20190311.tar.xz /gcc-8.3.1-20190507.tar.xz +/gcc-8.3.1-20191121.tar.xz diff --git a/gcc.spec b/gcc.spec index 66ebb45..666287d 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20190507 -%global SVNREV 270976 +%global DATE 20191121 +%global SVNREV 278589 %global gcc_version 8.3.1 %global gcc_major 8 # 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 4 +%global gcc_release 5 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3131,6 +3131,57 @@ fi %endif %changelog +* Thu Nov 21 2019 Jakub Jelinek 8.3.1-5 +- update from the 8 branch + - PRs ada/80590, ada/91995, bootstrap/87030, bootstrap/89864, c++/79274, + c++/82081, c++/85400, c++/86098, c++/88075, c++/90532, c++/90810, + c++/90950, c++/91436, c++/91974, c++/92106, c++/92201, c++/92384, + c/53633, c/90474, c/90760, c/90898, c/91401, debug/90197, debug/90733, + debug/90900, debug/91231, debug/91772, debug/91887, driver/91172, + fortran/57284, fortran/69455, fortran/84487, fortran/86248, + fortran/90329, fortran/90498, fortran/90563, fortran/90744, + fortran/90786, fortran/90813, fortran/90937, fortran/91077, + fortran/91414, fortran/91550, fortran/91557, fortran/91588, + fortran/91660, fortran/92113, gcov-profile/90380, gcov-profile/91087, + ipa/90939, libgomp/90585, libstdc++/51333, libstdc++/78179, + libstdc++/81266, libstdc++/89466, libstdc++/90220, libstdc++/90299, + libstdc++/90454, libstdc++/90634, libstdc++/90770, libstdc++/91308, + libstdc++/92059, libstdc++/92143, lto/90924, lto/91375, + middle-end/64242, middle-end/78884, middle-end/87609, + middle-end/88567, middle-end/89392, middle-end/89578, + middle-end/90139, middle-end/90194, middle-end/90213, + middle-end/90840, middle-end/90899, middle-end/91001, + middle-end/91105, middle-end/91106, middle-end/91131, + middle-end/91162, middle-end/91450, middle-end/91623, objc/90709, + other/92090, pch/61250, pch/90326, preprocessor/92296, + rtl-optimisation/64895, rtl-optimization/85458, + rtl-optimization/88751, rtl-optimization/89721, + rtl-optimization/89795, rtl-optimization/90756, + rtl-optimization/91136, rtl-optimization/91173, + rtl-optimization/91347, sanitizer/90570, sanitizer/90954, + target/59888, target/61976, target/63891, target/65342, target/67183, + target/70010, target/80672, target/81800, target/82920, target/83531, + target/85711, target/85993, target/86040, target/86487, target/86712, + target/87243, target/87833, target/88167, target/88562, target/88630, + target/89190, target/89222, target/89400, target/89424, target/89765, + target/90530, target/90547, target/90698, target/90751, target/90811, + target/90867, target/91150, target/91269, target/91275, target/91289, + target/91472, target/91481, target/91533, target/91704, target/91854, + target/92022, target/92093, target/92095, target/92389, + testsuite/27221, testsuite/58321, testsuite/65364, testsuite/67958, + testsuite/78529, testsuite/81058, testsuite/91619, + tree-optimization/81740, tree-optimization/85887, + tree-optimization/87609, tree-optimization/88315, + tree-optimization/89725, tree-optimization/90006, + tree-optimization/90020, tree-optimization/90278, + tree-optimization/90328, tree-optimization/90637, + tree-optimization/90930, tree-optimization/90949, + tree-optimization/91108, tree-optimization/91126, + tree-optimization/91137, tree-optimization/91200, + tree-optimization/91280, tree-optimization/91293, + tree-optimization/91355, tree-optimization/91665, + tree-optimization/91812, tree-optimization/92056, + tree-optimization/92131 - turn libgcc_s.so into a linker script on i?86, x86_64, ppc64le and also on ppc and ppc64 for 64-bit multilib (#1688766) diff --git a/sources b/sources index a2ae4af..97a0810 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.3.1-20190507.tar.xz) = 2e282fa43bce9b8a84b3c5ad88fd9571f99c5a723045bb9238abbafb30aa1ea65ea94c9a11d81f64bf7ddc2b961143beb216efd571bd05c7dc4cfccb69a890ad +SHA512 (gcc-8.3.1-20191121.tar.xz) = 3a602cd5fcbd36c13cbde54545975716442d96d57c8a2bb107e04a3a4c61170544d924fe72c56adaf5efdc0ce7f22f03686923499e98aaf7f7b456c93e374e6d SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From 116e8c4b584b6a03a5411a206f643e0227c4f684 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 18 Sep 2020 20:30:46 +0200 Subject: [PATCH 12/16] 8.4.1-1 --- .gitignore | 1 + gcc.spec | 103 ++++++++++++++++++++++++++++++++------ gcc8-libstdc++-docs.patch | 4 +- sources | 2 +- 4 files changed, 93 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 5822249..d072cc0 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ /gcc-8.3.1-20190311.tar.xz /gcc-8.3.1-20190507.tar.xz /gcc-8.3.1-20191121.tar.xz +/gcc-8.4.1-20200918.tar.xz diff --git a/gcc.spec b/gcc.spec index 666287d..d4bd361 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20191121 -%global SVNREV 278589 -%global gcc_version 8.3.1 +%global DATE 20200928 +%global gitrev 8ed81e8ef69a535cbc168f55d06941bf3e4ef8ee +%global gcc_version 8.4.1 %global gcc_major 8 # 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 5 +%global gcc_release 1 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -111,22 +111,23 @@ License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2 Group: Development/Languages # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# svn export svn://gcc.gnu.org/svn/gcc/branches/redhat/gcc-8-branch@%%{SVNREV} gcc-%%{version}-%%{DATE} -# tar cf - gcc-%%{version}-%%{DATE} | xz -9e > gcc-%%{version}-%%{DATE}.tar.xz +# git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp +# git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin %%{gitrev} +# git --git-dir=gcc-dir.tmp/.git archive --prefix=%%{name}-%%{version}-%%{DATE}/ %%{gitrev} | xz -9e > %%{name}-%%{version}-%%{DATE}.tar.xz +# rm -rf gcc-dir.tmp Source0: gcc-%{version}-%{DATE}.tar.xz # The source for nvptx-tools package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# git clone https://github.com/MentorEmbedded/nvptx-tools.git -# cd nvptx-tools -# git archive origin/master --prefix=nvptx-tools-%%{nvptx_tools_gitrev}/ | xz -9e > ../nvptx-tools-%%{nvptx_tools_gitrev}.tar.xz -# cd ..; rm -rf nvptx-tools +# git clone --depth 1 git://github.com/MentorEmbedded/nvptx-tools.git nvptx-tools-dir.tmp +# git --git-dir=nvptx-tools-dir.tmp/.git fetch --depth 1 origin %%{nvptx_tools_gitrev} +# git --git-dir=nvptx-tools-dir.tmp/.git archive --prefix=nvptx-tools-%%{nvptx_tools_gitrev}/ %%{nvptx_tools_gitrev} | xz -9e > nvptx-tools-%%{nvptx_tools_gitrev}.tar.xz +# rm -rf nvptx-tools-dir.tmp Source1: nvptx-tools-%{nvptx_tools_gitrev}.tar.xz # The source for nvptx-newlib package was pulled from upstream's vcs. Use the # following commands to generate the tarball: -# git clone https://github.com/MentorEmbedded/nvptx-newlib.git -# cd nvptx-newlib -# git archive origin/master --prefix=nvptx-newlib-%%{nvptx_newlib_gitrev}/ | xz -9 > ../nvptx-newlib-%%{nvptx_newlib_gitrev}.tar.xz -# cd ..; rm -rf nvptx-newlib +# git clone git://sourceware.org/git/newlib-cygwin.git newlib-cygwin-dir.tmp +# git --git-dir=newlib-cygwin-dir.tmp/.git archive --prefix=newlib-cygwin-%%{newlib_cygwin_gitrev}/ %%{newlib_cygwin_gitrev} ":(exclude)newlib/libc/sys/linux/include/rpc/*.[hx]" | xz -9e > newlib-cygwin-%%{newlib_cygwin_gitrev}.tar.xz +# rm -rf newlib-cygwin-dir.tmp Source2: nvptx-newlib-%{nvptx_newlib_gitrev}.tar.xz %global isl_version 0.16.1 URL: http://gcc.gnu.org @@ -3131,6 +3132,80 @@ fi %endif %changelog +* Mon Sep 28 2020 Jakub Jelinek 8.4.1-1 +- update from the 8 branch + - GCC 8.4 release + - PRs bootstrap/94918, c++/60228, c++/61414, c++/82643, c++/86429, + c++/86521, c++/86747, c++/87327, c++/87480, c++/87554, c++/87685, + c++/87748, c++/87770, c++/88380, c++/88394, c++/89831, c++/89917, + c++/90546, c++/90736, c++/90749, c++/90842, c++/90916, c++/90951, + c++/90995, c++/90998, c++/91377, c++/91529, c++/91826, c++/91966, + c++/92003, c++/92068, c++/92438, c++/92524, c++/92648, c++/92732, + c++/92745, c++/92852, c++/92909, c++/92992, c++/93140, c++/93228, + c++/93248, c++/93822, c++/93905, c++/93931, c++/94314, c++/94325, + c++/94546, c++/94571, c++/94742, c++/94951, c++/95328, c/87488, + c/93072, c/93241, c/93348, c/93576, c/93949, c/94172, c/94641, + c/94705, c/94842, c/96545, c/96571, debug/92664, debug/92763, + debug/93888, debug/94167, debug/94283, debug/94459, debug/95080, + debug/96729, driver/92757, fortran/39695, fortran/50392, + fortran/59107, fortran/71706, fortran/85982, fortran/88379, + fortran/89574, fortran/91944, fortran/92775, fortran/92781, + fortran/92899, fortran/92977, fortran/93329, fortran/93423, + fortran/93462, fortran/93463, fortran/93484, fortran/93541, + fortran/93553, fortran/93592, fortran/93714, fortran/93956, + fortran/94030, fortran/94109, fortran/94270, fortran/94361, + fortran/94397, fortran/94788, fortran/95614, fortran/95689, + fortran/95829, fortran/96041, gcov-profile/91601, + gcov-profile/95332, inline-asm/93202, ipa/12345, ipa/92357, + ipa/93087, ipa/93223, ipa/94445, libgomp/93065, libgomp/93515, + libstdc++/68737, libstdc++/71960, libstdc++/78552, + libstdc++/81091, libstdc++/91947, libstdc++/92376, + libstdc++/92886, libstdc++/93205, libstdc++/93245, + libstdc++/93325, libstdc++/93562, libstdc++/93960, + libstdc++/94033, libstdc++/94242, libstdc++/96484, + libstdc++/96803, lto/89358, lto/91576, lto/93966, lto/94249, + middle-end/90313, middle-end/91226, middle-end/92674, + middle-end/92768, middle-end/93054, middle-end/93246, + middle-end/93399, middle-end/93505, middle-end/93555, + middle-end/93566, middle-end/94111, middle-end/94303, + middle-end/94412, middle-end/94423, middle-end/95108, + middle-end/95903, middle-end/97073, other/85622, other/93168, + other/93965, other/94629, preprocessor/80005, + rtl-optimization/91838, rtl-optimization/93088, + rtl-optimization/93402, rtl-optimization/93908, + rtl-optimization/94002, rtl-optimization/94119, + rtl-optimization/94291, rtl-optimization/94618, + rtl-optimization/94873, sanitizer/92154, sanitizer/94910, + sanitizer/95634, target/12345, target/65782, target/71233, + target/87583, target/87763, target/90724, target/91276, target/91298, + target/91695, target/91833, target/91834, target/91913, target/92615, + target/92692, target/92723, target/92904, target/93053, target/93069, + target/93073, target/93274, target/93333, target/93492, target/93568, + target/93637, target/93656, target/93658, target/93670, target/93673, + target/93696, target/93704, target/93724, target/93819, target/93828, + target/94046, target/94052, target/94121, target/94134, target/94368, + target/94396, target/94417, target/94435, target/94438, target/94460, + target/94488, target/94500, target/94509, target/94514, target/94515, + target/94518, target/94556, target/94584, target/94591, target/94603, + target/94613, target/94707, target/94710, target/94780, target/94814, + target/94820, target/94826, target/94832, target/94833, target/94950, + target/95220, target/95258, target/95874, target/95952, target/96139, + target/96174, target/96402, target/96536, target/97032, + testsuite/94077, tree-optimization/90838, tree-optimization/92420, + tree-optimization/92704, tree-optimization/92706, + tree-optimization/92930, tree-optimization/93321, + tree-optimization/93381, tree-optimization/93434, + tree-optimization/93435, tree-optimization/93439, + tree-optimization/93667, tree-optimization/93674, + tree-optimization/93744, tree-optimization/93767, + tree-optimization/93820, tree-optimization/94114, + tree-optimization/94130, tree-optimization/94163, + tree-optimization/94211, tree-optimization/94329, + tree-optimization/94482, tree-optimization/94524, + tree-optimization/94809, tree-optimization/94969, + tree-optimization/95110, tree-optimization/95857, + tree-optimization/96722, tree-optimization/97053 + * Thu Nov 21 2019 Jakub Jelinek 8.3.1-5 - update from the 8 branch - PRs ada/80590, ada/91995, bootstrap/87030, bootstrap/89864, c++/79274, diff --git a/gcc8-libstdc++-docs.patch b/gcc8-libstdc++-docs.patch index 5f6a2ae..b2a27d4 100644 --- a/gcc8-libstdc++-docs.patch +++ b/gcc8-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 8.3.1 ++ Release 8.4.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 8.3.1 release, ++ for the 8.4.1 release, + online for each GCC release and diff --git a/sources b/sources index 97a0810..8f188b7 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.3.1-20191121.tar.xz) = 3a602cd5fcbd36c13cbde54545975716442d96d57c8a2bb107e04a3a4c61170544d924fe72c56adaf5efdc0ce7f22f03686923499e98aaf7f7b456c93e374e6d +SHA512 (gcc-8.4.1-20200918.tar.xz) = 6f6ab2cb664e3169274bf973f6f7ef8fb3b7a47d396217154f0de7709527cb25e6b51185859f8461e3b96d53304c0071019c9e306904e2131518ae5727d34e30 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From 848c17f8684adac83096acb7c71684a01b51f30a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 28 Sep 2020 12:36:46 +0200 Subject: [PATCH 13/16] Revert PR95614 change to fix PR97224 --- gcc.spec | 3 ++ gcc8-pr95614-revert.patch | 96 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 gcc8-pr95614-revert.patch diff --git a/gcc.spec b/gcc.spec index d4bd361..802027d 100644 --- a/gcc.spec +++ b/gcc.spec @@ -260,6 +260,7 @@ Patch10: gcc8-Wno-format-security.patch Patch11: gcc8-rh1512529-aarch64.patch Patch12: gcc8-mcet.patch Patch13: gcc8-rh1574936.patch +Patch14: gcc8-pr95614-revert.patch Patch1000: nvptx-tools-no-ptxas.patch Patch1001: nvptx-tools-build.patch @@ -828,6 +829,8 @@ to NVidia PTX capable devices if available. %if 0%{?fedora} >= 29 || 0%{?rhel} > 7 %patch13 -p0 -b .rh1574936~ %endif +%patch14 -p0 -b .pr95614-revert~ +rm -f gcc/testsuite/gfortran.dg/pr95614_*.f90 cd nvptx-tools-%{nvptx_tools_gitrev} %patch1000 -p1 -b .nvptx-tools-no-ptxas~ diff --git a/gcc8-pr95614-revert.patch b/gcc8-pr95614-revert.patch new file mode 100644 index 0000000..c3f9e26 --- /dev/null +++ b/gcc8-pr95614-revert.patch @@ -0,0 +1,96 @@ +2020-09-28 Jakub Jelinek + + Revert: + 2020-09-27 Steven G. Kargl + Mark Eggleston + + PR fortran/95614 + * decl.c (gfc_get_common): Use gfc_match_common_name instead + of match_common_name. + * decl.c (gfc_bind_idents): Use gfc_match_common_name instead + of match_common_name. + * match.c : Rename match_common_name to gfc_match_common_name. + * match.c (gfc_match_common): Use gfc_match_common_name instead + of match_common_name. + * match.h : Rename match_common_name to gfc_match_common_name. + * resolve.c (resolve_common_vars): Check each symbol in a + common block has a global symbol. If there is a global symbol + issue an error if the symbol type is known as is not a common + block name. + +--- gcc/fortran/decl.c ++++ gcc/fortran/decl.c +@@ -5789,7 +5789,7 @@ get_bind_c_idents (void) + found_id = MATCH_YES; + gfc_get_ha_symbol (name, &tmp_sym); + } +- else if (gfc_match_common_name (name) == MATCH_YES) ++ else if (match_common_name (name) == MATCH_YES) + { + found_id = MATCH_YES; + com_block = gfc_get_common (name, 0); +@@ -5834,7 +5834,7 @@ get_bind_c_idents (void) + found_id = MATCH_YES; + gfc_get_ha_symbol (name, &tmp_sym); + } +- else if (gfc_match_common_name (name) == MATCH_YES) ++ else if (match_common_name (name) == MATCH_YES) + { + found_id = MATCH_YES; + com_block = gfc_get_common (name, 0); +--- gcc/fortran/match.c ++++ gcc/fortran/match.c +@@ -5028,8 +5028,7 @@ gfc_get_common (const char *name, int from_module) + + /* Match a common block name. */ + +-match +-gfc_match_common_name (char *name) ++match match_common_name (char *name) + { + match m; + +@@ -5073,7 +5072,7 @@ gfc_match_common (void) + + for (;;) + { +- m = gfc_match_common_name (name); ++ m = match_common_name (name); + if (m == MATCH_ERROR) + goto cleanup; + +--- gcc/fortran/match.h ++++ gcc/fortran/match.h +@@ -103,9 +103,11 @@ match gfc_match_call (void); + + /* We want to use this function to check for a common-block-name + that can exist in a bind statement, so removed the "static" +- declaration of the function in match.c. */ ++ declaration of the function in match.c. + +-match gfc_match_common_name (char *name); ++ TODO: should probably rename this now that it'll be globally seen to ++ gfc_match_common_name. */ ++match match_common_name (char *name); + + match gfc_match_common (void); + match gfc_match_block_data (void); +--- gcc/fortran/resolve.c ++++ gcc/fortran/resolve.c +@@ -932,16 +932,9 @@ static void + resolve_common_vars (gfc_common_head *common_block, bool named_common) + { + gfc_symbol *csym = common_block->head; +- gfc_gsymbol *gsym; + + for (; csym; csym = csym->common_next) + { +- gsym = gfc_find_gsymbol (gfc_gsym_root, csym->name); +- if (gsym && gsym->type != GSYM_UNKNOWN && gsym->type != GSYM_COMMON) +- gfc_error_now ("Global entity %qs at %L cannot appear in a " +- "COMMON block at %L", gsym->name, +- &gsym->where, &csym->common_block->where); +- + /* gfc_add_in_common may have been called before, but the reported errors + have been ignored to continue parsing. + We do the checks again here. */ From a8c26f30386b4e34637d1ec53c16c12b3b338386 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Apr 2021 13:04:24 +0200 Subject: [PATCH 14/16] 8.4.1-2 --- .gitignore | 1 + gcc.spec | 42 ++++++++++++++--- gcc8-pr95614-revert.patch | 96 --------------------------------------- sources | 2 +- 4 files changed, 38 insertions(+), 103 deletions(-) delete mode 100644 gcc8-pr95614-revert.patch diff --git a/.gitignore b/.gitignore index d072cc0..7ca572f 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ /gcc-8.3.1-20190507.tar.xz /gcc-8.3.1-20191121.tar.xz /gcc-8.4.1-20200918.tar.xz +/gcc-8.4.1-20210423.tar.xz diff --git a/gcc.spec b/gcc.spec index 802027d..3b8c46a 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20200928 -%global gitrev 8ed81e8ef69a535cbc168f55d06941bf3e4ef8ee +%global DATE 20210423 +%global gitrev 81036e6dfb5dac2e9186f0071f7f2048e81e65fa %global gcc_version 8.4.1 %global gcc_major 8 # 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 c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -260,7 +260,6 @@ Patch10: gcc8-Wno-format-security.patch Patch11: gcc8-rh1512529-aarch64.patch Patch12: gcc8-mcet.patch Patch13: gcc8-rh1574936.patch -Patch14: gcc8-pr95614-revert.patch Patch1000: nvptx-tools-no-ptxas.patch Patch1001: nvptx-tools-build.patch @@ -829,8 +828,6 @@ to NVidia PTX capable devices if available. %if 0%{?fedora} >= 29 || 0%{?rhel} > 7 %patch13 -p0 -b .rh1574936~ %endif -%patch14 -p0 -b .pr95614-revert~ -rm -f gcc/testsuite/gfortran.dg/pr95614_*.f90 cd nvptx-tools-%{nvptx_tools_gitrev} %patch1000 -p1 -b .nvptx-tools-no-ptxas~ @@ -3135,6 +3132,39 @@ fi %endif %changelog +* Fri Apr 23 2021 Jakub Jelinek 8.4.1-2 +- update from the 8 branch + - PRs ada/98230, bootstrap/97163, c++/33661, c++/82959, c++/88115, + c++/91953, c++/95158, c++/95451, c++/97663, c++/97878, c++/97918, + c++/98353, c++/98556, c++/98847, c++/99033, c++/99035, c++/99613, + c++/99650, c++/99745, c++/99790, c++/99833, c/97958, c/99136, + c/99324, c/99588, c/99990, debug/97599, debug/98331, debug/99334, + debug/99388, debug/99830, fortran/86470, fortran/98307, fortran/99840, + ipa/94947, ipa/99034, jit/100096, libfortran/99218, libgomp/65099, + libstdc++/65480, libstdc++/68735, libstdc++/92978, libstdc++/97273, + libstdc++/97362, libstdc++/97570, libstdc++/97731, libstdc++/98001, + libstdc++/98319, libstdc++/98605, libstdc++/99058, libstdc++/99181, + lto/97290, lto/99849, middle-end/93235, middle-end/94479, + middle-end/94964, middle-end/96369, middle-end/97487, + middle-end/97554, middle-end/98183, middle-end/98205, + middle-end/99007, rtl-optimization/97386, rtl-optimization/97421, + rtl-optimization/97439, rtl-optimization/98601, + rtl-optimization/99863, rtl-optimization/99905, sanitizer/95693, + sanitizer/97294, sanitizer/99106, sanitizer/100114, target/85074, + target/91816, target/94791, target/94891, target/96191, target/96313, + target/96793, target/97150, target/97184, target/97231, target/97349, + target/97528, target/97535, target/98063, target/98100, target/98618, + target/98681, target/99704, testsuite/80219, testsuite/85303, + testsuite/97301, testsuite/97688, testsuite/98002, testsuite/100176, + tree-optimization/90248, tree-optimization/93964, + tree-optimization/95133, tree-optimization/96370, + tree-optimization/96579, tree-optimization/97081, + tree-optimization/97236, tree-optimization/97255, + tree-optimization/97633, tree-optimization/98282, + tree-optimization/98474, tree-optimization/99079, + tree-optimization/99204, tree-optimization/99225, + tree-optimization/99777 + * Mon Sep 28 2020 Jakub Jelinek 8.4.1-1 - update from the 8 branch - GCC 8.4 release diff --git a/gcc8-pr95614-revert.patch b/gcc8-pr95614-revert.patch deleted file mode 100644 index c3f9e26..0000000 --- a/gcc8-pr95614-revert.patch +++ /dev/null @@ -1,96 +0,0 @@ -2020-09-28 Jakub Jelinek - - Revert: - 2020-09-27 Steven G. Kargl - Mark Eggleston - - PR fortran/95614 - * decl.c (gfc_get_common): Use gfc_match_common_name instead - of match_common_name. - * decl.c (gfc_bind_idents): Use gfc_match_common_name instead - of match_common_name. - * match.c : Rename match_common_name to gfc_match_common_name. - * match.c (gfc_match_common): Use gfc_match_common_name instead - of match_common_name. - * match.h : Rename match_common_name to gfc_match_common_name. - * resolve.c (resolve_common_vars): Check each symbol in a - common block has a global symbol. If there is a global symbol - issue an error if the symbol type is known as is not a common - block name. - ---- gcc/fortran/decl.c -+++ gcc/fortran/decl.c -@@ -5789,7 +5789,7 @@ get_bind_c_idents (void) - found_id = MATCH_YES; - gfc_get_ha_symbol (name, &tmp_sym); - } -- else if (gfc_match_common_name (name) == MATCH_YES) -+ else if (match_common_name (name) == MATCH_YES) - { - found_id = MATCH_YES; - com_block = gfc_get_common (name, 0); -@@ -5834,7 +5834,7 @@ get_bind_c_idents (void) - found_id = MATCH_YES; - gfc_get_ha_symbol (name, &tmp_sym); - } -- else if (gfc_match_common_name (name) == MATCH_YES) -+ else if (match_common_name (name) == MATCH_YES) - { - found_id = MATCH_YES; - com_block = gfc_get_common (name, 0); ---- gcc/fortran/match.c -+++ gcc/fortran/match.c -@@ -5028,8 +5028,7 @@ gfc_get_common (const char *name, int from_module) - - /* Match a common block name. */ - --match --gfc_match_common_name (char *name) -+match match_common_name (char *name) - { - match m; - -@@ -5073,7 +5072,7 @@ gfc_match_common (void) - - for (;;) - { -- m = gfc_match_common_name (name); -+ m = match_common_name (name); - if (m == MATCH_ERROR) - goto cleanup; - ---- gcc/fortran/match.h -+++ gcc/fortran/match.h -@@ -103,9 +103,11 @@ match gfc_match_call (void); - - /* We want to use this function to check for a common-block-name - that can exist in a bind statement, so removed the "static" -- declaration of the function in match.c. */ -+ declaration of the function in match.c. - --match gfc_match_common_name (char *name); -+ TODO: should probably rename this now that it'll be globally seen to -+ gfc_match_common_name. */ -+match match_common_name (char *name); - - match gfc_match_common (void); - match gfc_match_block_data (void); ---- gcc/fortran/resolve.c -+++ gcc/fortran/resolve.c -@@ -932,16 +932,9 @@ static void - resolve_common_vars (gfc_common_head *common_block, bool named_common) - { - gfc_symbol *csym = common_block->head; -- gfc_gsymbol *gsym; - - for (; csym; csym = csym->common_next) - { -- gsym = gfc_find_gsymbol (gfc_gsym_root, csym->name); -- if (gsym && gsym->type != GSYM_UNKNOWN && gsym->type != GSYM_COMMON) -- gfc_error_now ("Global entity %qs at %L cannot appear in a " -- "COMMON block at %L", gsym->name, -- &gsym->where, &csym->common_block->where); -- - /* gfc_add_in_common may have been called before, but the reported errors - have been ignored to continue parsing. - We do the checks again here. */ diff --git a/sources b/sources index 8f188b7..7a5df46 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.4.1-20200918.tar.xz) = 6f6ab2cb664e3169274bf973f6f7ef8fb3b7a47d396217154f0de7709527cb25e6b51185859f8461e3b96d53304c0071019c9e306904e2131518ae5727d34e30 +SHA512 (gcc-8.4.1-20210423.tar.xz) = 2057d710618b38d96c6bcbf71796cbc06d267bfad20a53c0e9b9dc36f1acb6713409dea3830b8aea1f8adec04ac7f07152fce29e260c868dcc3eaf550255a9c7 SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 From f28df09d028df96cb6fee919a52bf03740fa7202 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Apr 2021 15:56:57 +0200 Subject: [PATCH 15/16] Add update-gcc.sh script. --- update-gcc.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 update-gcc.sh diff --git a/update-gcc.sh b/update-gcc.sh new file mode 100755 index 0000000..d456866 --- /dev/null +++ b/update-gcc.sh @@ -0,0 +1,7 @@ +#!/bin/sh +[ -d gcc-dir.tmp ] && echo gcc-dir.tmp already exists && exit 1 +git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp +git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1 +d=`date --iso | sed 's/-//g'` +git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-8.4.1-$d/ $1 | xz -9e > gcc-8.4.1-$d.tar.xz +rm -rf gcc-dir.tmp From af95a1e54a605a349056530fe8c806f15f27e653 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 14 May 2021 17:06:39 +0200 Subject: [PATCH 16/16] 8.5.0-1 --- .gitignore | 1 + gcc.spec | 23 +++++++++++++++++++---- gcc8-libstdc++-docs.patch | 4 ++-- sources | 2 +- update-gcc.sh | 2 +- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 7ca572f..c0daff0 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ /gcc-8.3.1-20191121.tar.xz /gcc-8.4.1-20200918.tar.xz /gcc-8.4.1-20210423.tar.xz +/gcc-8.5.0-20210514.tar.xz diff --git a/gcc.spec b/gcc.spec index 3b8c46a..a9eb016 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,10 +1,10 @@ -%global DATE 20210423 -%global gitrev 81036e6dfb5dac2e9186f0071f7f2048e81e65fa -%global gcc_version 8.4.1 +%global DATE 20210514 +%global gitrev a3253c88425835d5b339d6998a1110a66ccd8b44 +%global gcc_version 8.5.0 %global gcc_major 8 # 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 2 +%global gcc_release 1 %global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f %global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24 %global _unpackaged_files_terminate_build 0 @@ -3132,6 +3132,21 @@ fi %endif %changelog +* Fri May 14 2021 Jakub Jelinek 8.5.0-1 +- update from the 8 branch + - GCC 8.5 release + - PRs bootstrap/87338, c++/95719, c++/98032, c++/98358, c/100450, + debug/100255, lto/96385, lto/96591, middle-end/86159, + rtl-optimization/81025, rtl-optimization/85899, + rtl-optimization/94605, rtl-optimization/99929, + rtl-optimization/100148, rtl-optimization/100225, + rtl-optimization/100230, rtl-optimization/100254, + rtl-optimization/100263, target/87839, target/98136, target/98952, + target/99037, target/99808, target/100182, target/100302, + target/100375, target/100441, tree-optimization/86877, + tree-optimization/98117, tree-optimization/98786, + tree-optimization/99954 + * Fri Apr 23 2021 Jakub Jelinek 8.4.1-2 - update from the 8 branch - PRs ada/98230, bootstrap/97163, c++/33661, c++/82959, c++/88115, diff --git a/gcc8-libstdc++-docs.patch b/gcc8-libstdc++-docs.patch index b2a27d4..20fd28e 100644 --- a/gcc8-libstdc++-docs.patch +++ b/gcc8-libstdc++-docs.patch @@ -4,7 +4,7 @@ FSF

-+ Release 8.4.1 ++ Release 8.5.0 +

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 8.4.1 release, ++ for the 8.5.0 release, + online for each GCC release and diff --git a/sources b/sources index 7a5df46..fa0f21f 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-8.4.1-20210423.tar.xz) = 2057d710618b38d96c6bcbf71796cbc06d267bfad20a53c0e9b9dc36f1acb6713409dea3830b8aea1f8adec04ac7f07152fce29e260c868dcc3eaf550255a9c7 +SHA512 (gcc-8.5.0-20210514.tar.xz) = 4811dbcbdce8fe0fa8bc1fdca024988a1a75ac89e3efc675fe991b81032c220ab4bd1bc530bb99f6209ffeca67581a198de82f7253530de8c24a2a81770eb4ea SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04 SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1 diff --git a/update-gcc.sh b/update-gcc.sh index d456866..f73dbdd 100755 --- a/update-gcc.sh +++ b/update-gcc.sh @@ -3,5 +3,5 @@ git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1 d=`date --iso | sed 's/-//g'` -git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-8.4.1-$d/ $1 | xz -9e > gcc-8.4.1-$d.tar.xz +git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-8.5.0-$d/ $1 | xz -9e > gcc-8.5.0-$d.tar.xz rm -rf gcc-dir.tmp