[gcc-7] 222/354: * Update to SVN 20170618 (r249347) from the gcc-7-branch.

Ximin Luo infinity0 at debian.org
Thu Nov 23 15:50:57 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 21568f604248c89fcd58d9694aac0297dc21cfdd
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Sun Jun 18 13:36:44 2017 +0000

      * Update to SVN 20170618 (r249347) from the gcc-7-branch.
    
    
    git-svn-id: svn+ssh://svn.debian.org/svn/gcccvs/branches/sid/gcc-7@9525 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                |  4 +-
 debian/patches/svn-updates.diff | 87 ++++++++++++++++++++++++++++++++++++-----
 2 files changed, 80 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7940a65..a2a39f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 gcc-7 (7.1.0-7) UNRELEASED; urgency=medium
 
-  * Update to SVN 20170617 (r249338) from the gcc-7-branch.
+  * Update to SVN 20170618 (r249347) from the gcc-7-branch.
 
   [ Matthias Klose ]
   * Update to SVN 20170524 (r248432) from the gcc-7-branch.
@@ -23,7 +23,7 @@ gcc-7 (7.1.0-7) UNRELEASED; urgency=medium
   * ada-kfreebsd.diff: reduce a lot thanks to Ada2012 syntax.
   * ada-link-lib.diff: remove dubious parts.
 
- -- Matthias Klose <doko at debian.org>  Sat, 17 Jun 2017 15:56:17 +0200
+ -- Matthias Klose <doko at debian.org>  Sun, 18 Jun 2017 15:31:39 +0200
 
 gcc-7 (7.1.0-6) experimental; urgency=medium
 
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 411c7a5..4aca072 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 7 branch upto 20170617 (r249338).
+# DP: updates from the 7 branch upto 20170618 (r249347).
 
 last_update()
 {
 	cat > ${dir}LAST_UPDATED <EOF
-Sat Jun 17 15:23:02 CEST 2017
-Sat Jun 17 13:23:02 UTC 2017 (revision 249338)
+Sun Jun 18 15:29:05 CEST 2017
+Sun Jun 18 13:29:05 UTC 2017 (revision 249347)
 EOF
 }
 
@@ -2148,7 +2148,7 @@ Index: gcc/DATESTAMP
 +++ b/src/gcc/DATESTAMP	(.../branches/gcc-7-branch)
 @@ -1 +1 @@
 -20170502
-+20170617
++20170618
 Index: gcc/fold-const.c
 ===================================================================
 --- a/src/gcc/fold-const.c	(.../tags/gcc_7_1_0_release)
@@ -5677,6 +5677,24 @@ Index: gcc/testsuite/g++.dg/cpp0x/constexpr-neg1.C
  private:
    bool flag;
  };
+Index: gcc/testsuite/g++.dg/cpp0x/inh-ctor27.C
+===================================================================
+--- a/src/gcc/testsuite/g++.dg/cpp0x/inh-ctor27.C	(.../tags/gcc_7_1_0_release)
++++ b/src/gcc/testsuite/g++.dg/cpp0x/inh-ctor27.C	(.../branches/gcc-7-branch)
+@@ -0,0 +1,13 @@
++// PR c++/70844
++// { dg-options -Wuseless-cast }
++// { dg-do compile { target c++11 } }
++
++struct base {
++    base (int const &);
++};
++
++struct derived : public base {
++    using base::base;
++};
++
++derived d(0);
 Index: gcc/testsuite/g++.dg/cpp0x/constexpr-memfn1.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/cpp0x/constexpr-memfn1.C	(.../tags/gcc_7_1_0_release)
@@ -6091,6 +6109,24 @@ Index: gcc/testsuite/g++.dg/warn/Wstrict-aliasing-6.C
 +  return *((int *)buf); /* { dg-bogus "strict-aliasing" } */
  }
  
+Index: gcc/testsuite/g++.dg/warn/Wunused-local-typedefs-4.C
+===================================================================
+--- a/src/gcc/testsuite/g++.dg/warn/Wunused-local-typedefs-4.C	(.../tags/gcc_7_1_0_release)
++++ b/src/gcc/testsuite/g++.dg/warn/Wunused-local-typedefs-4.C	(.../branches/gcc-7-branch)
+@@ -0,0 +1,13 @@
++// PR c++/60063
++// { dg-options -Wunused-local-typedefs }
++
++template <class> struct S;
++
++void foo (int i) {
++    typedef __attribute__ ((used)) S<int> X;
++}
++
++template <class T>
++void bar (T i) {
++    typedef __attribute__ ((used)) S<T> Y;
++}
 Index: gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-2.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/warn/Wstrict-aliasing-bogus-char-2.C	(.../tags/gcc_7_1_0_release)
@@ -6416,6 +6452,18 @@ Index: gcc/cp/class.c
  	}
  }
  
+Index: gcc/cp/method.c
+===================================================================
+--- a/src/gcc/cp/method.c	(.../tags/gcc_7_1_0_release)
++++ b/src/gcc/cp/method.c	(.../branches/gcc-7-branch)
+@@ -486,6 +486,7 @@
+     type = PACK_EXPANSION_PATTERN (type);
+   if (TREE_CODE (type) != REFERENCE_TYPE)
+     type = cp_build_reference_type (type, /*rval=*/true);
++  warning_sentinel w (warn_useless_cast);
+   exp = build_static_cast (type, exp, tf_warning_or_error);
+   if (DECL_PACK_P (parm))
+     exp = make_pack_expansion (exp);
 Index: gcc/cp/constexpr.c
 ===================================================================
 --- a/src/gcc/cp/constexpr.c	(.../tags/gcc_7_1_0_release)
@@ -6477,7 +6525,15 @@ 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,87 @@
+@@ -1,3 +1,95 @@
++2017-06-17  Jason Merrill  <jason at redhat.com>
++
++	PR c++/60063 - -Wunused-local-typedefs and templates.
++	* decl2.c (is_late_template_attribute): Return false for "used".
++
++	PR c++/70844 - -Wuseless-cast and inheriting constructor.
++	* method.c (forward_parm): Suppress warn_useless_cast.
++
 +2017-06-16  Jason Merrill  <jason at redhat.com>
 +
 +	PR c++/81045 - Wrong type-dependence with auto return type.
@@ -6839,7 +6895,20 @@ Index: gcc/cp/decl2.c
 ===================================================================
 --- a/src/gcc/cp/decl2.c	(.../tags/gcc_7_1_0_release)
 +++ b/src/gcc/cp/decl2.c	(.../branches/gcc-7-branch)
-@@ -4661,6 +4661,8 @@
+@@ -1094,9 +1094,10 @@
+   if (is_attribute_p ("weak", name))
+     return true;
+ 
+-  /* Attribute unused is applied directly, as it appertains to
++  /* Attributes used and unused are applied directly, as they appertain to
+      decls. */
+-  if (is_attribute_p ("unused", name))
++  if (is_attribute_p ("unused", name)
++      || is_attribute_p ("used", name))
+     return false;
+ 
+   /* Attribute tls_model wants to modify the symtab.  */
+@@ -4661,6 +4662,8 @@
  	  if (!DECL_SAVED_TREE (decl))
  	    continue;
  
@@ -6848,7 +6917,7 @@ Index: gcc/cp/decl2.c
  	  /* We lie to the back end, pretending that some functions
  	     are not defined when they really are.  This keeps these
  	     functions from being put out unnecessarily.  But, we must
-@@ -4681,9 +4683,6 @@
+@@ -4681,9 +4684,6 @@
  	      && DECL_INITIAL (decl)
  	      && decl_needed_p (decl))
  	    {
@@ -6858,7 +6927,7 @@ Index: gcc/cp/decl2.c
  	      if (node->cpp_implicit_alias)
  		node = node->get_alias_target ();
  
-@@ -4693,7 +4692,8 @@
+@@ -4693,7 +4693,8 @@
  		 group, we need to mark all symbols in the same comdat group
  		 that way.  */
  	      if (node->same_comdat_group)
@@ -6868,7 +6937,7 @@ Index: gcc/cp/decl2.c
  		     next != node;
  		     next = dyn_cast<cgraph_node *> (next->same_comdat_group))
  		  next->call_for_symbol_thunks_and_aliases (clear_decl_external,
-@@ -4707,7 +4707,7 @@
+@@ -4707,7 +4708,7 @@
  	  if (!DECL_EXTERNAL (decl)
  	      && decl_needed_p (decl)
  	      && !TREE_ASM_WRITTEN (decl)

-- 
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