[gcc-7] 245/354: * Update to SVN 20170703 (r249929) from the gcc-7-branch.

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:51:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository gcc-7.

commit b809bc156875bb998cabd7a225021027f5cf6383
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Wed Jul 5 17:13:16 2017 +0000

      * Update to SVN 20170703 (r249929) from the gcc-7-branch.
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9574 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                |   2 +
 debian/patches/svn-updates.diff | 312 +++++-----------------------------------
 2 files changed, 38 insertions(+), 276 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index dd295e5..8ae5b37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
 gcc-7 (7.1.0-9) UNRELEASED; urgency=medium
 
+  * Update to SVN 20170703 (r249929) from the gcc-7-branch.
+
   [ Matthias Klose ]
   * gcc-linaro-revert-r49596.diff: fix build for the linaro branch.
 
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 70cb880..d6b5fd9 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,14 +1,14 @@
-# DP: updates from the 7 branch upto 20170629 (r249793).
+# DP: updates from the 7 branch upto 20170703 (r249929).
 
 last_update()
 {
 	cat > ${dir}LAST_UPDATED <EOF
-Thu Jun 29 17:13:49 CEST 2017
-Thu Jun 29 15:13:49 UTC 2017 (revision 249793)
+Mon Jul  3 19:35:38 CEST 2017
+Mon Jul  3 17:35:38 UTC 2017 (revision 249929)
 EOF
 }
 
-LANG=C svn diff svn://gcc.gnu.org/svn/gcc/tags/gcc_7_1_0_release svn://gcc.gnu.org/svn/gcc/branches/gcc-7-branch \
+LANG=C svn diff svn://gcc.gnu.org/svn/gcc/tags/gcc_7_1_0_release svn://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@249738 \
 	| sed -r 's,^--- (\S+)\t(\S+)(.*)$,--- a/src/\1\t\2,;s,^\+\+\+ (\S+)\t(\S+)(.*)$,+++ b/src/\1\t\2,' \
 	| awk '/^Index:.*\.(class|texi)/ {skip=1; next} /^Index:/ { skip=0 } skip==0'
 
@@ -3161,7 +3161,7 @@ Index: gcc/DATESTAMP
 +++ b/src/gcc/DATESTAMP	(.../branches/gcc-7-branch)
 @@ -1 +1 @@
 -20170502
-+20170629
++20170628
 Index: gcc/builtins.c
 ===================================================================
 --- a/src/gcc/builtins.c	(.../tags/gcc_7_1_0_release)
@@ -3530,16 +3530,7 @@ Index: gcc/ChangeLog
 ===================================================================
 --- a/src/gcc/ChangeLog	(.../tags/gcc_7_1_0_release)
 +++ b/src/gcc/ChangeLog	(.../branches/gcc-7-branch)
-@@ -1,3 +1,717 @@
-+2017-06-29  Richard Biener  <rguenther at suse.de>
-+
-+	Backport from mainline
-+	2017-06-19  Richard Biener  <rguenther at suse.de>
-+
-+	PR ipa/81112
-+	* ipa-prop.c (find_constructor_constant_at_offset): Handle
-+	RANGE_EXPR conservatively.
-+
+@@ -1,3 +1,708 @@
 +2017-06-28  Richard Biener  <rguenther at suse.de>
 +
 +	Backport from mainline
@@ -4248,7 +4239,7 @@ Index: gcc/ChangeLog
  2017-05-02  Release Manager
  
  	* GCC 7.1.0 released.
-@@ -110,9 +828,9 @@
+@@ -110,9 +819,9 @@
  	Backport from mainline
  	2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
@@ -4261,7 +4252,7 @@ Index: gcc/ChangeLog
  
  2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
-@@ -119,11 +837,11 @@
+@@ -119,11 +828,11 @@
  	Backport from mainline
  	2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
@@ -4278,7 +4269,7 @@ Index: gcc/ChangeLog
  
  2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
-@@ -130,30 +848,30 @@
+@@ -130,30 +839,30 @@
  	Backport from maineline
  	2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
@@ -4333,7 +4324,7 @@ Index: gcc/ChangeLog
  
  2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
-@@ -160,8 +878,8 @@
+@@ -160,8 +869,8 @@
  	Backport from mainline
  	2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
@@ -4344,7 +4335,7 @@ Index: gcc/ChangeLog
  
  
  2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
-@@ -169,8 +887,8 @@
+@@ -169,8 +878,8 @@
  	Backport from mainline
  	2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
@@ -4355,7 +4346,7 @@ Index: gcc/ChangeLog
  
  2017-04-25  Jakub Jelinek  <jakub at redhat.com>
  
-@@ -229,7 +947,7 @@
+@@ -229,7 +938,7 @@
  	(build_array_type): Likewise.  Add typeless_storage argument.
  
  2017-04-19  Eric Botcazou  <ebotcazou at adacore.com>
@@ -4364,7 +4355,7 @@ Index: gcc/ChangeLog
  
  	PR tree-optimization/80426
  	* tree-vrp.c (extract_range_from_binary_expr_1): For an additive
-@@ -271,7 +989,7 @@
+@@ -271,7 +980,7 @@
  	are only used in debug insns.
  
  2017-04-19  Eric Botcazou  <ebotcazou at adacore.com>
@@ -6950,15 +6941,7 @@ Index: gcc/testsuite/ChangeLog
 ===================================================================
 --- a/src/gcc/testsuite/ChangeLog	(.../tags/gcc_7_1_0_release)
 +++ b/src/gcc/testsuite/ChangeLog	(.../branches/gcc-7-branch)
-@@ -1,3 +1,440 @@
-+2017-06-29  Richard Biener  <rguenther at suse.de>
-+
-+	Backport from mainline
-+	2017-06-19  Richard Biener  <rguenther at suse.de>
-+
-+	PR ipa/81112
-+	* g++.dg/torture/pr81112.C: New testcase.
-+
+@@ -1,3 +1,432 @@
 +2017-06-28  Richard Biener  <rguenther at suse.de>
 +
 +	Backport from mainline
@@ -7391,7 +7374,7 @@ Index: gcc/testsuite/ChangeLog
  2017-05-02  Release Manager
  
  	* GCC 7.1.0 released.
-@@ -52,8 +489,8 @@
+@@ -52,8 +481,8 @@
  	Backport from mainline
  	2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
@@ -7402,7 +7385,7 @@ Index: gcc/testsuite/ChangeLog
  
  2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
-@@ -60,8 +497,8 @@
+@@ -60,8 +489,8 @@
  	Backport from mainline
  	2017-04-25  Andreas Krebbel  <krebbel at linux.vnet.ibm.com>
  
@@ -7413,7 +7396,7 @@ Index: gcc/testsuite/ChangeLog
  
  2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
-@@ -68,10 +505,10 @@
+@@ -68,10 +497,10 @@
  	Backport from maineline
  	2017-04-25  Dominik Vogt  <vogt at linux.vnet.ibm.com>
  
@@ -7428,7 +7411,7 @@ Index: gcc/testsuite/ChangeLog
  
  2017-04-25  Jakub Jelinek  <jakub at redhat.com>
  
-@@ -132,7 +569,7 @@
+@@ -132,7 +561,7 @@
  	* gcc.dg/torture/pr80341.c: Require int32plus.
  
  2017-04-19  Eric Botcazou  <ebotcazou at adacore.com>
@@ -7633,38 +7616,6 @@ Index: gcc/testsuite/g++.dg/cpp0x/constexpr-diag3.C
  
  // --------------------
  
-Index: gcc/testsuite/g++.dg/cpp0x/variadic-ttp8.C
-===================================================================
---- a/src/gcc/testsuite/g++.dg/cpp0x/variadic-ttp8.C	(.../tags/gcc_7_1_0_release)
-+++ b/src/gcc/testsuite/g++.dg/cpp0x/variadic-ttp8.C	(.../branches/gcc-7-branch)
-@@ -0,0 +1,27 @@
-+// PR c++/69111
-+// { dg-do compile { target c++11 } }
-+
-+template <template <typename> class ...>
-+struct template_list {};
-+
-+template <typename T>
-+struct A
-+{};
-+
-+template <typename>
-+struct B
-+{
-+ template <typename T>
-+ using type = A<T>;
-+};
-+
-+template <typename ... Types>
-+struct C
-+{
-+ using type = template_list<B<Types>::template type...>;
-+};
-+
-+int main()
-+{
-+ return 0;
-+}
 Index: gcc/testsuite/g++.dg/cpp0x/constexpr-data1.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/cpp0x/constexpr-data1.C	(.../tags/gcc_7_1_0_release)
@@ -7711,33 +7662,6 @@ Index: gcc/testsuite/g++.dg/cpp0x/constexpr-neg1.C
  private:
    bool flag;
  };
-Index: gcc/testsuite/g++.dg/cpp0x/variadic-partial1.C
-===================================================================
---- a/src/gcc/testsuite/g++.dg/cpp0x/variadic-partial1.C	(.../tags/gcc_7_1_0_release)
-+++ b/src/gcc/testsuite/g++.dg/cpp0x/variadic-partial1.C	(.../branches/gcc-7-branch)
-@@ -0,0 +1,22 @@
-+// PR c++/72801
-+// { dg-do compile { target c++11 } }
-+
-+template < typename, typename > struct A {};
-+
-+template < typename ... T > struct B
-+{ 
-+  template < typename > struct C
-+  { 
-+    static const int a = 0;
-+  };
-+
-+  template < typename R, typename ... S >
-+  struct C < R (A < T, S > ...) >
-+  { 
-+    static const int a = 1;
-+  };
-+};
-+
-+#define SA(X) static_assert ((X), #X)
-+SA(B <>::C<int()>::a == 1);
-+
 Index: gcc/testsuite/g++.dg/cpp0x/variadic-ttp7.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/cpp0x/variadic-ttp7.C	(.../tags/gcc_7_1_0_release)
@@ -7811,79 +7735,6 @@ Index: gcc/testsuite/g++.dg/cpp0x/constexpr-diag1.C
  
  template <class T>
  constexpr int f (T t) { return 42; } // { dg-error "parameter" }
-Index: gcc/testsuite/g++.dg/torture/pr81112.C
-===================================================================
---- a/src/gcc/testsuite/g++.dg/torture/pr81112.C	(.../tags/gcc_7_1_0_release)
-+++ b/src/gcc/testsuite/g++.dg/torture/pr81112.C	(.../branches/gcc-7-branch)
-@@ -0,0 +1,68 @@
-+// { dg-do compile }
-+// { dg-additional-options "-Wno-psabi" }
-+
-+class AssertionResult {
-+    bool success_;
-+};
-+
-+AssertionResult AssertionSuccess();
-+
-+template <typename T1>
-+AssertionResult EXPECT_EQ(const T1& expected, const T1& actual) {
-+    if (expected == actual) {
-+	return AssertionSuccess();
-+    }
-+    return AssertionSuccess();
-+}
-+
-+struct uuid
-+{
-+  unsigned char data[16];
-+};
-+
-+bool operator== (uuid const& lhs, uuid const& rhs);
-+
-+typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
-+typedef int __v4si __attribute__ ((__vector_size__ (16)));
-+typedef char __v16qi __attribute__ ((__vector_size__ (16)));
-+typedef long long __m128i_u __attribute__ ((__vector_size__ (16), __may_alias__, __aligned__ (1)));
-+
-+int foo (__v16qi);
-+
-+extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
-+     _mm_loadu_si128 (__m128i_u const *__P)
-+{
-+    return *__P;
-+}
-+extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
-+     _mm_cmpeq_epi32 (__m128i __A, __m128i __B)
-+{
-+    return (__m128i) ((__v4si)__A == (__v4si)__B);
-+}
-+extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
-+     _mm_movemask_epi8 (__m128i __A)
-+{
-+    return foo ((__v16qi)__A);
-+}
-+
-+
-+__m128i load_unaligned_si128(const unsigned char* p)
-+{
-+  return _mm_loadu_si128(reinterpret_cast< const __m128i* >(p));
-+}
-+
-+inline bool operator== (uuid const& lhs, uuid const& rhs)
-+{
-+  __m128i mm_left = load_unaligned_si128(lhs.data);
-+  __m128i mm_right = load_unaligned_si128(rhs.data);
-+
-+  __m128i mm_cmp = _mm_cmpeq_epi32(mm_left, mm_right);
-+
-+  return _mm_movemask_epi8(mm_cmp) == 0xFFFF;
-+}
-+
-+void crash_gcc7()
-+{
-+  static const uuid u = uuid();
-+  EXPECT_EQ(u, u);
-+}
 Index: gcc/testsuite/g++.dg/ipa/pr80212.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/ipa/pr80212.C	(.../tags/gcc_7_1_0_release)
@@ -8554,23 +8405,6 @@ Index: gcc/testsuite/g++.dg/template/nontype-array1.C
 +  char const s8[] = "hi";
 +  Message<s8> m8;  // { dg-error "" }
 +}
-Index: gcc/testsuite/g++.dg/template/lookup10.C
-===================================================================
---- a/src/gcc/testsuite/g++.dg/template/lookup10.C	(.../tags/gcc_7_1_0_release)
-+++ b/src/gcc/testsuite/g++.dg/template/lookup10.C	(.../branches/gcc-7-branch)
-@@ -0,0 +1,12 @@
-+// PR c++/81204
-+
-+namespace std {
-+  template<typename, typename> struct set { };
-+}
-+using namespace std;
-+
-+template <int I, typename Result>
-+inline void set(Result & res)
-+{
-+    res.template set<I>();
-+}
 Index: gcc/testsuite/g++.dg/template/partial5.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/template/partial5.C	(.../tags/gcc_7_1_0_release)
@@ -8890,19 +8724,7 @@ Index: gcc/cp/ChangeLog
 ===================================================================
 --- a/src/gcc/cp/ChangeLog	(.../tags/gcc_7_1_0_release)
 +++ b/src/gcc/cp/ChangeLog	(.../branches/gcc-7-branch)
-@@ -1,3 +1,160 @@
-+2017-06-28  Jason Merrill  <jason at redhat.com>
-+
-+	PR c++/61022 - error with variadic template template parm
-+	* pt.c (convert_template_argument): Keep the TYPE_PACK_EXPANSION.
-+
-+	PR c++/72801 - ICE with variadic partial specialization
-+	* pt.c (unify_pack_expansion): Use PACK_EXPANSION_EXTRA_ARGS.
-+
-+	PR c++/81204 - parse error with dependent template-name
-+	* parser.c (cp_parser_lookup_name): Disqualify function templates
-+	after lookup.
-+
+@@ -1,3 +1,148 @@
 +2017-06-26  Jason Merrill  <jason at redhat.com>
 +
 +	PR c++/81215
@@ -9265,26 +9087,7 @@ Index: gcc/cp/pt.c
    return 0;
  }
  
-@@ -7552,7 +7634,7 @@
- 	  else if (TREE_CODE (TREE_TYPE (arg)) == UNBOUND_CLASS_TEMPLATE)
- 	    /* The number of argument required is not known yet.
- 	       Just accept it for now.  */
--	    val = TREE_TYPE (arg);
-+	    val = orig_arg;
- 	  else
- 	    {
- 	      tree parmparm = DECL_INNERMOST_TEMPLATE_PARMS (parm);
-@@ -19954,6 +20036,9 @@
-   tree pack, packs = NULL_TREE;
-   int i, start = TREE_VEC_LENGTH (packed_parms) - 1;
- 
-+  /* Add in any args remembered from an earlier partial instantiation.  */
-+  targs = add_to_template_args (PACK_EXPANSION_EXTRA_ARGS (parm), targs);
-+
-   packed_args = expand_template_argument_pack (packed_args);
- 
-   int len = TREE_VEC_LENGTH (packed_args);
-@@ -20563,18 +20648,6 @@
+@@ -20563,18 +20645,6 @@
  	  return x;
  	}
  
@@ -9303,7 +9106,7 @@ Index: gcc/cp/pt.c
        /* [temp.deduct.type] If, in the declaration of a function template
  	 with a non-type template-parameter, the non-type
  	 template-parameter is used in an expression in the function
-@@ -20595,7 +20668,8 @@
+@@ -20595,7 +20665,8 @@
  	/* Template-parameter dependent expression.  Just accept it for now.
  	   It will later be processed in convert_template_argument.  */
  	;
@@ -9313,7 +9116,7 @@ Index: gcc/cp/pt.c
  	/* OK */;
        else if ((strict & UNIFY_ALLOW_INTEGER)
  	       && CP_INTEGRAL_TYPE_P (tparm))
-@@ -20604,9 +20678,22 @@
+@@ -20604,9 +20675,22 @@
  	   corresponding parameter.  */
  	arg = fold (build_nop (tparm, arg));
        else if (uses_template_parms (tparm))
@@ -9339,7 +9142,7 @@ Index: gcc/cp/pt.c
        else
  	return unify_type_mismatch (explain_p, tparm, TREE_TYPE (arg));
  
-@@ -21598,10 +21685,12 @@
+@@ -21598,10 +21682,12 @@
       `T' is `A' but unify () does not check whether `typename T::X'
       is `int'.  */
    spec_args = tsubst (spec_args, deduced_args, tf_none, NULL_TREE);
@@ -9355,7 +9158,7 @@ Index: gcc/cp/pt.c
    pop_tinst_level ();
  
    if (spec_args == error_mark_node
-@@ -23372,6 +23461,14 @@
+@@ -23372,6 +23458,14 @@
  	   arg_type = TREE_CHAIN (arg_type))
  	if (dependent_type_p (TREE_VALUE (arg_type)))
  	  return true;
@@ -9370,7 +9173,7 @@ Index: gcc/cp/pt.c
        return false;
      }
    /* -- an array type constructed from any dependent type or whose
-@@ -23920,18 +24017,35 @@
+@@ -23920,18 +24014,35 @@
     return true;
  
    /* A function or variable template-id is type-dependent if it has any
@@ -9415,7 +9218,7 @@ Index: gcc/cp/pt.c
    /* Always dependent, on the number of arguments if nothing else.  */
    if (TREE_CODE (expression) == EXPR_PACK_EXPANSION)
      return true;
-@@ -24697,6 +24811,14 @@
+@@ -24697,6 +24808,14 @@
    return t;
  }
  
@@ -9662,34 +9465,6 @@ Index: gcc/cp/parser.c
  	      duplicate_access_error_issued_p = true;
  	    }
  
-@@ -25655,11 +25661,22 @@
- 	decl = NULL_TREE;
- 
-       if (!decl)
--	/* Look it up in the enclosing context.  DR 141: When looking for a
--	   template-name after -> or ., only consider class templates.  */
--	decl = lookup_name_real (name, prefer_type_arg (tag_type, is_template),
--				 /*nonclass=*/0,
--				 /*block_p=*/true, is_namespace, 0);
-+	{
-+	  /* Look it up in the enclosing context.  */
-+	  decl = lookup_name_real (name, prefer_type_arg (tag_type),
-+				   /*nonclass=*/0,
-+				   /*block_p=*/true, is_namespace, 0);
-+	  /* DR 141 says when looking for a template-name after -> or ., only
-+	     consider class templates.  */
-+	  if (decl && is_template && !DECL_TYPE_TEMPLATE_P (decl))
-+	    {
-+	      tree d = decl;
-+	      if (is_overloaded_fn (d))
-+		d = get_first_fn (d);
-+	      if (DECL_P (d) && !DECL_CLASS_SCOPE_P (d))
-+		decl = NULL_TREE;
-+	    }
-+	}
-       if (object_type == unknown_type_node)
- 	/* The object is type-dependent, so we can't look anything up; we used
- 	   this to get the DR 141 behavior.  */
 Index: gcc/cp/call.c
 ===================================================================
 --- a/src/gcc/cp/call.c	(.../tags/gcc_7_1_0_release)
@@ -13237,31 +13012,6 @@ Index: gcc/ubsan.h
  extern bool is_ubsan_builtin_p (tree);
  extern tree ubsan_build_overflow_builtin (tree_code, location_t, tree, tree,
  					  tree, tree *);
-Index: gcc/ipa-prop.c
-===================================================================
---- a/src/gcc/ipa-prop.c	(.../tags/gcc_7_1_0_release)
-+++ b/src/gcc/ipa-prop.c	(.../branches/gcc-7-branch)
-@@ -3030,7 +3030,10 @@
- 
-          if (index)
-            {
--             off = wi::to_offset (index);
-+	     if (TREE_CODE (index) == RANGE_EXPR)
-+	       off = wi::to_offset (TREE_OPERAND (index, 0));
-+	     else
-+	       off = wi::to_offset (index);
-              if (TYPE_DOMAIN (type) && TYPE_MIN_VALUE (TYPE_DOMAIN (type)))
-                {
-                  tree low_bound = TYPE_MIN_VALUE (TYPE_DOMAIN (type));
-@@ -3039,6 +3042,8 @@
-                                  TYPE_PRECISION (TREE_TYPE (index)));
-                }
-              off *= wi::to_offset (unit_size);
-+	     /* ???  Handle more than just the first index of a
-+	        RANGE_EXPR.  */
-            }
-          else
-            off = wi::to_offset (unit_size) * ix;
 Index: gcc/po/es.po
 ===================================================================
 --- a/src/gcc/po/es.po	(.../tags/gcc_7_1_0_release)
@@ -65058,3 +64808,13 @@ Index: libcilkrts/ChangeLog
  2017-05-02  Release Manager
  
  	* GCC 7.1.0 released.
+Index: .
+===================================================================
+--- a/src/.	(.../tags/gcc_7_1_0_release)
++++ b/src/.	(.../branches/gcc-7-branch)
+
+Property changes on: .
+___________________________________________________________________
+Added: svn:mergeinfo
+## -0,0 +0,1 ##
+   Merged /trunk:r249272,249411

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-7.git



More information about the Reproducible-commits mailing list