From 230cd6b21706295659ee704eac4b9d409e35bb56 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek
Date: Fri, 4 Dec 2020 19:28:55 +0100
Subject: [PATCH] 11.0.0-0.7
---
.gitignore | 1 +
gcc.spec | 654 +++++-------------
gcc10-pr96383.patch | 236 -------
gcc10-pr96939-2.patch | 51 --
gcc10-pr96939-3.patch | 111 ---
gcc10-pr96939.patch | 64 --
gcc10-pr97060.patch | 34 -
...y.patch => gcc11-Wno-format-security.patch | 0
...os.patch => gcc11-d-shared-libphobos.patch | 0
...ault.patch => gcc11-foffload-default.patch | 50 +-
gcc10-hack.patch => gcc11-hack.patch | 0
...-libgomp.patch => gcc11-i386-libgomp.patch | 0
gcc10-isl-dl.patch => gcc11-isl-dl.patch | 13 +-
...atch => gcc11-libgomp-omp_h-multilib.patch | 0
...+-docs.patch => gcc11-libstdc++-docs.patch | 4 +-
...path.patch => gcc11-libtool-no-rpath.patch | 0
...-needed.patch => gcc11-no-add-needed.patch | 0
...0-rh1574936.patch => gcc11-rh1574936.patch | 0
...atch => gcc11-sparc-config-detection.patch | 0
sources | 2 +-
update-gcc.sh | 2 +-
21 files changed, 206 insertions(+), 1016 deletions(-)
delete mode 100644 gcc10-pr96383.patch
delete mode 100644 gcc10-pr96939-2.patch
delete mode 100644 gcc10-pr96939-3.patch
delete mode 100644 gcc10-pr96939.patch
delete mode 100644 gcc10-pr97060.patch
rename gcc10-Wno-format-security.patch => gcc11-Wno-format-security.patch (100%)
rename gcc10-d-shared-libphobos.patch => gcc11-d-shared-libphobos.patch (100%)
rename gcc10-foffload-default.patch => gcc11-foffload-default.patch (82%)
rename gcc10-hack.patch => gcc11-hack.patch (100%)
rename gcc10-i386-libgomp.patch => gcc11-i386-libgomp.patch (100%)
rename gcc10-isl-dl.patch => gcc11-isl-dl.patch (99%)
rename gcc10-libgomp-omp_h-multilib.patch => gcc11-libgomp-omp_h-multilib.patch (100%)
rename gcc10-libstdc++-docs.patch => gcc11-libstdc++-docs.patch (96%)
rename gcc10-libtool-no-rpath.patch => gcc11-libtool-no-rpath.patch (100%)
rename gcc10-no-add-needed.patch => gcc11-no-add-needed.patch (100%)
rename gcc10-rh1574936.patch => gcc11-rh1574936.patch (100%)
rename gcc10-sparc-config-detection.patch => gcc11-sparc-config-detection.patch (100%)
diff --git a/.gitignore b/.gitignore
index e230e3b..0d11d30 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/gcc-10.2.1-20201102.tar.xz
/gcc-10.2.1-20201112.tar.xz
/gcc-10.2.1-20201125.tar.xz
+/gcc-11.0.0-20201204.tar.xz
diff --git a/gcc.spec b/gcc.spec
index be32486..23c7843 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,10 +1,10 @@
-%global DATE 20201125
-%global gitrev 2cd1f70a7b47cb9bd8da4aa4663e7d75b0cfcac5
-%global gcc_version 10.2.1
-%global gcc_major 10
+%global DATE 20201204
+%global gitrev d35391d824edee33b5fbce3df058f4fafd9b9fa6
+%global gcc_version 11.0.0
+%global gcc_major 11
# 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 0
%global nvptx_tools_gitrev 5f6f343a302d620b0868edab376c00b15741e39e
%global newlib_cygwin_gitrev 50e2a63b04bdd018484605fbb954fd1bd5147fa0
%global _unpackaged_files_terminate_build 0
@@ -119,12 +119,14 @@
Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc
Version: %{gcc_version}
-Release: %{gcc_release}%{?dist}
+Release: %{gcc_release}.7%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
-# The source for this package was pulled from upstream's vcs. Use the
-# following commands to generate the tarball:
+# The source for this package was pulled from upstream's vcs.
+# %%{gitrev} is some commit from the
+# https://gcc.gnu.org/git/?p=gcc.git;h=refs/vendors/redhat/heads/gcc-%%{gcc_major}-branch
+# branch. Use the following commands to generate the tarball:
# 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
@@ -258,23 +260,18 @@ AutoReq: true
Provides: bundled(libiberty)
Provides: gcc(major) = %{gcc_major}
-Patch0: gcc10-hack.patch
-Patch1: gcc10-i386-libgomp.patch
-Patch2: gcc10-sparc-config-detection.patch
-Patch3: gcc10-libgomp-omp_h-multilib.patch
-Patch4: gcc10-libtool-no-rpath.patch
-Patch5: gcc10-isl-dl.patch
-Patch6: gcc10-libstdc++-docs.patch
-Patch7: gcc10-no-add-needed.patch
-Patch8: gcc10-foffload-default.patch
-Patch9: gcc10-Wno-format-security.patch
-Patch10: gcc10-rh1574936.patch
-Patch11: gcc10-d-shared-libphobos.patch
-Patch12: gcc10-pr96383.patch
-Patch13: gcc10-pr96939.patch
-Patch14: gcc10-pr96939-2.patch
-Patch15: gcc10-pr96939-3.patch
-Patch16: gcc10-pr97060.patch
+Patch0: gcc11-hack.patch
+Patch1: gcc11-i386-libgomp.patch
+Patch2: gcc11-sparc-config-detection.patch
+Patch3: gcc11-libgomp-omp_h-multilib.patch
+Patch4: gcc11-libtool-no-rpath.patch
+Patch5: gcc11-isl-dl.patch
+Patch6: gcc11-libstdc++-docs.patch
+Patch7: gcc11-no-add-needed.patch
+Patch8: gcc11-foffload-default.patch
+Patch9: gcc11-Wno-format-security.patch
+Patch10: gcc11-rh1574936.patch
+Patch11: gcc11-d-shared-libphobos.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@@ -296,7 +293,7 @@ Patch16: gcc10-pr97060.patch
%if %{build_go}
# Avoid stripping these libraries and binaries.
%global __os_install_post \
-chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \
+chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.17.* \
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@@ -304,7 +301,7 @@ chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/test2json \
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/vet \
%__os_install_post \
-chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.* \
+chmod 755 %{buildroot}%{_prefix}/%{_lib}/libgo.so.17.* \
chmod 755 %{buildroot}%{_prefix}/bin/go.gcc \
chmod 755 %{buildroot}%{_prefix}/bin/gofmt.gcc \
chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo \
@@ -315,11 +312,11 @@ chmod 755 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}
%endif
%description
-The gcc package contains the GNU Compiler Collection version 10.
+The gcc package contains the GNU Compiler Collection version 11.
You'll need this package in order to compile C code.
%package -n libgcc
-Summary: GCC version 10 shared support library
+Summary: GCC version 11 shared support library
Autoreq: false
%if !%{build_ada}
Obsoletes: libgnat < %{version}-%{release}
@@ -786,12 +783,6 @@ to NVidia PTX capable devices if available.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
-%patch12 -p0 -b .pr96383~
-%patch13 -p0 -b .pr96939~
-%patch14 -p0 -b .pr96939-2~
-%patch15 -p0 -b .pr96939-3~
-find gcc/testsuite -name \*.pr96939~ | xargs rm -f
-#%patch16 -p0 -b .pr97060~
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
@@ -986,6 +977,9 @@ CONFIGURE_OPTS="\
--with-arch=x86-64 \
%endif
%ifarch x86_64
+%if 0%{?rhel} > 8
+ --with-arch_64=x86-64-v2 \
+%endif
--with-arch_32=x86-64 \
%endif
%else
@@ -999,7 +993,11 @@ CONFIGURE_OPTS="\
%ifarch s390 s390x
%if 0%{?rhel} >= 7
%if 0%{?rhel} > 7
+%if 0%{?rhel} > 8
+ --with-arch=z13 --with-tune=arch13 \
+%else
--with-arch=z13 --with-tune=z14 \
+%endif
%else
--with-arch=z196 --with-tune=zEC12 \
%endif
@@ -1388,7 +1386,7 @@ ln -sf ../../../libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../libgfortran.so.5.* libgfortran.so
ln -sf ../../../libgomp.so.1.* libgomp.so
%if %{build_go}
-ln -sf ../../../libgo.so.16.* libgo.so
+ln -sf ../../../libgo.so.17.* libgo.so
%endif
%if %{build_libquadmath}
ln -sf ../../../libquadmath.so.0.* libquadmath.so
@@ -1418,7 +1416,7 @@ ln -sf ../../../../%{_lib}/libstdc++.so.6.*[0-9] libstdc++.so
ln -sf ../../../../%{_lib}/libgfortran.so.5.* libgfortran.so
ln -sf ../../../../%{_lib}/libgomp.so.1.* libgomp.so
%if %{build_go}
-ln -sf ../../../../%{_lib}/libgo.so.16.* libgo.so
+ln -sf ../../../../%{_lib}/libgo.so.17.* libgo.so
%endif
%if %{build_libquadmath}
ln -sf ../../../../%{_lib}/libquadmath.so.0.* libquadmath.so
@@ -1538,8 +1536,8 @@ ln -sf ../`echo ../../../../lib/libgfortran.so.5.* | sed s~/lib/~/lib64/~` 64/li
ln -sf ../`echo ../../../../lib/libgomp.so.1.* | sed s~/lib/~/lib64/~` 64/libgomp.so
%if %{build_go}
rm -f libgo.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.16.* | sed 's,^.*libg,libg,'`' )' > libgo.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.16.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib/libgo.so.17.* | sed 's,^.*libg,libg,'`' )' > libgo.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib/libgo.so.17.* | sed 's,^.*libg,libg,'`' )' > 64/libgo.so
%endif
%if %{build_libquadmath}
rm -f libquadmath.so
@@ -1637,8 +1635,8 @@ ln -sf ../`echo ../../../../lib64/libgfortran.so.5.* | sed s~/../lib64/~/~` 32/l
ln -sf ../`echo ../../../../lib64/libgomp.so.1.* | sed s~/../lib64/~/~` 32/libgomp.so
%if %{build_go}
rm -f libgo.so
-echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.16.* | sed 's,^.*libg,libg,'`' )' > libgo.so
-echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.16.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
+echo 'INPUT ( %{_prefix}/lib64/'`echo ../../../../lib64/libgo.so.17.* | sed 's,^.*libg,libg,'`' )' > libgo.so
+echo 'INPUT ( %{_prefix}/lib/'`echo ../../../../lib64/libgo.so.17.* | sed 's,^.*libg,libg,'`' )' > 32/libgo.so
%endif
%if %{build_libquadmath}
rm -f libquadmath.so
@@ -1825,7 +1823,7 @@ chmod 755 %{buildroot}%{_prefix}/%{_lib}/liblsan.so.0.*
%endif
%if %{build_go}
# Avoid stripping these libraries and binaries.
-chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.16.*
+chmod 644 %{buildroot}%{_prefix}/%{_lib}/libgo.so.17.*
chmod 644 %{buildroot}%{_prefix}/bin/go.gcc
chmod 644 %{buildroot}%{_prefix}/bin/gofmt.gcc
chmod 644 %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/cgo
@@ -2190,6 +2188,16 @@ end
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/enqcmdintrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512vp2intersectintrin.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avx512vp2intersectvlintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/serializeintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/tsxldtrkintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxtileintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxint8intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/amxbf16intrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/x86gprintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/uintrintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/hresetintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/keylockerintrin.h
+%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/avxvnniintrin.h
%endif
%ifarch ia64
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ia64intrin.h
@@ -2950,7 +2958,7 @@ end
%doc rpm.doc/go/*
%files -n libgo
-%attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.16*
+%attr(755,root,root) %{_prefix}/%{_lib}/libgo.so.17*
%doc rpm.doc/libgo/*
%files -n libgo-devel
@@ -3058,448 +3066,130 @@ end
%endif
%changelog
-* Wed Nov 25 2020 Jakub Jelinek 10.2.1-9
-- update from releases/gcc-10 branch
- - PRs c++/67453, c++/96805, c++/97663, c++/97790, c/97748, c/97958, d/97842,
- d/97843, d/97889, fortran/95847, fortran/97782, libstdc++/93456,
- libstdc++/95989, libstdc++/96042, libstdc++/97798, libstdc++/97828,
- libstdc++/97869, libstdc++/97876, target/97528, target/97534,
- target/97535, target/97682, target/97727, target/97730, target/97887
- - fix LTO -g ICE on firefox 83 (#1899294, PR c++/97918)
- - fix DW_TAG_unspecified_parameters for LTO or function clones
- (#1893340, PR debug/97599)
+* Fri Dec 4 2020 Jakub Jelinek 11.0.0-0.7
+- update from trunk
+ - PRs bootstrap/97983, c++/80780, c++/90629, c++/93093, c++/97187,
+ c++/97947, c++/97975, c++/97993, c++/98019, c++/98054, c++/98072,
+ c++/98104, c++/98107, c++/98115, c++/98116, c/65455, c/92935, c/97880,
+ c/98087, d/87788, d/87818, d/98025, debug/97989, fortran/95342,
+ fortran/98010, fortran/98011, fortran/98013, ipa/88702, ipa/98057,
+ ipa/98075, jit/97867, libgcc/97543, libgcc/97643, libstdc++/65480,
+ libstdc++/68735, libstdc++/93121, libstdc++/98001, libstdc++/98003,
+ middle-end/89428, middle-end/92936, middle-end/92940,
+ middle-end/93195, middle-end/93197, middle-end/94527,
+ middle-end/97373, middle-end/97595, middle-end/98070,
+ middle-end/98082, middle-end/98099, other/98027, plugins/98059,
+ preprocessor/97602, rtl-optimization/97459, rtl-optimization/97777,
+ rtl-optimization/97954, rtl-optimization/98037, target/96607,
+ target/96906, target/97642, target/97770, target/97939, target/98063,
+ target/98079, target/98086, testsuite/98002, testsuite/98036,
+ testsuite/98085, tree-optimization/14799, tree-optimization/88702,
+ tree-optimization/96679, tree-optimization/96708,
+ tree-optimization/97630, tree-optimization/97953,
+ tree-optimization/97979, tree-optimization/97997,
+ tree-optimization/98024, tree-optimization/98048,
+ tree-optimization/98064, tree-optimization/98066,
+ tree-optimization/98084
-* Thu Nov 12 2020 Jakub Jelinek 10.2.1-8
-- update from releases/gcc-10 branch
- - PRs c++/97412, fortran/92793, fortran/97652, libstdc++/92285,
- libstdc++/96269, libstdc++/97362, libstdc++/97731, middle-end/97392,
- target/85486, target/97360, target/97638, target/97685,
- testsuite/80219, testsuite/85303, testsuite/97688, testsuite/97797,
- tree-optimization/97633, tree-optimization/97764
- - fix up Fortran ICE on operator with CHARACTER operand (#1895612,
- PR fortran/97768)
-- emit DW_AT_declaration on declaration-only DIEs (#1889516, PR debug/97060)
+* Thu Nov 26 2020 Jakub Jelinek 11.0.0-0.6
+- update from trunk
+ - PRs bootstrap/94982, bootstrap/97622, bootstrap/97933, c++/97899, c/97958,
+ fortran/85796, libstdc++/67791, libstdc++/97935, libstdc++/97936,
+ libstdc++/97944, middle-end/97943, middle-end/97956,
+ rtl-optimization/95862, target/91816, target/97534, target/97950,
+ tree-optimization/96929, tree-optimization/97849,
+ tree-optimization/97964
+
+* Tue Nov 24 2020 Jakub Jelinek 11.0.0-0.5
+- update from trunk
+ - PRs c++/94695, c++/97427, c++/97839, c++/97846, c++/97881, c++/97904,
+ c/95630, d/97889, libstdc++/97948, tree-optimization/95853
+
+* Sat Nov 21 2020 Jakub Jelinek 11.0.0-0.4
+- update from trunk
+ - PRs ada/97805, ada/97859, analyzer/97668, analyzer/97893, bootstrap/57076,
+ bootstrap/97666, bootstrap/97857, c++/25814, c++/52830, c++/63287,
+ c++/67453, c++/78209, c++/81660, c++/87765, c++/88115, c++/88982,
+ c++/89565, c++/90799, c++/91318, c++/93107, c++/93907, c++/95808,
+ c++/97388, c++/97412, c++/97453, c++/97479, c++/97518, c++/97523,
+ c++/97632, c++/97663, c++/97670, c++/97675, c++/97762, c++/97790,
+ c++/97871, c++/97877, c++/97895, c++/97905, c++/97918, c/90628,
+ c/97748, c/97860, d/97644, d/97842, d/97843, debug/97060, debug/97599,
+ debug/97718, driver/97574, fortran/90111, fortran/92793,
+ fortran/94358, fortran/95847, fortran/97652, fortran/97655,
+ fortran/97768, fortran/97782, ipa/97578, ipa/97660, ipa/97695,
+ ipa/97698, ipa/97816, jit/87291, libstdc++/55394, libstdc++/66146,
+ libstdc++/83938, libstdc++/84323, libstdc++/88101, libstdc++/92285,
+ libstdc++/92546, libstdc++/93421, libstdc++/93456, libstdc++/94971,
+ libstdc++/95989, libstdc++/96269, libstdc++/96958, libstdc++/97415,
+ libstdc++/97600, libstdc++/97613, libstdc++/97719, libstdc++/97729,
+ libstdc++/97731, libstdc++/97758, libstdc++/97798, libstdc++/97828,
+ libstdc++/97869, lto/97290, lto/97508, middle-end/85811,
+ middle-end/95673, middle-end/97267, middle-end/97556,
+ middle-end/97579, middle-end/97840, middle-end/97862,
+ middle-end/97879, objc/77404, objc/90707, objc/97854, other/97911,
+ pch/86674, pch/97593, preprocessor/97858, rtl-optimization/92180,
+ rtl-optimization/97705, sanitizer/95634, target/31799, target/85486,
+ target/91489, target/93449, target/96307, target/96770, target/96791,
+ target/96933, target/96967, target/96998, target/97140, target/97194,
+ target/97205, target/97326, target/97528, target/97532, target/97540,
+ target/97638, target/97682, target/97685, target/97715, target/97726,
+ target/97727, target/97730, target/97870, target/97873,
+ testsuite/80219, testsuite/85303, testsuite/97117, testsuite/97688,
+ testsuite/97788, testsuite/97797, testsuite/97803,
+ tree-optimization/80928, tree-optimization/83072,
+ tree-optimization/91029, tree-optimization/93781,
+ tree-optimization/94406, tree-optimization/96671,
+ tree-optimization/96789, tree-optimization/97223,
+ tree-optimization/97424, tree-optimization/97558,
+ tree-optimization/97609, tree-optimization/97623,
+ tree-optimization/97626, tree-optimization/97633,
+ tree-optimization/97650, tree-optimization/97678,
+ tree-optimization/97690, tree-optimization/97693,
+ tree-optimization/97706, tree-optimization/97709,
+ tree-optimization/97721, tree-optimization/97725,
+ tree-optimization/97732, tree-optimization/97733,
+ tree-optimization/97736, tree-optimization/97737,
+ tree-optimization/97741, tree-optimization/97746,
+ tree-optimization/97753, tree-optimization/97760,
+ tree-optimization/97761, tree-optimization/97764,
+ tree-optimization/97765, tree-optimization/97767,
+ tree-optimization/97769, tree-optimization/97780,
+ tree-optimization/97806, tree-optimization/97812,
+ tree-optimization/97830, tree-optimization/97835,
+ tree-optimization/97838, tree-optimization/97886,
+ tree-optimization/97888, tree-optimization/97897,
+ tree-optimization/97901
- add BuildRequires: make and Requires: make, the latter for -flto reasons
-* Mon Nov 2 2020 Jakub Jelinek 10.2.1-7
-- update from releases/gcc-10 branch
- - PRs c++/95132, c++/96241, c++/97010, c++/97197, c++/97328, fortran/95979,
- ipa/96394, ipa/97404, libstdc++/97132, lto/97508,
- rtl-optimization/97386, rtl-optimization/97439, sanitizer/97294,
- sanitizer/97414, target/96759, target/96914, target/97291,
- target/97327, target/97506, testsuite/95886, tree-optimization/97081,
- tree-optimization/97456
-
-* Fri Oct 16 2020 Jakub Jelinek 10.2.1-6
-- update from releases/gcc-10 branch
- - PRs c++/88115, c++/96229, fortran/97272, libstdc++/95788, libstdc++/97273,
- lto/97290, middle-end/95189, middle-end/95886, rtl-optimization/97313,
- target/96313, target/96456, target/97150, target/97251, target/97302,
- target/97349, tree-optimization/97236, tree-optimization/97255,
- tree-optimization/97357
- - fix ICE on building Firefox with LTO+PGO (#1886399, PR ipa/97295)
-
-* Mon Oct 5 2020 Jakub Jelinek 10.2.1-5
-- update from releases/gcc-10 branch
- - PRs bootstrap/97163, bootstrap/97183, c++/96994, c++/97145, c++/97195,
- fortran/93423, fortran/95614, fortran/96041, gcov-profile/64636,
- gcov-profile/96913, gcov-profile/97069, gcov-profile/97193,
- libstdc++/94160, libstdc++/94681, libstdc++/96803, libstdc++/97101,
- libstdc++/97167, middle-end/95464, middle-end/97054, middle-end/97073,
- preprocessor/96935, target/71233, target/96683, target/96795,
- target/96827, target/97166, target/97184, target/97231, target/97247,
- tree-optimization/96979, tree-optimization/97053
-
-* Wed Sep 16 2020 Jakub Jelinek 10.2.1-4
-- update from releases/gcc-10 branch
- - PRs bootstrap/96203, c++/95164, c++/96862, c++/96901, d/96157, d/96924,
- debug/93865, debug/94235, debug/96729, fortran/94690, fortran/95109,
- fortran/95398, fortran/95882, fortran/96859, libstdc++/71960,
- libstdc++/92978, libstdc++/96766, libstdc++/96851, lto/94311,
- middle-end/87256, middle-end/96369, target/85830, target/94538,
- target/96357, target/96551, target/96574, target/96744, target/96808,
- target/97028, tree-optimization/88240, tree-optimization/96349,
- tree-optimization/96370, tree-optimization/96514,
- tree-optimization/96522, tree-optimization/96579,
- tree-optimization/96597, tree-optimization/96820,
- tree-optimization/96854, tree-optimization/97043
-- fix up ARM target attribute/pragma handling (#1875814, PR target/96939)
-- don't ICE on sp clobbers with -mincoming-stack-boundary=2 on ia32
- (#1862029, PR target/97032)
-
-* Wed Aug 26 2020 Jakub Jelinek 10.2.1-3
-- update from releases/gcc-10 branch
- - PRs c++/95428, c++/96082, c++/96106, c++/96164, c++/96199, c++/96497,
- c/96545, c/96549, c/96571, d/96250, d/96254, d/96301, debug/96354,
- fortran/93553, fortran/96312, fortran/96486, ipa/95320, ipa/96291,
- ipa/96482, libstdc++/89760, libstdc++/95749, libstdc++/96303,
- libstdc++/96484, libstdc++/96718, lto/95362, lto/95548,
- middle-end/96426, middle-end/96459, target/93897, target/95450,
- target/96191, target/96243, target/96446, target/96493, target/96506,
- target/96525, target/96530, target/96536, target/96562, target/96682,
- tree-optimization/96483, tree-optimization/96535,
- tree-optimization/96722, tree-optimization/96730,
- tree-optimization/96758
-- mangle some further symbols needed for debug info during early dwarf
- (#1862029, PR debug/96690)
-- during %%check perform tests whether annobin is usable with the newly built
- compiler or whether it might need to be rebuilt
-- disable graphite for ELN
-
-* Tue Aug 4 2020 Jakub Jelinek 10.2.1-2
-- update from releases/gcc-10 branch
- - PRs c++/95591, c++/95599, c++/95823, c++/95824, c++/95895, c/96377,
- d/96140, fortran/89574, fortran/93567, fortran/93592, fortran/95585,
- fortran/95612, fortran/95980, fortran/96018, fortran/96086,
- fortran/96220, fortran/96319, lto/45375, middle-end/96335,
- target/95435, target/96190, target/96236, target/96260, target/96402,
- tree-optimization/96058
-- emit debug info for C/C++ external function declarations used in the TU
- (PR debug/96383)
-- discard SHN_UNDEF global symbols from LTO debuginfo (PR lto/96385)
-- strip also -flto=auto from optflags
-
-* Thu Jul 23 2020 Jakub Jelinek 10.2.1-1
-- update from releases/gcc-10 branch
- - GCC 10.2 release
- - PRs bootstrap/94998, c++/90916, c++/95477, c++/95505, c++/95518,
- c++/95519, c++/95711, c++/95719, c++/95736, c++/95789, c++/95813,
- c++/95976, c++/96052, c++/96063, c++/96077, c++/96104, c++/96105,
- c++/96179, c/95141, d/95173, d/95250, debug/95343, fortran/71706,
- fortran/88379, fortran/93337, fortran/95340, fortran/95366,
- fortran/95587, fortran/95687, fortran/95688, fortran/95689,
- fortran/95707, fortran/95708, fortran/95709, fortran/95743,
- fortran/95812, fortran/95826, fortran/95827, fortran/95828,
- fortran/95829, fortran/95880, fortran/95881, fortran/95978,
- ipa/12345, ipa/93223, ipa/96040, ipa/96130, libstdc++/91153,
- libstdc++/91807, libstdc++/94087, libstdc++/94627, libstdc++/94936,
- libstdc++/95282, libstdc++/95851, libstdc++/95915, lto/91576,
- lto/95604, middle-end/94600, middle-end/94964, middle-end/95114,
- middle-end/95118, middle-end/95270, middle-end/95493,
- middle-end/95690, middle-end/95810, middle-end/95903,
- middle-end/96194, target/12345, target/93224, target/93492,
- target/94791, target/94891, target/95018, target/95105, target/95347,
- target/95581, target/95683, target/95713, target/95726, target/95874,
- target/96001, target/96125, target/96174, testsuite/96180,
- tree-optimization/90838, tree-optimization/94969,
- tree-optimization/95049, tree-optimization/95110,
- tree-optimization/95133, tree-optimization/95308,
- tree-optimization/95487, tree-optimization/95638,
- tree-optimization/95717, tree-optimization/95804,
- tree-optimization/95857, tree-optimization/96075,
- tree-optimization/96133, tree-optimization/96146
- - disable s390x multilibs also for ELN
- - disable -flto in %%{optflags}, lto bootstrap will be enabled the GCC way
- later
-
-* Thu Jun 18 2020 Jakub Jelinek 10.1.1-2
-- update from releases/gcc-10 branch
- - PRs c++/90212, c++/90479, c++/90915, c++/91529, c++/92103, c++/92633,
- c++/92652, c++/92838, c++/93310, c++/93467, c++/93698, c++/93822,
- c++/94128, c++/94817, c++/94829, c++/94885, c++/94937, c++/94955,
- c++/95003, c++/95020, c++/95050, c++/95066, c++/95087, c++/95137,
- c++/95158, c++/95181, c++/95197, c++/95222, c++/95241, c++/95319,
- c++/95328, c++/95344, c++/95345, c++/95346, c++/95350, c++/95371,
- c++/95386, c++/95440, c++/95508, c++/95560, c++/95562, c/95040,
- c/95580, d/94970, d/95166, d/95167, d/95168, debug/95080,
- fortran/39695, fortran/50392, fortran/59107, fortran/92993,
- fortran/93366, fortran/93497, fortran/94109, fortran/94361,
- fortran/94397, fortran/94672, fortran/95088, fortran/95090,
- fortran/95091, fortran/95106, fortran/95373, fortran/95500,
- fortran/95503, fortran/95530, fortran/95537, fortran/95544,
- fortran/95611, gcov-profile/95332, ipa/94947, ipa/95113,
- libfortran/95104, libfortran/95119, libfortran/95191,
- libfortran/95390, libgomp/92854, libstdc++/77691, libstdc++/92894,
- libstdc++/93983, libstdc++/94906, libstdc++/94933, libstdc++/95289,
- libstdc++/95322, libstdc++/95578, lto/94848, lto/95190,
- middle-end/94940, middle-end/95108, middle-end/95551,
- middle-end/95622, sanitizer/94910, sanitizer/95634, target/91695,
- target/94591, target/94735, target/94959, target/95169, target/95212,
- target/95220, target/95255, target/95258, target/95355, target/95420,
- target/95525, target/95528, testsuite/95361, testsuite/95575,
- web/95380
-- correct instructions for creation of newlib tarball, filter out sun-rpc
- licensed code that is never used during the package build
-
-* Mon May 11 2020 Tom Stellard
-- add symlink to liblto_plugin.so in /usr/lib/bfd-plugins
-
-* Thu May 7 2020 Jakub Jelinek 10.1.1-1
-- update from releases/gcc-10 branch
- - GCC 10.1.0 release
- - PRs bootstrap/94918, c++/94907, c++/94938, c++/94946, c++/94951, c/94842,
- c/94968, libstdc++/94901, middle-end/94941, rtl-optimization/94873,
- target/94942, target/94950
-
-* Sat May 2 2020 Jakub Jelinek 10.0.1-0.14
-- use libgcc_s.so linker script also on aarch64 and riscv64 (#1830472)
-
-* Fri May 1 2020 Jakub Jelinek 10.0.1-0.13
-- update from trunk and releases/gcc-10 branch
- - GCC 10.1-rc1
- - PRs analyzer/94447, analyzer/94639, analyzer/94732, analyzer/94754,
- analyzer/94816, bootstrap/94739, c++/79585, c++/90320, c++/90448,
- c++/90750, c++/93807, c++/94288, c++/94383, c++/94505, c++/94510,
- c++/94546, c++/94549, c++/94583, c++/94592, c++/94597, c++/94628,
- c++/94645, c++/94661, c++/94682, c++/94701, c++/94719, c++/94733,
- c++/94742, c++/94752, c++/94759, c++/94760, c++/94772, c++/94775,
- c++/94808, c++/94819, c++/94827, c++/94830, c++/94879, c++/94883,
- c++/94886, c/94641, c/94686, c/94705, c/94755, d/89418, d/94777,
- d/94825, demangler/94797, driver/90983, fortran/90350, fortran/93956,
- fortran/94578, fortran/94709, fortran/94737, fortran/94769,
- fortran/94788, ipa/94856, libfortran/25830, libfortran/94586,
- libfortran/94694, libstdc++/89510, libstdc++/90415, libstdc++/91480,
- libstdc++/92156, libstdc++/94831, libstdc++/94854, lto/94659,
- lto/94822, middle-end/92830, middle-end/93488, middle-end/94647,
- middle-end/94724, rtl-optimization/94708, rtl-optimization/94740,
- target/57002, target/91518, target/92713, target/93654, target/94248,
- target/94279, target/94282, target/94383, target/94514, target/94515,
- target/94577, target/94613, target/94622, target/94668, target/94678,
- target/94697, target/94704, target/94706, target/94707, target/94710,
- target/94711, target/94748, target/94780, target/94812, target/94820,
- target/94826, target/94832, testsuite/94712, translation/94698,
- tree-optimization/89430, tree-optimization/94683,
- tree-optimization/94700, tree-optimization/94717,
- tree-optimization/94727, tree-optimization/94734,
- tree-optimization/94774, tree-optimization/94784,
- tree-optimization/94809
-
-* Mon Apr 20 2020 Jakub Jelinek 10.0.1-0.12
+* Thu Oct 29 2020 Jakub Jelinek 11.0.0-0.3
- update from trunk
- - PRs analyzer/94378, bootstrap/89494, bootstrap/92008, c++/67825,
- c++/79937, c++/85278, c++/86327, c++/88754, c++/90711, c++/90996,
- c++/91377, c++/91966, c++/92010, c++/92187, c++/92878, c++/93207,
- c++/93211, c++/93790, c++/94034, c++/94149, c++/94155, c++/94205,
- c++/94219, c++/94252, c++/94306, c++/94314, c++/94325, c++/94359,
- c++/94385, c++/94426, c++/94453, c++/94454, c++/94462, c++/94470,
- c++/94475, c++/94477, c++/94478, c++/94480, c++/94481, c++/94483,
- c++/94507, c++/94512, c++/94521, c++/94523, c++/94528, c++/94571,
- c++/94588, c++/94608, c++/94632, c/92326, c/94392, c/94593, d/90136,
- d/94304, d/94305, d/94315, d/94321, d/94424, d/94425, d/94609,
- debug/94439, debug/94441, debug/94450, debug/94459, debug/94495,
- driver/94381, fortran/57129, fortran/85982, fortran/87644,
- fortran/87923, fortran/91800, fortran/93364, fortran/93498,
- fortran/93500, fortran/93522, fortran/93686, fortran/93871,
- fortran/94030, fortran/94090, fortran/94091, fortran/94192,
- fortran/94246, fortran/94347, fortran/94348, fortran/94386,
- gcov-profile/93401, gcov-profile/94570, go/94607, ipa/92676,
- ipa/93621, ipa/93940, ipa/94363, ipa/94434, ipa/94445, ipa/94582,
- libgcc/94513, libgomp/92843, libstdc++/93960, libstdc++/94498,
- libstdc++/94520, libstdc++/94562, libstdc++/94565, lto/94612,
- middle-end/89433, middle-end/93465, middle-end/94412,
- middle-end/94423, middle-end/94436, middle-end/94465,
- middle-end/94479, middle-end/94526, middle-end/94539,
- middle-end/94614, middle-end/94635, objc/94637, other/94629,
- rtl-optimization/84169, rtl-optimization/87716,
- rtl-optimization/93946, rtl-optimization/93974,
- rtl-optimization/94123, rtl-optimization/94291,
- rtl-optimization/94344, rtl-optimization/94468,
- rtl-optimization/94516, rtl-optimization/94605,
- rtl-optimization/94618, target/93053, target/94317, target/94368,
- target/94396, target/94417, target/94420, target/94435, target/94438,
- target/94460, target/94467, target/94488, target/94494, target/94500,
- target/94509, target/94530, target/94542, target/94551, target/94556,
- target/94561, target/94567, target/94584, target/94603, target/94606,
- testsuite/93369, testsuite/94079, testsuite/94402, testsuite/94533,
- tree-optimization/89713, tree-optimization/91322,
- tree-optimization/93674, tree-optimization/94043,
- tree-optimization/94398, tree-optimization/94401,
- tree-optimization/94403, tree-optimization/94443,
- tree-optimization/94482, tree-optimization/94524,
- tree-optimization/94573, tree-optimization/94574,
- tree-optimization/94598, tree-optimization/94621
+ - PRs ada/97504, analyzer/96608, analyzer/97489, analyzer/97514,
+ analyzer/97568, analyzer/97608, bootstrap/97451, c++/82239, c++/86773,
+ c++/91741, c++/94799, c++/95132, c++/96241, c++/96575, c++/96675,
+ c++/96742, c++/97328, c++/97438, c++/97511, c++/97573, c/94722,
+ c/97463, fortran/45516, fortran/97454, gcov-profile/97461, ipa/97445,
+ ipa/97576, ipa/97586, libstdc++/94268, libstdc++/95592,
+ libstdc++/95609, libstdc++/95917, libstdc++/96713, libstdc++/97512,
+ libstdc++/97570, lto/96680, lto/97524, middle-end/92942,
+ middle-end/97521, middle-end/97552, rtl-optimization/97249,
+ rtl-optimization/97439, rtl-optimization/97497, sanitizer/97414,
+ target/87767, target/95151, target/95458, target/97360, target/97502,
+ target/97506, target/97535, testsuite/81690, testsuite/97590,
+ tree-optimization/66552, tree-optimization/97164,
+ tree-optimization/97360, tree-optimization/97456,
+ tree-optimization/97457, tree-optimization/97466,
+ tree-optimization/97467, tree-optimization/97486,
+ tree-optimization/97488, tree-optimization/97496,
+ tree-optimization/97500, tree-optimization/97501,
+ tree-optimization/97503, tree-optimization/97505,
+ tree-optimization/97515, tree-optimization/97520,
+ tree-optimization/97538, tree-optimization/97539,
+ tree-optimization/97546, tree-optimization/97555,
+ tree-optimization/97560, tree-optimization/97567,
+ tree-optimization/97615
+- for ELN default to -march=x86-64-v2 for x86 64-bit compilation and
+ for s390x to -march=z13 -mtune=arch13
-* Sat Mar 28 2020 Jakub Jelinek 10.0.1-0.11
-- update from trunk
- - PRs c++/81349, c++/84733, c++/93810, c++/93824, c++/94057, c++/94078,
- c++/94098, c++/94257, c++/94265, c++/94272, c++/94319, c++/94326,
- c++/94336, c++/94339, c++/94346, c/93573, debug/94273, debug/94281,
- debug/94296, debug/94323, fortran/93363, fortran/93957, ipa/94271,
- lto/94259, middle-end/94004, rtl-optimization/92264, target/94145,
- target/94220, target/94292, testsuite/94334, tree-optimization/90332,
- tree-optimization/94131, tree-optimization/94269,
- tree-optimization/94329, tree-optimization/94352
-- fix x86 vec_extract_{lo,hi}*_mask AVX512* patterns (PR target/93069)
-- fix x86 *one_cmpl*2* AVX512* patterns (PR target/94343)
-- add BuildRequires: libzstd-devel
-
-* Wed Mar 25 2020 Jakub Jelinek 10.0.1-0.10
-- update from trunk
- - PRs analyzer/94047, analyzer/94099, analyzer/94105, c++/67960, c++/69694,
- c++/90995, c++/91759, c++/91993, c++/92068, c++/92909, c++/93248,
- c++/93596, c++/93805, c++/93931, c++/94044, c++/94066, c++/94147,
- c++/94175, c++/94186, c++/94190, c++/94197, c++/94223, c/94040,
- c/94172, c/94179, c/94239, d/92216, d/92309, d/92792, d/93038,
- d/94240, debug/93751, debug/94167, debug/94277, debug/94280,
- debug/94283, debug/94285, fortran/93365, fortran/93484, fortran/93600,
- gcov-profile/94029, ipa/92372, ipa/92799, ipa/93347, ipa/94202,
- ipa/94217, ipa/94232, ipa/94245, ipa/94250, libgomp/81689,
- libgomp/94251, libstdc++/93245, libstdc++/94033, libstdc++/94199,
- libstdc++/94203, libstdc++/94242, lto/91027, lto/94157, lto/94249,
- middle-end/92071, middle-end/93566, middle-end/94072,
- middle-end/94120, middle-end/94188, middle-end/94189,
- middle-end/94206, middle-end/94216, middle-end/94233,
- middle-end/94303, rtl-optimization/90275, rtl-optimization/92303,
- rtl-optimization/94042, rtl-optimization/94052,
- rtl-optimization/94119, rtl-optimization/94148, target/92379,
- target/93694, target/94052, target/94144, target/94154, target/94176,
- target/94185, target/94201, target/94238, target/94286,
- testsuite/93935, tree-optimization/93435, tree-optimization/94103,
- tree-optimization/94125, tree-optimization/94163,
- tree-optimization/94166, tree-optimization/94187,
- tree-optimization/94211, tree-optimization/94224,
- tree-optimization/94261, tree-optimization/94266,
- tree-optimization/94300
-- fix ICE in final_scan_insn_1 on i686 with vzeroupper (#1816760,
- PR target/94308)
-- fix ppc64* hang with dfp (PR target/94254)
-
-* Wed Mar 11 2020 Jakub Jelinek 10.0.1-0.9
-- update from trunk
- - PRs ada/91100, analyzer/93032, analyzer/93388, analyzer/93692,
- analyzer/93774, analyzer/93775, analyzer/93777, analyzer/93778,
- analyzer/93779, analyzer/93899, analyzer/93947, analyzer/93950,
- analyzer/93959, analyzer/93993, analyzer/94028, bootstrap/93962,
- c++/52320, c++/66139, c++/90432, c++/90467, c++/90505, c++/90938,
- c++/91465, c++/92031, c++/92721, c++/93169, c++/93676, c++/93712,
- c++/93729, c++/93789, c++/93801, c++/93803, c++/93804, c++/93817,
- c++/93862, c++/93869, c++/93870, c++/93882, c++/93901, c++/93905,
- c++/93907, c++/93922, c++/93933, c++/93956, c++/93958, c++/93998,
- c++/94027, c++/94041, c++/94068, c++/94074, c++/94117, c++/94124,
- c/86134, c/93577, c/93812, c/93858, c/93886, c/93887, c/93949,
- debug/93888, driver/47785, driver/93796, fortran/92785, fortran/92959,
- fortran/92976, fortran/93486, fortran/93552, fortran/93580,
- fortran/93581, fortran/93599, fortran/93601, fortran/93603,
- fortran/93604, fortran/93714, fortran/93792, fortran/93825,
- fortran/93835, fortran/93889, fortran/93890, gcov-profile/93753,
- inline-asm/94095, ipa/92518, ipa/92548, ipa/92924, ipa/93583,
- ipa/93707, ipa/93760, ipa/93797, libstdc++/92546, libstdc++/93244,
- libstdc++/93818, libstdc++/93872, libstdc++/93884, libstdc++/93936,
- libstdc++/93972, libstdc++/93978, libstdc++/94013, libstdc++/94017,
- libstdc++/94051, libstdc++/94063, libstdc++/94069, lto/78353,
- middle-end/81401, middle-end/92152, middle-end/93399,
- middle-end/93829, middle-end/93843, middle-end/93874,
- middle-end/93926, middle-end/93961, middle-end/94111, other/55930,
- other/93756, other/93912, other/93965, rtl-optimization/93564,
- rtl-optimization/93996, rtl-optimization/94002,
- rtl-optimization/94045, rtl-optimization/PR92989, sanitizer/93731,
- target/26877, target/87560, target/87612, target/89229, target/89346,
- target/90311, target/90763, target/91276, target/91598, target/93047,
- target/93658, target/93709, target/93743, target/93800, target/93828,
- target/93860, target/93913, target/93932, target/93937, target/93995,
- target/93997, target/94046, target/94065, target/94088, target/94121,
- target/94134, testsuite/91797, testsuite/91799, testsuite/94019,
- testsuite/94023, translation/93755, translation/93759,
- translation/93830, translation/93831, translation/93838,
- translation/93841, translation/93864, tree-optimization/90883,
- tree-optimization/91890, tree-optimization/92128,
- tree-optimization/92982, tree-optimization/93508,
- tree-optimization/93586, tree-optimization/93667,
- tree-optimization/93767, tree-optimization/93776,
- tree-optimization/93780, tree-optimization/93820,
- tree-optimization/93845, tree-optimization/93868,
- tree-optimization/93927, tree-optimization/93945,
- tree-optimization/93946, tree-optimization/93953,
- tree-optimization/93964, tree-optimization/93986,
- tree-optimization/94001, tree-optimization/94114
- - fix ICE on rotate with -Wconversion (#1810941, PR c++/94067)
- - fix -fcf-protection -flto -g interaction (#1808484, PR lto/93966)
- - fix git miscompilation on s390x with -O2 -march=zEC12 -mtune=z13
- (#1799408, PR rtl-optimization/93908)
- - fix ICE in in propagate_vals_across_arith_jfunc (#1806466, PR ipa/93763)
- - ARM ABI alignment fix for classes derived from user aligned empty
- bases (PR c++/94050)
-- strlen pass fixes (PR tree-optimization/94015)
-- fix {memset,memcpy,memmove,strncpy} head trimming if the result is used
- (PR tree-optimization/94130)
-- drop python2-devel Requires
-
-* Sun Feb 16 2020 Jakub Jelinek 10.0.1-0.8
-- update from trunk
- - PRs analyzer/93212, analyzer/93288, analyzer/93350, analyzer/93356,
- analyzer/93373, analyzer/93374, analyzer/93379, analyzer/93405,
- analyzer/93438, analyzer/93457, analyzer/93543, analyzer/93544,
- analyzer/93546, analyzer/93547, analyzer/93647, analyzer/93649,
- analyzer/93657, analyzer/93659, analyzer/93669, c++/14179, c++/61414,
- c++/66477, c++/69448, c++/80471, c++/86216, c++/86917, c++/88256,
- c++/88819, c++/89404, c++/90691, c++/90951, c++/91953, c++/92003,
- c++/92517, c++/92556, c++/92583, c++/92593, c++/92654, c++/92717,
- c++/92947, c++/93140, c++/93458, c++/93530, c++/93549, c++/93551,
- c++/93557, c++/93559, c++/93597, c++/93618, c++/93633, c++/93643,
- c++/93650, c++/93675, c++/93684, c++/93710, c++/93713, c/87488,
- c/88660, c/93576, c/93640, fortran/83113, fortran/92305,
- fortran/93427, fortran/93462, fortran/93541, gcov-profile/91971,
- gcov-profile/93466, ipa/93203, libgcc/85334, libgomp/93481,
- libgomp/93515, libstdc++/79193, libstdc++/88999, libstdc++/92906,
- libstdc++/93562, lto/93489, middle-end/90648, middle-end/93519,
- middle-end/93555, middle-end/93646, middle-end/93663, other/93168,
- other/93641, preprocessor/92319, preprocessor/93545,
- rtl-optimization/91333, rtl-optimization/91838,
- rtl-optimization/93561, rtl-optimization/93565, target/58218,
- target/65782, target/85667, target/87763, target/91052, target/91816,
- target/91913, target/91927, target/92190, target/93122, target/93136,
- target/93300, target/93372, target/93532, target/93533, target/93548,
- target/93568, target/93569, target/93594, target/93611, target/93615,
- target/93637, target/93656, target/93670, target/93673, target/93696,
- target/93704, target/93724, testsuite/92177, testsuite/93697,
- testsuite/93717, tree-optimization/91123, tree-optimization/92819,
- tree-optimization/93516, tree-optimization/93538,
- tree-optimization/93582, tree-optimization/93661,
- tree-optimization/93662, tree-optimization/93683,
- tree-optimization/93744
-
-* Thu Jan 30 2020 Jakub Jelinek 10.0.1-0.7
-- update from trunk
- - PRs analyzer/93276, analyzer/93291, analyzer/93349, analyzer/93450,
- analyzer/93451, bootstrap/93409, c++/60503, c++/82521, c++/88092,
- c++/89357, c++/89640, c++/90333, c++/90338, c++/90546, c++/90731,
- c++/90966, c++/90992, c++/91118, c++/91754, c++/91826, c++/92440,
- c++/92601, c++/92948, c++/93442, c++/93443, c++/93477, driver/91220,
- fortran/85781, fortran/87103, fortran/92123, fortran/93025,
- fortran/93461, fortran/93463, fortran/93464, fortran/93473,
- gcov-profile/93403, libstdc++/92895, libstdc++/93325, libstdc++/93426,
- libstdc++/93470, libstdc++/93478, libstdc++/93479, middle-end/92323,
- middle-end/93437, middle-end/93505, rtl-optimization/87763,
- rtl-optimization/92989, rtl-optimization/93170,
- rtl-optimization/93272, sanitizer/93436, target/91399, target/91461,
- target/91824, target/92822, target/93221, target/93274, target/93418,
- target/93494, testsuite/71727, testsuite/91171, testsuite/93393,
- testsuite/93460, tree-optimization/89689, tree-optimization/92706,
- tree-optimization/92822, tree-optimization/93397,
- tree-optimization/93428, tree-optimization/93434,
- tree-optimization/93439, tree-optimization/93454
- - LTO fix for *.localalias aliases (#1795575, PR lto/93384)
- - __has_include{,_next} fix (#1795633, PR preprocessor/93452)
-
-* Sun Jan 26 2020 Jakub Jelinek 10.0.1-0.6
-- update from trunk
- - PRs analyzer/93367, c++/90997, c++/92852, c++/93279, c++/93299, c++/93377,
- c++/93400, c++/93414, inline-asm/93027, ipa/93166, target/13721,
- target/92269, target/93395, target/93412, target/93430,
- translation/90162, tree-optimization/92788
-- temporarily disable broken strcmp optimization (PR tree-optimization/92765)
-- riscv64 tweaks from David Abdurachmanov (#1794343)
-
-* Thu Jan 23 2020 Jakub Jelinek 10.0.1-0.5
-- update from trunk
- - PRs analyzer/93307, analyzer/93316, analyzer/93352, analyzer/93375,
- analyzer/93378, analyzer/93382, c++/40752, c++/60855, c++/90732,
- c++/91476, c++/92804, c++/92907, c++/93324, c++/93331, c++/93345,
- c/84919, c/93348, fortran/93329, ipa/93315, libstdc++/91947,
- rtl-optimization/93124, rtl-optimization/93402, target/91298,
- target/92424, target/9311, target/93119, target/93333, target/93335,
- target/93341, target/93346, target/93376, testsuite/93391,
- tree-optimization/92924, tree-optimization/93381
- - fix ICE in nothrow_spec_p (#1794094, c++/93345)
-
-* Tue Jan 21 2020 Jakub Jelinek 10.0.1-0.4
-- update from trunk
- - PRs c++/33799, c++/92536, debug/92763, fortran/44960, fortran/93309,
- lto/93318, middle-end/93194, middle-end/93242, preprocessor/80005,
- target/93073, target/93304, target/93319, testsuite/92829,
- tree-opt/93321, tree-optimization/92328, tree-optimization/93094,
- tree-optimization/93199
-- add arm_bf16.h and arm_sve.h to arm and arm/aarch64 (#1793471)
-
-* Sat Jan 18 2020 Jakub Jelinek 10.0.1-0.3
+* Mon Oct 19 2020 Jakub Jelinek 11.0.0-0.2
- new package
diff --git a/gcc10-pr96383.patch b/gcc10-pr96383.patch
deleted file mode 100644
index 950a2f4..0000000
--- a/gcc10-pr96383.patch
+++ /dev/null
@@ -1,236 +0,0 @@
-2020-07-30 Richard Biener
-
- PR debug/96383
- * langhooks-def.h (lhd_finalize_early_debug): Declare.
- (LANG_HOOKS_FINALIZE_EARLY_DEBUG): Define.
- (LANG_HOOKS_INITIALIZER): Amend.
- * langhooks.c: Include cgraph.h and debug.h.
- (lhd_finalize_early_debug): Default implementation from
- former code in finalize_compilation_unit.
- * langhooks.h (lang_hooks::finalize_early_debug): Add.
- * cgraphunit.c (symbol_table::finalize_compilation_unit):
- Call the finalize_early_debug langhook.
-
-gcc/c-family/
- * c-common.h (c_common_finalize_early_debug): Declare.
- * c-common.c: Include debug.h.
- (c_common_finalize_early_debug): finalize_early_debug langhook
- implementation generating debug for extern declarations.
-
-gcc/c/
- * c-objc-common.h (LANG_HOOKS_FINALIZE_EARLY_DEBUG):
- Define to c_common_finalize_early_debug.
-
-gcc/cp/
- * cp-objcp-common.h (LANG_HOOKS_FINALIZE_EARLY_DEBUG):
- Define to c_common_finalize_early_debug.
-
-gcc/testsuite/
- * gcc.dg/debug/dwarf2/pr96383-1.c: New testcase.
- * gcc.dg/debug/dwarf2/pr96383-2.c: Likewise.
-
-libstdc++-v3/
- * testsuite/20_util/assume_aligned/3.cc: Use -g0.
-
---- gcc/c-family/c-common.c
-+++ gcc/c-family/c-common.c
-@@ -50,6 +50,7 @@ along with GCC; see the file COPYING3. If not see
- #include "spellcheck.h"
- #include "c-spellcheck.h"
- #include "selftest.h"
-+#include "debug.h"
-
- cpp_reader *parse_in; /* Declared in c-pragma.h. */
-
-@@ -9086,4 +9087,20 @@ braced_lists_to_strings (tree type, tree ctor)
- return braced_lists_to_strings (type, ctor, false);
- }
-
-+
-+/* Emit debug for functions before finalizing early debug. */
-+
-+void
-+c_common_finalize_early_debug (void)
-+{
-+ /* Emit early debug for reachable functions, and by consequence,
-+ locally scoped symbols. Also emit debug for extern declared
-+ functions that are still reachable at this point. */
-+ struct cgraph_node *cnode;
-+ FOR_EACH_FUNCTION (cnode)
-+ if (!cnode->alias && !cnode->thunk.thunk_p
-+ && (cnode->has_gimple_body_p () || !DECL_IS_BUILTIN (cnode->decl)))
-+ (*debug_hooks->early_global_decl) (cnode->decl);
-+}
-+
- #include "gt-c-family-c-common.h"
---- gcc/c-family/c-common.h
-+++ gcc/c-family/c-common.h
-@@ -885,6 +885,8 @@ extern bool bool_promoted_to_int_p (tree);
- extern tree fold_for_warn (tree);
- extern tree c_common_get_narrower (tree, int *);
- extern bool get_attribute_operand (tree, unsigned HOST_WIDE_INT *);
-+extern void c_common_finalize_early_debug (void);
-+
-
- #define c_sizeof(LOC, T) c_sizeof_or_alignof_type (LOC, T, true, false, 1)
- #define c_alignof(LOC, T) c_sizeof_or_alignof_type (LOC, T, false, false, 1)
---- gcc/c/c-objc-common.h
-+++ gcc/c/c-objc-common.h
-@@ -65,6 +65,8 @@ along with GCC; see the file COPYING3. If not see
- c_simulate_builtin_function_decl
- #undef LANG_HOOKS_EMITS_BEGIN_STMT
- #define LANG_HOOKS_EMITS_BEGIN_STMT true
-+#undef LANG_HOOKS_FINALIZE_EARLY_DEBUG
-+#define LANG_HOOKS_FINALIZE_EARLY_DEBUG c_common_finalize_early_debug
-
- /* Attribute hooks. */
- #undef LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
---- gcc/cgraphunit.c
-+++ gcc/cgraphunit.c
-@@ -2998,11 +2998,9 @@ symbol_table::finalize_compilation_unit (void)
-
- if (!seen_error ())
- {
-- /* Emit early debug for reachable functions, and by consequence,
-- locally scoped symbols. */
-- struct cgraph_node *cnode;
-- FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (cnode)
-- (*debug_hooks->early_global_decl) (cnode->decl);
-+ /* Give the frontends the chance to emit early debug based on
-+ what is still reachable in the TU. */
-+ (*lang_hooks.finalize_early_debug) ();
-
- /* Clean up anything that needs cleaning up after initial debug
- generation. */
---- gcc/cp/cp-objcp-common.h
-+++ gcc/cp/cp-objcp-common.h
-@@ -115,6 +115,8 @@ extern tree cxx_simulate_enum_decl (location_t, const char *,
- #define LANG_HOOKS_BLOCK_MAY_FALLTHRU cxx_block_may_fallthru
- #undef LANG_HOOKS_EMITS_BEGIN_STMT
- #define LANG_HOOKS_EMITS_BEGIN_STMT true
-+#undef LANG_HOOKS_FINALIZE_EARLY_DEBUG
-+#define LANG_HOOKS_FINALIZE_EARLY_DEBUG c_common_finalize_early_debug
-
- /* Attribute hooks. */
- #undef LANG_HOOKS_COMMON_ATTRIBUTE_TABLE
---- gcc/langhooks-def.h
-+++ gcc/langhooks-def.h
-@@ -92,6 +92,7 @@ extern const char *lhd_get_substring_location (const substring_loc &,
- location_t *out_loc);
- extern int lhd_decl_dwarf_attribute (const_tree, int);
- extern int lhd_type_dwarf_attribute (const_tree, int);
-+extern void lhd_finalize_early_debug (void);
-
- #define LANG_HOOKS_NAME "GNU unknown"
- #define LANG_HOOKS_IDENTIFIER_SIZE sizeof (struct lang_identifier)
-@@ -139,6 +140,7 @@ extern int lhd_type_dwarf_attribute (const_tree, int);
- #define LANG_HOOKS_EMITS_BEGIN_STMT false
- #define LANG_HOOKS_RUN_LANG_SELFTESTS lhd_do_nothing
- #define LANG_HOOKS_GET_SUBSTRING_LOCATION lhd_get_substring_location
-+#define LANG_HOOKS_FINALIZE_EARLY_DEBUG lhd_finalize_early_debug
-
- /* Attribute hooks. */
- #define LANG_HOOKS_ATTRIBUTE_TABLE NULL
-@@ -364,7 +366,8 @@ extern void lhd_end_section (void);
- LANG_HOOKS_CUSTOM_FUNCTION_DESCRIPTORS, \
- LANG_HOOKS_EMITS_BEGIN_STMT, \
- LANG_HOOKS_RUN_LANG_SELFTESTS, \
-- LANG_HOOKS_GET_SUBSTRING_LOCATION \
-+ LANG_HOOKS_GET_SUBSTRING_LOCATION, \
-+ LANG_HOOKS_FINALIZE_EARLY_DEBUG \
- }
-
- #endif /* GCC_LANG_HOOKS_DEF_H */
---- gcc/langhooks.c
-+++ gcc/langhooks.c
-@@ -36,6 +36,8 @@ along with GCC; see the file COPYING3. If not see
- #include "output.h"
- #include "timevar.h"
- #include "stor-layout.h"
-+#include "cgraph.h"
-+#include "debug.h"
-
- /* Do nothing; in many cases the default hook. */
-
-@@ -866,6 +868,18 @@ lhd_unit_size_without_reusable_padding (tree t)
- return TYPE_SIZE_UNIT (t);
- }
-
-+/* Default implementation for the finalize_early_debug hook. */
-+
-+void
-+lhd_finalize_early_debug (void)
-+{
-+ /* Emit early debug for reachable functions, and by consequence,
-+ locally scoped symbols. */
-+ struct cgraph_node *cnode;
-+ FOR_EACH_FUNCTION_WITH_GIMPLE_BODY (cnode)
-+ (*debug_hooks->early_global_decl) (cnode->decl);
-+}
-+
- /* Returns true if the current lang_hooks represents the GNU C frontend. */
-
- bool
---- gcc/langhooks.h
-+++ gcc/langhooks.h
-@@ -580,6 +580,9 @@ struct lang_hooks
- const char *(*get_substring_location) (const substring_loc &,
- location_t *out_loc);
-
-+ /* Invoked before the early_finish debug hook is invoked. */
-+ void (*finalize_early_debug) (void);
-+
- /* Whenever you add entries here, make sure you adjust langhooks-def.h
- and langhooks.c accordingly. */
- };
---- gcc/testsuite/gcc.dg/debug/dwarf2/pr96383-1.c
-+++ gcc/testsuite/gcc.dg/debug/dwarf2/pr96383-1.c
-@@ -0,0 +1,17 @@
-+/* { dg-do compile } */
-+/* { dg-options "-g -gdwarf -dA" } */
-+
-+extern void foo (int);
-+extern void unusedbar (int);
-+
-+int main()
-+{
-+ foo (1);
-+}
-+
-+/* We want subprogram DIEs for both foo and main and a DIE for
-+ the formal parameter of foo. We do not want a DIE for
-+ unusedbar. */
-+/* { dg-final { scan-assembler-times "DW_TAG_subprogram" 4 } } */
-+/* { dg-final { scan-assembler-times "DW_TAG_formal_parameter" 2 } } */
-+/* { dg-final { scan-assembler-not "unusedbar" } } */
---- gcc/testsuite/gcc.dg/debug/dwarf2/pr96383-2.c
-+++ gcc/testsuite/gcc.dg/debug/dwarf2/pr96383-2.c
-@@ -0,0 +1,17 @@
-+/* { dg-do compile } */
-+/* { dg-options "-g -O2 -gdwarf -dA" } */
-+
-+extern void foo (int);
-+extern void unusedbar (int);
-+
-+int main()
-+{
-+ foo (1);
-+}
-+
-+/* We want subprogram DIEs for both foo and main and a DIE for
-+ the formal parameter of foo. We do not want a DIE for
-+ unusedbar. */
-+/* { dg-final { scan-assembler-times "DW_TAG_subprogram" 4 } } */
-+/* { dg-final { scan-assembler-times "DW_TAG_formal_parameter" 2 } } */
-+/* { dg-final { scan-assembler-not "unusedbar" } } */
---- libstdc++-v3/testsuite/20_util/assume_aligned/3.cc
-+++ libstdc++-v3/testsuite/20_util/assume_aligned/3.cc
-@@ -15,7 +15,7 @@
- // with this library; see the file COPYING3. If not see
- // .
-
--// { dg-options "-std=gnu++2a -O2" }
-+// { dg-options "-std=gnu++2a -O2 -g0" }
- // { dg-do compile { target c++2a } }
- // { dg-final { scan-assembler-not "undefined" } }
-
diff --git a/gcc10-pr96939-2.patch b/gcc10-pr96939-2.patch
deleted file mode 100644
index e9e406f..0000000
--- a/gcc10-pr96939-2.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-2020-09-09 Jakub Jelinek
-
- * config/arm/arm.c (arm_override_options_after_change_1): Add opts_set
- argument, test opts_set->x_str_align_functions rather than
- opts->x_str_align_functions.
- (arm_override_options_after_change, arm_option_override_internal,
- arm_set_current_function): Adjust callers.
-
---- gcc/config/arm/arm.c.jj 2020-09-09 09:19:42.911419411 +0200
-+++ gcc/config/arm/arm.c 2020-09-09 09:28:02.392897384 +0200
-@@ -3024,10 +3024,11 @@ static GTY(()) bool thumb_flipper;
- static GTY(()) tree init_optimize;
-
- static void
--arm_override_options_after_change_1 (struct gcc_options *opts)
-+arm_override_options_after_change_1 (struct gcc_options *opts,
-+ struct gcc_options *opts_set)
- {
- /* -falign-functions without argument: supply one. */
-- if (opts->x_flag_align_functions && !opts->x_str_align_functions)
-+ if (opts->x_flag_align_functions && !opts_set->x_str_align_functions)
- opts->x_str_align_functions = TARGET_THUMB_P (opts->x_target_flags)
- && opts->x_optimize_size ? "2" : "4";
- }
-@@ -3037,7 +3038,7 @@ arm_override_options_after_change_1 (str
- static void
- arm_override_options_after_change (void)
- {
-- arm_override_options_after_change_1 (&global_options);
-+ arm_override_options_after_change_1 (&global_options, &global_options_set);
- }
-
- /* Implement TARGET_OPTION_SAVE. */
-@@ -3065,7 +3066,7 @@ static void
- arm_option_override_internal (struct gcc_options *opts,
- struct gcc_options *opts_set)
- {
-- arm_override_options_after_change_1 (opts);
-+ arm_override_options_after_change_1 (opts, opts_set);
-
- if (TARGET_INTERWORK && !bitmap_bit_p (arm_active_target.isa, isa_bit_thumb))
- {
-@@ -32335,7 +32336,7 @@ arm_set_current_function (tree fndecl)
-
- save_restore_target_globals (new_tree);
-
-- arm_override_options_after_change_1 (&global_options);
-+ arm_override_options_after_change_1 (&global_options, &global_options_set);
- }
-
- /* Implement TARGET_OPTION_PRINT. */
diff --git a/gcc10-pr96939-3.patch b/gcc10-pr96939-3.patch
deleted file mode 100644
index f133f8d..0000000
--- a/gcc10-pr96939-3.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-2020-09-13 Jakub Jelinek
-
- * config/arm/arm.opt (arm_arch_specified, arm_cpu_specified,
- arm_tune_specified): New TargetVariables.
- * config/arm/arm.c (arm_configure_build_target): Comment out
- opts_set argument name. Use opts->x_arm_*_specified instead
- of opts_set->x_arm_*_string.
- * common/config/arm/arm-common.c (arm_handle_option): New function.
- (TARGET_HANDLE_OPTION): Redefine.
-
---- gcc/config/arm/arm.opt.jj 2020-09-12 13:36:27.619716335 +0200
-+++ gcc/config/arm/arm.opt 2020-09-12 13:38:48.547661292 +0200
-@@ -30,6 +30,15 @@ const char *x_arm_cpu_string
- TargetSave
- const char *x_arm_tune_string
-
-+TargetVariable
-+unsigned char arm_arch_specified = 0
-+
-+TargetVariable
-+unsigned char arm_cpu_specified = 0
-+
-+TargetVariable
-+unsigned char arm_tune_specified = 0
-+
- Enum
- Name(tls_type) Type(enum arm_tls_type)
- TLS dialect to use:
---- gcc/config/arm/arm.c.jj 2020-09-12 13:36:27.619716335 +0200
-+++ gcc/config/arm/arm.c 2020-09-12 13:49:26.166363387 +0200
-@@ -3181,7 +3181,7 @@ static sbitmap isa_quirkbits;
- void
- arm_configure_build_target (struct arm_build_target *target,
- struct cl_target_option *opts,
-- struct gcc_options *opts_set,
-+ struct gcc_options */* opts_set */,
- bool warn_compatible)
- {
- const cpu_option *arm_selected_tune = NULL;
-@@ -3196,7 +3196,7 @@ arm_configure_build_target (struct arm_b
- target->core_name = NULL;
- target->arch_name = NULL;
-
-- if (opts_set->x_arm_arch_string)
-+ if (opts->x_arm_arch_specified)
- {
- arm_selected_arch = arm_parse_arch_option_name (all_architectures,
- "-march",
-@@ -3204,7 +3204,7 @@ arm_configure_build_target (struct arm_b
- arch_opts = strchr (opts->x_arm_arch_string, '+');
- }
-
-- if (opts_set->x_arm_cpu_string)
-+ if (opts->x_arm_cpu_specified)
- {
- arm_selected_cpu = arm_parse_cpu_option_name (all_cores, "-mcpu",
- opts->x_arm_cpu_string);
-@@ -3214,7 +3214,7 @@ arm_configure_build_target (struct arm_b
- options for tuning. */
- }
-
-- if (opts_set->x_arm_tune_string)
-+ if (opts->x_arm_tune_specified)
- {
- arm_selected_tune = arm_parse_cpu_option_name (all_cores, "-mtune",
- opts->x_arm_tune_string);
---- gcc/common/config/arm/arm-common.c.jj 2020-07-28 15:39:09.705760394 +0200
-+++ gcc/common/config/arm/arm-common.c 2020-09-12 13:50:09.021738456 +0200
-@@ -1021,6 +1021,34 @@ arm_asm_auto_mfpu (int argc, const char
-
- #undef ARM_CPU_NAME_LENGTH
-
-+bool
-+arm_handle_option (struct gcc_options *opts,
-+ struct gcc_options *opts_set ATTRIBUTE_UNUSED,
-+ const struct cl_decoded_option *decoded,
-+ location_t loc ATTRIBUTE_UNUSED)
-+{
-+ size_t code = decoded->opt_index;
-+ const char *arg = decoded->arg;
-+ int val = decoded->value;
-+
-+ switch (code)
-+ {
-+ case OPT_march_:
-+ opts->x_arm_arch_specified = true;
-+ return true;
-+
-+ case OPT_mcpu_:
-+ opts->x_arm_cpu_specified = true;
-+ return true;
-+
-+ case OPT_mtune_:
-+ opts->x_arm_tune_specified = true;
-+ return true;
-+
-+ default:
-+ return true;
-+ }
-+}
-
- #undef TARGET_DEFAULT_TARGET_FLAGS
- #define TARGET_DEFAULT_TARGET_FLAGS (TARGET_DEFAULT | MASK_SCHED_PROLOG)
-@@ -1031,4 +1059,7 @@ arm_asm_auto_mfpu (int argc, const char
- #undef TARGET_EXCEPT_UNWIND_INFO
- #define TARGET_EXCEPT_UNWIND_INFO arm_except_unwind_info
-
-+#undef TARGET_HANDLE_OPTION
-+#define TARGET_HANDLE_OPTION arm_handle_option
-+
- struct gcc_targetm_common targetm_common = TARGETM_COMMON_INITIALIZER;
diff --git a/gcc10-pr96939.patch b/gcc10-pr96939.patch
deleted file mode 100644
index 4659c3f..0000000
--- a/gcc10-pr96939.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-2020-09-07 Jakub Jelinek
-
- PR target/96939
- * config/arm/arm.c (arm_override_options_after_change): Don't call
- arm_configure_build_target here.
- (arm_set_current_function): Call arm_override_options_after_change_1
- at the end.
-
- * gcc.target/arm/lto/pr96939_0.c: New test.
- * gcc.target/arm/lto/pr96939_1.c: New file.
-
---- gcc/config/arm/arm.c.jj 2020-07-30 15:04:38.136293101 +0200
-+++ gcc/config/arm/arm.c 2020-09-07 10:43:54.809561852 +0200
-@@ -3037,10 +3037,6 @@ arm_override_options_after_change_1 (str
- static void
- arm_override_options_after_change (void)
- {
-- arm_configure_build_target (&arm_active_target,
-- TREE_TARGET_OPTION (target_option_default_node),
-- &global_options_set, false);
--
- arm_override_options_after_change_1 (&global_options);
- }
-
-@@ -32338,6 +32334,8 @@ arm_set_current_function (tree fndecl)
- cl_target_option_restore (&global_options, TREE_TARGET_OPTION (new_tree));
-
- save_restore_target_globals (new_tree);
-+
-+ arm_override_options_after_change_1 (&global_options);
- }
-
- /* Implement TARGET_OPTION_PRINT. */
---- gcc/testsuite/gcc.target/arm/lto/pr96939_0.c.jj 2020-09-07 11:26:45.909937609 +0200
-+++ gcc/testsuite/gcc.target/arm/lto/pr96939_0.c 2020-09-07 11:29:18.722706535 +0200
-@@ -0,0 +1,15 @@
-+/* PR target/96939 */
-+/* { dg-lto-do link } */
-+/* { dg-require-effective-target arm_arch_v8a_ok } */
-+/* { dg-lto-options { { -flto -O2 } } } */
-+
-+extern unsigned crc (unsigned, const void *);
-+typedef unsigned (*fnptr) (unsigned, const void *);
-+volatile fnptr fn;
-+
-+int
-+main ()
-+{
-+ fn = crc;
-+ return 0;
-+}
---- gcc/testsuite/gcc.target/arm/lto/pr96939_1.c.jj 2020-09-07 11:26:49.365887153 +0200
-+++ gcc/testsuite/gcc.target/arm/lto/pr96939_1.c 2020-09-07 11:25:13.885281180 +0200
-@@ -0,0 +1,10 @@
-+/* PR target/96939 */
-+/* { dg-options "-march=armv8-a+crc" } */
-+
-+#include
-+
-+unsigned
-+crc (unsigned x, const void *y)
-+{
-+ return __crc32cw (x, *(unsigned *) y);
-+}
diff --git a/gcc10-pr97060.patch b/gcc10-pr97060.patch
deleted file mode 100644
index bd0d7be..0000000
--- a/gcc10-pr97060.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-2020-11-11 Jason Merrill
-
- PR debug/97060
- * dwarf2out.c (gen_subprogram_die): It's a declaration
- if DECL_INITIAL isn't set.
-
- * gcc.dg/debug/dwarf2/pr97060.c: New test.
-
---- gcc/dwarf2out.c
-+++ gcc/dwarf2out.c
-@@ -22859,6 +22859,7 @@ gen_subprogram_die (tree decl, dw_die_ref context_die)
- available.
- */
- int declaration = (current_function_decl != decl
-+ || (!DECL_INITIAL (decl) && !origin)
- || class_or_namespace_scope_p (context_die));
-
- /* A declaration that has been previously dumped needs no
---- gcc/testsuite/gcc.dg/debug/dwarf2/pr97060.c
-+++ gcc/testsuite/gcc.dg/debug/dwarf2/pr97060.c
-@@ -0,0 +1,13 @@
-+/* PR debug/97060 */
-+/* { dg-do compile } */
-+/* { dg-options "-g -dA" } */
-+/* { dg-final { scan-assembler-times "DW_AT_declaration" 2 } } */
-+
-+extern int foo (unsigned int, unsigned int);
-+
-+int
-+bar (void)
-+{
-+ foo (1, 2);
-+ return 0;
-+}
diff --git a/gcc10-Wno-format-security.patch b/gcc11-Wno-format-security.patch
similarity index 100%
rename from gcc10-Wno-format-security.patch
rename to gcc11-Wno-format-security.patch
diff --git a/gcc10-d-shared-libphobos.patch b/gcc11-d-shared-libphobos.patch
similarity index 100%
rename from gcc10-d-shared-libphobos.patch
rename to gcc11-d-shared-libphobos.patch
diff --git a/gcc10-foffload-default.patch b/gcc11-foffload-default.patch
similarity index 82%
rename from gcc10-foffload-default.patch
rename to gcc11-foffload-default.patch
index 4a87e9f..3329d2a 100644
--- a/gcc10-foffload-default.patch
+++ b/gcc11-foffload-default.patch
@@ -44,7 +44,7 @@ libgomp/
strlen (offload_targets) + 1);
xputenv (XOBFINISH (&collect_obstack, char *));
+ if (offload_targets_default)
-+ xputenv ("OFFLOAD_TARGET_DEFAULT=1");
++ xputenv ("OFFLOAD_TARGET_DEFAULT=1");
}
free (offload_targets);
@@ -56,9 +56,9 @@ libgomp/
#define OFFLOAD_TARGET_NAMES_ENV "OFFLOAD_TARGET_NAMES"
+#define OFFLOAD_TARGET_DEFAULT_ENV "OFFLOAD_TARGET_DEFAULT"
- enum lto_mode_d {
- LTO_MODE_NONE, /* Not doing LTO. */
-@@ -822,6 +823,12 @@ compile_offload_image (const char *targe
+ /* By default there is no special suffix for target executables. */
+ #ifdef TARGET_EXECUTABLE_SUFFIX
+@@ -906,6 +907,12 @@ compile_offload_image (const char *targe
break;
}
@@ -71,44 +71,38 @@ libgomp/
if (!compiler)
fatal_error (input_location,
"could not find %s in %s (consider using %<-B%>)",
-@@ -885,6 +892,7 @@ compile_images_for_offload_targets (unsi
+@@ -975,6 +982,7 @@ compile_images_for_offload_targets (unsi
+ if (!target_names)
+ return;
unsigned num_targets = parse_env_var (target_names, &names, NULL);
++ int next_name_entry = 0;
- int next_name_entry = 0;
-+ bool hsa_seen = false;
const char *compiler_path = getenv ("COMPILER_PATH");
if (!compiler_path)
- goto out;
-@@ -897,18 +905,26 @@ compile_images_for_offload_targets (unsi
- /* HSA does not use LTO-like streaming and a different compiler, skip
- it. */
- if (strcmp (names[i], "hsa") == 0)
-- continue;
-+ {
-+ hsa_seen = true;
-+ continue;
-+ }
-
- offload_names[next_name_entry]
+@@ -985,13 +993,19 @@ compile_images_for_offload_targets (unsi
+ offload_names = XCNEWVEC (char *, num_targets + 1);
+ for (unsigned i = 0; i < num_targets; i++)
+ {
+- offload_names[i]
++ offload_names[next_name_entry]
= compile_offload_image (names[i], compiler_path, in_argc, in_argv,
compiler_opts, compiler_opt_count,
linker_opts, linker_opt_count);
- if (!offload_names[next_name_entry])
+- if (!offload_names[i])
- fatal_error (input_location,
- "problem with building target image for %s", names[i]);
++ if (!offload_names[next_name_entry])
+ continue;
- next_name_entry++;
- }
-
-+ if (next_name_entry == 0 && !hsa_seen)
++ next_name_entry++;
++ }
++
++ if (next_name_entry == 0)
+ {
+ free (offload_names);
+ offload_names = NULL;
-+ }
-+
+ }
+
out:
- free_array_of_ptrs ((void **) names, num_targets);
- }
--- libgomp/target.c.jj 2017-01-01 12:45:52.000000000 +0100
+++ libgomp/target.c 2017-01-20 20:12:13.756710875 +0100
@@ -2356,7 +2356,7 @@ gomp_load_plugin_for_device (struct gomp
diff --git a/gcc10-hack.patch b/gcc11-hack.patch
similarity index 100%
rename from gcc10-hack.patch
rename to gcc11-hack.patch
diff --git a/gcc10-i386-libgomp.patch b/gcc11-i386-libgomp.patch
similarity index 100%
rename from gcc10-i386-libgomp.patch
rename to gcc11-i386-libgomp.patch
diff --git a/gcc10-isl-dl.patch b/gcc11-isl-dl.patch
similarity index 99%
rename from gcc10-isl-dl.patch
rename to gcc11-isl-dl.patch
index c681895..b3982f9 100644
--- a/gcc10-isl-dl.patch
+++ b/gcc11-isl-dl.patch
@@ -27,10 +27,10 @@
# and compile them.
--- gcc/graphite.h.jj 2016-01-27 12:44:06.000000000 +0100
+++ gcc/graphite.h 2016-01-27 13:26:38.309876856 +0100
-@@ -39,6 +39,590 @@ along with GCC; see the file COPYING3.
- #include
- #include
- #include
+@@ -24,6 +24,591 @@ along with GCC; see the file COPYING3.
+
+ #include "sese.h"
+
+#include
+#include
+
@@ -615,10 +615,11 @@
+#define isl_version (*isl_pointers__.p_isl_version)
+#define isl_options_get_on_error (*isl_pointers__.p_isl_options_get_on_error)
+#define isl_ctx_reset_error (*isl_pointers__.p_isl_ctx_reset_error)
-
++
typedef struct poly_dr *poly_dr_p;
-@@ -461,5 +1045,6 @@ extern void build_scops (vec *);
+ typedef struct poly_bb *poly_bb_p;
+@@ -448,5 +1033,6 @@ extern tree cached_scalar_evolution_in_r
extern void dot_all_sese (FILE *, vec &);
extern void dot_sese (sese_l &);
extern void dot_cfg ();
diff --git a/gcc10-libgomp-omp_h-multilib.patch b/gcc11-libgomp-omp_h-multilib.patch
similarity index 100%
rename from gcc10-libgomp-omp_h-multilib.patch
rename to gcc11-libgomp-omp_h-multilib.patch
diff --git a/gcc10-libstdc++-docs.patch b/gcc11-libstdc++-docs.patch
similarity index 96%
rename from gcc10-libstdc++-docs.patch
rename to gcc11-libstdc++-docs.patch
index d51b6d3..9ea9f88 100644
--- a/gcc10-libstdc++-docs.patch
+++ b/gcc11-libstdc++-docs.patch
@@ -4,7 +4,7 @@
FSF
-+ Release 10.2.1
++ Release 11.0.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 10.2.1 release,
++ for the 11.0.0 release,
+ online
for each GCC release
and
diff --git a/gcc10-libtool-no-rpath.patch b/gcc11-libtool-no-rpath.patch
similarity index 100%
rename from gcc10-libtool-no-rpath.patch
rename to gcc11-libtool-no-rpath.patch
diff --git a/gcc10-no-add-needed.patch b/gcc11-no-add-needed.patch
similarity index 100%
rename from gcc10-no-add-needed.patch
rename to gcc11-no-add-needed.patch
diff --git a/gcc10-rh1574936.patch b/gcc11-rh1574936.patch
similarity index 100%
rename from gcc10-rh1574936.patch
rename to gcc11-rh1574936.patch
diff --git a/gcc10-sparc-config-detection.patch b/gcc11-sparc-config-detection.patch
similarity index 100%
rename from gcc10-sparc-config-detection.patch
rename to gcc11-sparc-config-detection.patch
diff --git a/sources b/sources
index fb0364f..d4715ed 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (gcc-10.2.1-20201125.tar.xz) = 4a1d389032f699f47004a146d0cf96aad4febc46d0bc4750a6a435134822743f68739fcc1b9dcc4ae26d26a5d82ad71c83ecc67d2307d722157d1a7bee4a42c5
+SHA512 (gcc-11.0.0-20201204.tar.xz) = 809ca1644f7471187dec0f080d70fcf3a778be88d550d3088988331165fa3ebaafb011f07973523d0b5b83e3cd0f7fd5bc10bc80944f035803f1b21e79af7a31
SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c
SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7
diff --git a/update-gcc.sh b/update-gcc.sh
index c04b746..dc695f2 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-10.2.1-$d/ $1 | xz -9e > gcc-10.2.1-$d.tar.xz
+git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-11.0.0-$d/ $1 | xz -9e > gcc-11.0.0-$d.tar.xz
rm -rf gcc-dir.tmp