diff --git a/.gitignore b/.gitignore index db65664..6f12cd3 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /gcc-10.2.1-20201125.tar.xz /gcc-11.0.0-20201204.tar.xz /gcc-11.0.0-20201216.tar.xz +/gcc-11.0.0-20201217.tar.xz diff --git a/gcc.spec b/gcc.spec index 42df717..93d9f94 100644 --- a/gcc.spec +++ b/gcc.spec @@ -1,5 +1,5 @@ -%global DATE 20201216 -%global gitrev ada196afb999077a634220ace175f349418e3078 +%global DATE 20201217 +%global gitrev cefb7ee9ef972ce42e8e54a65ef972386b8897d9 %global gcc_version 11.0.0 %global gcc_major 11 # Note, gcc_release must be integer, if you want to add suffixes to @@ -119,7 +119,7 @@ Summary: Various compilers (C, C++, Objective-C, ...) Name: gcc Version: %{gcc_version} -Release: %{gcc_release}.8%{?dist} +Release: %{gcc_release}.9%{?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 @@ -273,6 +273,7 @@ Patch9: gcc11-Wno-format-security.patch Patch10: gcc11-rh1574936.patch Patch11: gcc11-d-shared-libphobos.patch Patch12: gcc11-pr98282.patch +Patch13: gcc11-pr98338-workaround.patch # On ARM EABI systems, we do want -gnueabi to be part of the # target triple. @@ -785,6 +786,7 @@ to NVidia PTX capable devices if available. %endif %patch11 -p0 -b .d-shared-libphobos~ %patch12 -p0 -b .pr98282~ +%patch13 -p0 -b .pr98338-workaround~ echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE @@ -3069,6 +3071,14 @@ end %endif %changelog +* Thu Dec 17 2020 Jakub Jelinek 11.0.0-0.9 +- update from trunk + - PRs c/98047, c/98260, fortran/98284, libstdc++/46447, libstdc++/93151, + libstdc++/96083, libstdc++/98319, rtl-optimization/98271, + rtl-optimization/98276, sanitizer/97868, target/98146, target/98280, + tree-optimization/96239, tree-optimization/98272, + tree-optimization/98279 + * Wed Dec 16 2020 Jakub Jelinek 11.0.0-0.8 - update from trunk - PRs ada/98230, bootstrap/98188, c++/57111, c++/59238, c++/68451, diff --git a/gcc11-pr98338-workaround.patch b/gcc11-pr98338-workaround.patch new file mode 100644 index 0000000..0c8e248 --- /dev/null +++ b/gcc11-pr98338-workaround.patch @@ -0,0 +1,17 @@ +2020-12-17 Jakub Jelinek + + PR bootstrap/98338 + * range-op.cc (operator_plus::op2_range): Tail-call op1_range + to work-around ICF profile merging ICE during profiledbootstrap. + +--- gcc/range-op.cc.jj 2020-12-17 16:06:39.789526868 +0100 ++++ gcc/range-op.cc 2020-12-17 16:19:18.127240700 +0100 +@@ -950,7 +950,7 @@ operator_plus::op2_range (irange &r, tre + const irange &lhs, + const irange &op1) const + { +- return range_op_handler (MINUS_EXPR, type)->fold_range (r, type, lhs, op1); ++ return op1_range (r, type, lhs, op1); + } + + diff --git a/sources b/sources index 4697e55..12b6183 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (gcc-11.0.0-20201216.tar.xz) = 5624f905eafa693434ca16df9df9b3d7dff6d01d335fb690bee124d5f62cec6f2273a4b13cbe85eac33b00d2e556bfeb246444558c4a33747629529a2bd560ad +SHA512 (gcc-11.0.0-20201217.tar.xz) = b13a21a3caf9867595be06b46e3ee8f9b1439d017378f508145b21e753b758ca099e2f07d105a7bfc0ee44061f7bed1ae5bc79bf7e156cd891e08c8fe3b47460 SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7