12.0.1-0.10

This commit is contained in:
Jakub Jelinek 2022-03-06 10:34:46 +01:00
parent b0dddd2d05
commit 67cc6756a1
4 changed files with 72 additions and 4 deletions

1
.gitignore vendored
View File

@ -65,3 +65,4 @@
/gcc-12.0.1-20220212.tar.xz /gcc-12.0.1-20220212.tar.xz
/gcc-12.0.1-20220214.tar.xz /gcc-12.0.1-20220214.tar.xz
/gcc-12.0.1-20220222.tar.xz /gcc-12.0.1-20220222.tar.xz
/gcc-12.0.1-20220306.tar.xz

View File

@ -1,5 +1,5 @@
%global DATE 20220222 %global DATE 20220306
%global gitrev 9780ea50d2a0fb2b07bc9a0f71e28e9c1ef5e235 %global gitrev 9a60f4c27d4317f91488c0c90d943a3638af9d1d
%global gcc_version 12.0.1 %global gcc_version 12.0.1
%global gcc_major 12 %global gcc_major 12
# Note, gcc_release must be integer, if you want to add suffixes to # Note, gcc_release must be integer, if you want to add suffixes to
@ -120,7 +120,7 @@
Summary: Various compilers (C, C++, Objective-C, ...) Summary: Various compilers (C, C++, Objective-C, ...)
Name: gcc Name: gcc
Version: %{gcc_version} Version: %{gcc_version}
Release: %{gcc_release}.9%{?dist} Release: %{gcc_release}.10%{?dist}
# libgcc, libgfortran, libgomp, libstdc++ and crtstuff have # libgcc, libgfortran, libgomp, libstdc++ and crtstuff have
# GCC Runtime Exception. # GCC Runtime Exception.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
@ -270,6 +270,7 @@ Patch8: gcc12-no-add-needed.patch
Patch9: gcc12-Wno-format-security.patch Patch9: gcc12-Wno-format-security.patch
Patch10: gcc12-rh1574936.patch Patch10: gcc12-rh1574936.patch
Patch11: gcc12-d-shared-libphobos.patch Patch11: gcc12-d-shared-libphobos.patch
Patch12: gcc12-pr104775.patch
Patch100: gcc12-fortran-fdec-duplicates.patch Patch100: gcc12-fortran-fdec-duplicates.patch
Patch101: gcc12-fortran-flogical-as-integer.patch Patch101: gcc12-fortran-flogical-as-integer.patch
@ -791,6 +792,7 @@ to NVidia PTX capable devices if available.
%patch10 -p0 -b .rh1574936~ %patch10 -p0 -b .rh1574936~
%endif %endif
%patch11 -p0 -b .d-shared-libphobos~ %patch11 -p0 -b .d-shared-libphobos~
%patch12 -p0 -b .pr104775~
%if 0%{?rhel} >= 9 %if 0%{?rhel} >= 9
%patch100 -p1 -b .fortran-fdec-duplicates~ %patch100 -p1 -b .fortran-fdec-duplicates~
@ -3164,6 +3166,35 @@ end
%endif %endif
%changelog %changelog
* Sun Mar 6 2022 Jakub Jelinek <jakub@redhat.com> 12.0.1-0.10
- update from trunk
- PRs analyzer/103521, analyzer/104434, c++/70077, c++/79493, c++/103443,
c++/104618, c++/104667, c++/104682, c/104627, c/104633, d/104659,
d/104736, debug/100541, fortran/84519, fortran/104131, fortran/104573,
fortran/104619, gcov-profile/104677, ipa/104533, ipa/104648,
libstdc++/96526, libstdc++/104602, libstdc++/104748, middle-end/80270,
middle-end/100400, middle-end/102276, middle-end/103836,
middle-end/103984, middle-end/104061, middle-end/104132,
middle-end/104133, middle-end/104529, middle-end/104540,
middle-end/104550, middle-end/104558, middle-end/104679,
middle-end/104721, middle-end/104757, middle-end/104761,
middle-end/104784, rtl-optimization/104154, rtl-optimization/104589,
rtl-optimization/104637, rtl-optimization/104686, target/87496,
target/88134, target/99555, target/100757, target/101325,
target/102429, target/103302, target/104121, target/104208,
target/104489, target/104656, target/104664, target/104674,
target/104681, target/104698, target/104704, target/104724,
target/104726, target/104758, testsuite/100407, testsuite/104687,
testsuite/104725, testsuite/104727, testsuite/104728,
testsuite/104730, testsuite/104732, testsuite/104791,
tree-optimization/91384, tree-optimization/101636,
tree-optimization/103037, tree-optimization/103845,
tree-optimization/103856, tree-optimization/104601,
tree-optimization/104644, tree-optimization/104675,
tree-optimization/104676, tree-optimization/104700,
tree-optimization/104715, tree-optimization/104716
- fix constraints on s390x conditional trap (PR target/104775)
* Tue Feb 22 2022 Jakub Jelinek <jakub@redhat.com> 12.0.1-0.9 * Tue Feb 22 2022 Jakub Jelinek <jakub@redhat.com> 12.0.1-0.9
- update from trunk - update from trunk
- PRs analyzer/104524, analyzer/104560, analyzer/104576, c++/85493, - PRs analyzer/104524, analyzer/104560, analyzer/104576, c++/85493,

36
gcc12-pr104775.patch Normal file
View File

@ -0,0 +1,36 @@
2022-03-04 Jakub Jelinek <jakub@redhat.com>
PR target/104775
* config/s390/s390.md (*cmp_and_trap_unsigned_int<mode>): Use
S constraint instead of T in the last alternative.
* gcc.target/s390/pr104775.c: New test.
--- gcc/config/s390/s390.md.jj 2022-02-08 20:08:13.873404137 +0100
+++ gcc/config/s390/s390.md 2022-03-04 14:38:23.252988476 +0100
@@ -9578,7 +9578,7 @@ (define_insn "*cmp_and_trap_signed_int<m
(define_insn "*cmp_and_trap_unsigned_int<mode>"
[(trap_if (match_operator 0 "s390_unsigned_integer_comparison"
[(match_operand:GPR 1 "register_operand" "d,d,d")
- (match_operand:GPR 2 "general_operand" "d,D,T")])
+ (match_operand:GPR 2 "general_operand" "d,D,S")])
(const_int 0))]
"TARGET_Z10"
"@
--- gcc/testsuite/gcc.target/s390/pr104775.c.jj 2022-03-04 14:49:58.190134898 +0100
+++ gcc/testsuite/gcc.target/s390/pr104775.c 2022-03-04 14:49:42.845352647 +0100
@@ -0,0 +1,14 @@
+/* PR target/104775 */
+/* { dg-do assemble { target s390_zEC12_hw } } */
+/* { dg-options "-O2 -march=zEC12" } */
+
+long a[64];
+void bar (void);
+
+void
+foo (int x, int y)
+{
+ if (x != a[y])
+ bar ();
+ __builtin_trap ();
+}

View File

@ -1,4 +1,4 @@
SHA512 (gcc-12.0.1-20220222.tar.xz) = 70426bab483df8ddcc58f80f709c087cb3c9e4992ddb910dc55986fbf8a0aa4067f401e3c2fad1e7a5d7832e18d3f24316ccd7a18db6601059a4b46325c6a899 SHA512 (gcc-12.0.1-20220306.tar.xz) = ee74476de920124527f4df9ec95de0bf9fc74aab9e7ae1784c0fae0bf8f4b60367f241fbba2742a610e483516eaa63985d995771ae572509a95e326fa57d1b9e
SHA512 (isl-0.18.tar.bz2) = 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94 SHA512 (isl-0.18.tar.bz2) = 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 002a48a7b689a81abbf16161bcaec001a842e67dfbe372e9e109092703bfc666675f16198f60ca429370e8850d564547dc505df81bc3aaca4ce6defbc014ad6c
SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7 SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7