9.0.1-0.5

This commit is contained in:
Jakub Jelinek 2019-02-15 20:00:34 +01:00
parent 7ee3a099fa
commit f147a68289
6 changed files with 23 additions and 147 deletions

1
.gitignore vendored
View File

@ -63,3 +63,4 @@
/gcc-9.0.1-20190129.tar.xz
/gcc-9.0.1-20190203.tar.xz
/gcc-9.0.1-20190209.tar.xz
/gcc-9.0.1-20190215.tar.xz

View File

@ -1,10 +1,10 @@
%global DATE 20190209
%global DATE 20190215
%global SVNREV 268719
%global gcc_version 9.0.1
%global gcc_major 9
# 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.4
%global gcc_release 0.5
%global nvptx_tools_gitrev c28050f60193b3b95a18866a96f03334e874e78f
%global nvptx_newlib_gitrev aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24
%global _unpackaged_files_terminate_build 0
@ -254,11 +254,8 @@ Patch8: gcc9-foffload-default.patch
Patch9: gcc9-Wno-format-security.patch
Patch10: gcc9-rh1574936.patch
Patch11: gcc9-d-shared-libphobos.patch
Patch12: gcc9-pr88714.patch
Patch13: gcc9-pr89014.patch
Patch14: gcc9-pr89093.patch
Patch15: gcc9-pr88977.patch
Patch16: gcc9-pr89229.patch
Patch12: gcc9-pr89014.patch
Patch13: gcc9-pr89093.patch
Patch1000: nvptx-tools-no-ptxas.patch
Patch1001: nvptx-tools-build.patch
@ -769,11 +766,8 @@ to NVidia PTX capable devices if available.
%patch10 -p0 -b .rh1574936~
%endif
%patch11 -p0 -b .d-shared-libphobos~
%patch12 -p0 -b .pr88714~
%patch13 -p0 -b .pr89014~
%patch14 -p0 -b .pr89093~
%patch15 -p0 -b .pr88977~
%patch16 -p0 -b .pr89229~
%patch12 -p0 -b .pr89014~
%patch13 -p0 -b .pr89093~
cd nvptx-tools-%{nvptx_tools_gitrev}
%patch1000 -p1 -b .nvptx-tools-no-ptxas~
@ -2962,6 +2956,21 @@ end
%endif
%changelog
* Fri Feb 15 2019 Jakub Jelinek <jakub@redhat.com> 9.0.1-0.5
- update from trunk
- PRs c++/77304, c++/86379, c++/87322, c++/87996, c++/88977, c++/88986,
c++/89036, c++/89144, c++/89212, c++/89241, c++/89297, c/89340,
d/87864, fortran/67679, fortran/71723, fortran/72715, fortran/81552,
fortran/88248, fortran/88649, fortran/89200, go/89193, ipa/88711,
ipa/88755, ipa/89009, libbacktrace/81983, libstdc++/89023,
libstdc++/89345, lto/87957, lto/88147, lto/88677, lto/88858,
lto/88876, lto/89272, middle-end/89281, middle-end/89284,
middle-end/89303, other/69006, other/89342, rtl-optimization/88308,
rtl-optimization/89242, rtl-optimization/89354, target/88847,
target/89190, target/89233, target/89290, tree-optimization/88771,
tree-optimization/89253, tree-optimization/89268,
tree-optimization/89278, tree-optimization/89314
* Sat Feb 9 2019 Jakub Jelinek <jakub@redhat.com> 9.0.1-0.4
- update from trunk
- PRs c++/44648, c++/71302, c++/86218, c++/87770, c++/89158, c++/89187,

View File

@ -1,32 +0,0 @@
2019-02-08 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/88714
* config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
instead of r.
--- gcc/config/arm/ldrdstrd.md.jj 2019-02-08 11:25:42.368916124 +0100
+++ gcc/config/arm/ldrdstrd.md 2019-02-08 12:38:33.647585108 +0100
@@ -157,9 +157,9 @@ (define_peephole2 ; swap the destination
;; We use gen_operands_ldrd_strd() with a modify argument as false so that the
;; operands are not changed.
(define_insn "*arm_ldrd"
- [(parallel [(set (match_operand:SI 0 "s_register_operand" "=r")
+ [(parallel [(set (match_operand:SI 0 "s_register_operand" "=q")
(match_operand:SI 2 "memory_operand" "m"))
- (set (match_operand:SI 1 "s_register_operand" "=r")
+ (set (match_operand:SI 1 "s_register_operand" "=q")
(match_operand:SI 3 "memory_operand" "m"))])]
"TARGET_LDRD && TARGET_ARM && reload_completed
&& valid_operands_ldrd_strd (operands, true)"
@@ -178,9 +178,9 @@ (define_insn "*arm_ldrd"
(define_insn "*arm_strd"
[(parallel [(set (match_operand:SI 2 "memory_operand" "=m")
- (match_operand:SI 0 "s_register_operand" "r"))
+ (match_operand:SI 0 "s_register_operand" "q"))
(set (match_operand:SI 3 "memory_operand" "=m")
- (match_operand:SI 1 "s_register_operand" "r"))])]
+ (match_operand:SI 1 "s_register_operand" "q"))])]
"TARGET_LDRD && TARGET_ARM && reload_completed
&& valid_operands_ldrd_strd (operands, false)"
{

View File

@ -1,48 +0,0 @@
2019-02-08 Jakub Jelinek <jakub@redhat.com>
PR c++/88977
* pt.c (convert_nontype_argument): Pass true as manifestly_const_eval
to maybe_constant_value calls.
* g++.dg/cpp2a/is-constant-evaluated7.C: New test.
--- gcc/cp/pt.c.jj 2019-02-05 10:04:19.038028029 +0100
+++ gcc/cp/pt.c 2019-02-08 09:46:23.370257199 +0100
@@ -6821,12 +6821,14 @@ convert_nontype_argument (tree type, tre
/* Make sure we return NULL_TREE only if we have really issued
an error, as described above. */
return (complain & tf_error) ? NULL_TREE : error_mark_node;
- expr = maybe_constant_value (expr);
+ expr = maybe_constant_value (expr, NULL_TREE,
+ /*manifestly_const_eval=*/true);
expr = convert_from_reference (expr);
}
else if (TYPE_PTR_OR_PTRMEM_P (type))
{
- tree folded = maybe_constant_value (expr);
+ tree folded = maybe_constant_value (expr, NULL_TREE,
+ /*manifestly_const_eval=*/true);
if (TYPE_PTR_P (type) ? integer_zerop (folded)
: null_member_pointer_value_p (folded))
expr = folded;
--- gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated7.C.jj 2019-02-08 09:53:47.255935430 +0100
+++ gcc/testsuite/g++.dg/cpp2a/is-constant-evaluated7.C 2019-02-08 09:49:45.159957823 +0100
@@ -0,0 +1,18 @@
+// P0595R2
+// PR c++/88977
+// { dg-do compile { target c++11 } }
+
+namespace std {
+ constexpr inline bool
+ is_constant_evaluated () noexcept
+ {
+ return __builtin_is_constant_evaluated ();
+ }
+}
+
+template<bool B> constexpr bool foo () { return B; }
+
+constexpr bool x = foo<std::is_constant_evaluated ()> ();
+constexpr bool y = foo<__builtin_is_constant_evaluated ()> ();
+static_assert (x, "");
+static_assert (y, "");

View File

@ -1,54 +0,0 @@
2019-02-09 Jakub Jelinek <jakub@redhat.com>
Revert:
2019-02-08 H.J. Lu <hongjiu.lu@intel.com>
PR target/89229
* config/i386/i386.md (*movoi_internal_avx): Set mode to XI for
upper 16 vector registers without TARGET_AVX512VL.
(*movti_internal): Likewise.
Revert:
2019-02-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/89229
* config/i386/i386.md (*movoi_internal_avx): Set mode to OI
for TARGET_AVX512VL.
(*movti_internal): Set mode to TI for TARGET_AVX512VL.
--- gcc/config/i386/i386.md (revision 268678)
+++ gcc/config/i386/i386.md (revision 268656)
@@ -1933,13 +1933,12 @@ (define_insn "*movoi_internal_avx"
(set_attr "type" "sselog1,sselog1,ssemov,ssemov")
(set_attr "prefix" "vex")
(set (attr "mode")
- (cond [(and (not (match_test "TARGET_AVX512VL"))
- (ior (match_operand 0 "ext_sse_reg_operand")
- (match_operand 1 "ext_sse_reg_operand")))
+ (cond [(ior (match_operand 0 "ext_sse_reg_operand")
+ (match_operand 1 "ext_sse_reg_operand"))
(const_string "XI")
(and (eq_attr "alternative" "1")
(match_test "TARGET_AVX512VL"))
- (const_string "OI")
+ (const_string "XI")
(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
(and (eq_attr "alternative" "3")
(match_test "TARGET_SSE_TYPELESS_STORES")))
@@ -2013,13 +2012,12 @@ (define_insn "*movti_internal"
(set (attr "mode")
(cond [(eq_attr "alternative" "0,1")
(const_string "DI")
- (and (not (match_test "TARGET_AVX512VL"))
- (ior (match_operand 0 "ext_sse_reg_operand")
- (match_operand 1 "ext_sse_reg_operand")))
+ (ior (match_operand 0 "ext_sse_reg_operand")
+ (match_operand 1 "ext_sse_reg_operand"))
(const_string "XI")
(and (eq_attr "alternative" "3")
(match_test "TARGET_AVX512VL"))
- (const_string "TI")
+ (const_string "XI")
(ior (not (match_test "TARGET_SSE2"))
(ior (match_test "TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL")
(and (eq_attr "alternative" "5")

View File

@ -1,3 +1,3 @@
SHA512 (gcc-9.0.1-20190209.tar.xz) = d61c5b50c6dc1b3185dfe66261885612cbb0fddb4a150ddca9015b100aaf0ec78c9efa7c31c8278e0201d713ab150168abd293fa4881630f03ec35827d0a23b6
SHA512 (gcc-9.0.1-20190215.tar.xz) = 7f83f31103b5474bca8e880c2a0c6aa5ac5dce492a6a7ca7d694083cb1e2a0c0845baa9df057c53754dba9d27798dd886af5cd21c4ce8564d4f03a3137377aaf
SHA512 (nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz) = 94f7089365296f7dfa485107b4143bebc850a81586f3460fd896bbbb6ba099a00217d4042133424fd2183b352132f4fd367e6a60599bdae2a26dfd48a77d0e04
SHA512 (nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz) = a688cb12cf805950a5abbb13b52f45c81dbee98e310b7ed57ae20e76dbfa5964a16270148374a6426d177db71909d28360490f091c86a5d19d4faa5127beeee1