10.0.1-0.8

This commit is contained in:
Jakub Jelinek 2020-02-16 13:44:17 +01:00
parent 55f9b2f336
commit 9bce8e2449
4 changed files with 39 additions and 57 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/gcc-10.0.1-20200123.tar.xz
/gcc-10.0.1-20200126.tar.xz
/gcc-10.0.1-20200130.tar.xz
/gcc-10.0.1-20200216.tar.xz

View File

@ -1,10 +1,10 @@
%global DATE 20200130
%global gitrev e391c69b766a2056ab10cf80fa0cbe777f338235
%global DATE 20200216
%global gitrev e192529cb03e8c4fb50bff9ce451d0f9e12b863f
%global gcc_version 10.0.1
%global gcc_major 10
# 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 0.7
%global gcc_release 0.8
%global nvptx_tools_gitrev 5f6f343a302d620b0868edab376c00b15741e39e
%global newlib_cygwin_gitrev 50e2a63b04bdd018484605fbb954fd1bd5147fa0
%global _unpackaged_files_terminate_build 0
@ -259,7 +259,6 @@ Patch8: gcc10-foffload-default.patch
Patch9: gcc10-Wno-format-security.patch
Patch10: gcc10-rh1574936.patch
Patch11: gcc10-d-shared-libphobos.patch
Patch12: gcc10-pr92765-workaround.patch
# On ARM EABI systems, we do want -gnueabi to be part of the
# target triple.
@ -771,7 +770,6 @@ to NVidia PTX capable devices if available.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
%patch12 -p0 -b .pr92765-workaround~
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
@ -3000,6 +2998,40 @@ end
%endif
%changelog
* Sun Feb 16 2020 Jakub Jelinek <jakub@redhat.com> 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 <jakub@redhat.com> 10.0.1-0.7
- update from trunk
- PRs analyzer/93276, analyzer/93291, analyzer/93349, analyzer/93450,

View File

@ -1,51 +0,0 @@
2020-01-26 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92765
* tree-ssa-strlen.c (handle_builtin_string_cmp): Temporarily disable
broken optimization.
* gcc.dg/strlenopt-65.c: Add xfail.
* gcc.dg/strlenopt-69.c: Likewise.
* gcc.dg/strcmpopt_3.c: Likewise.
--- gcc/tree-ssa-strlen.c.jj 2020-01-16 15:13:55.789044796 +0100
+++ gcc/tree-ssa-strlen.c 2020-01-26 18:58:17.787571444 +0100
@@ -4461,8 +4461,11 @@ handle_builtin_string_cmp (gimple_stmt_i
known to be unequal set the range of the result to non-zero.
This allows the call to be eliminated if its result is only
used in tests for equality to zero. */
+#if 0
+ /* Temporarily disabled due to PR92765. */
wide_int zero = wi::zero (TYPE_PRECISION (TREE_TYPE (lhs)));
set_range_info (lhs, VR_ANTI_RANGE, zero, zero);
+#endif
return false;
}
/* When the two strings are definitely equal (such as when they
--- gcc/testsuite/gcc.dg/strlenopt-65.c.jj 2020-01-12 11:54:37.518396737 +0100
+++ gcc/testsuite/gcc.dg/strlenopt-65.c 2020-01-26 19:03:42.310607725 +0100
@@ -173,7 +173,7 @@ void test_strncmp_keep (const char *s, c
}
}
-/* { dg-final { scan-tree-dump-times "call_in_true_branch_not_eliminated_" 0 "optimized" } }
+/* { dg-final { scan-tree-dump-times "call_in_true_branch_not_eliminated_" 0 "optimized" { xfail *-*-* } } }
{ dg-final { scan-tree-dump-times "call_made_in_true_branch_on_line_1\[0-9\]\[0-9\]\[0-9\]" 11 "optimized" } }
{ dg-final { scan-tree-dump-times "call_made_in_false_branch_on_line_1\[0-9\]\[0-9\]\[0-9\]" 11 "optimized" } } */
--- gcc/testsuite/gcc.dg/strlenopt-69.c.jj 2020-01-12 11:54:37.518396737 +0100
+++ gcc/testsuite/gcc.dg/strlenopt-69.c 2020-01-26 19:04:04.913262008 +0100
@@ -126,4 +126,4 @@ void test_array_copy_bounded (void)
A (strncmp (s, a4, 5)); clobber (a4);
}
-/* { dg-final { scan-tree-dump-not "abort|strcmp|strncmp" "optimized" } } */
+/* { dg-final { scan-tree-dump-not "abort|strcmp|strncmp" "optimized" { xfail *-*-* } } } */
--- gcc/testsuite/gcc.dg/strcmpopt_3.c.jj 2020-01-12 11:54:37.515396783 +0100
+++ gcc/testsuite/gcc.dg/strcmpopt_3.c 2020-01-26 19:03:08.123130636 +0100
@@ -28,4 +28,4 @@ int main (void)
return 0;
}
-/* { dg-final { scan-tree-dump-times "strcmp" 0 "optimized" } } */
+/* { dg-final { scan-tree-dump-times "strcmp" 0 "optimized" { xfail *-*-* } } } */

View File

@ -1,3 +1,3 @@
SHA512 (gcc-10.0.1-20200130.tar.xz) = b7a96cac1876ac821cd9b758edf5acd07a621419533fa9a0676f87e10482bdbd750862484199572ed58a2fa243e41a7cad8abd5a1a53ea18f4e6c6e2e991c27c
SHA512 (gcc-10.0.1-20200216.tar.xz) = 56507e273b00e85ed4145e80df65d9b4e4791f23e7cb5d931f85b9420cbf3a7125ba49978dc73c2987c0a6101f741dc5a60a08cb3346d4c5082400cbcfcdd008
SHA512 (newlib-cygwin-50e2a63b04bdd018484605fbb954fd1bd5147fa0.tar.xz) = 9ceea0b883185fe489724d54a7e909bb6ed4785fcadf80162033dc6a133e2657337175601278e4155d1f8fac275ff9c8a02572aea876166c608774c809f832e9
SHA512 (nvptx-tools-5f6f343a302d620b0868edab376c00b15741e39e.tar.xz) = f6d10db94fa1570ae0f94df073fa3c73c8e5ee16d59070b53d94f7db0de8a031bc44d7f3f1852533da04b625ce758e022263855ed43cfc6867e0708d001e53c7