diff --git a/.gitignore b/.gitignore
index 18ec708..c0daff0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,3 +57,13 @@
/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
+/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
+/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
+/gcc-8.5.0-20210514.tar.xz
diff --git a/gcc.spec b/gcc.spec
index e0c4f1f..a9eb016 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20190109
-%global SVNREV 267776
-%global gcc_version 8.2.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 7
+%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
@@ -1317,36 +1318,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 +3132,292 @@ 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,
+ 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
+ - 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,
+ 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)
+
+* 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,
+ 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
+
+* 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
+ - 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,
+ 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/gcc8-libstdc++-docs.patch b/gcc8-libstdc++-docs.patch
index e73a92b..20fd28e 100644
--- a/gcc8-libstdc++-docs.patch
+++ b/gcc8-libstdc++-docs.patch
@@ -4,7 +4,7 @@
FSF
-+ Release 8.2.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.2.1 release,
++ for the 8.5.0 release,
+ online
for each GCC release
and
diff --git a/sources b/sources
index d019e58..fa0f21f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-8.2.1-20190109.tar.xz) = d699b52baa2c54a71f2fef2dd77701baa836737975938d67fb532f1a54638b1442fc04b560fd74e66b44195e4de9ce485100b9bdbac569e4c3abad053a96bc33
+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
new file mode 100755
index 0000000..f73dbdd
--- /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.5.0-$d/ $1 | xz -9e > gcc-8.5.0-$d.tar.xz
+rm -rf gcc-dir.tmp