[gcc-6] 285/401: * Update to SVN 20161119 (r242621, 6.2.1) from the gcc-6-branch.

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:50:04 UTC 2017


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

infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.

commit b87f30ec182b834b740ffde280a8f299af0c8724
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date:   Sat Nov 19 11:38:30 2016 +0000

      * Update to SVN 20161119 (r242621, 6.2.1) from the gcc-6-branch.
    
    
    git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9099 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
 debian/changelog                |   6 +-
 debian/patches/svn-updates.diff | 197 ++++++++++++++++++++++++++++++++++++++--
 2 files changed, 193 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9287c8a..206de7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,12 @@
-gcc-6 (6.2.1-4) UNRELEASED; urgency=medium
+gcc-6 (6.2.1-4) unstable; urgency=medium
 
+  * Update to SVN 20161119 (r242621, 6.2.1) from the gcc-6-branch.
+    - Fix PR c++/67631.
   * Build the GC enabled libobjc using the system libgc when available
   * Always apply *all* the gnat patches whether or not gnat is built.
   * Bump debhelper compat level to 9.
 
- -- Matthias Klose <doko at debian.org>  Fri, 18 Nov 2016 20:02:44 +0100
+ -- Matthias Klose <doko at debian.org>  Sat, 19 Nov 2016 12:27:32 +0100
 
 gcc-6 (6.2.1-3) unstable; urgency=medium
 
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 89fdf03..15bf940 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 6 branch upto 20161118 (r242586).
+# DP: updates from the 6 branch upto 20161119 (r242621).
 
 last_update()
 {
 	cat > ${dir}LAST_UPDATED <EOF
-Fri Nov 18 13:34:07 CET 2016
-Fri Nov 18 12:34:07 UTC 2016 (revision 242586)
+Sat Nov 19 12:05:21 CET 2016
+Sat Nov 19 11:05:21 UTC 2016 (revision 242621)
 EOF
 }
 
@@ -6093,6 +6093,15 @@ Index: libgcc/config.host
  arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
  	tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
  	tm_file="$tm_file arm/bpabi-lib.h"
+@@ -1279,7 +1286,7 @@
+ 	md_unwind_header=tilepro/linux-unwind.h
+         ;;
+ tilepro*-*-linux*)
+-	tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro"
++	tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro t-slibgcc-libgcc"
+ 	md_unwind_header=tilepro/linux-unwind.h
+         ;;
+ v850*-*-*)
 @@ -1336,7 +1343,14 @@
  
  case ${host} in
@@ -6113,7 +6122,15 @@ Index: libgcc/ChangeLog
 ===================================================================
 --- a/src/libgcc/ChangeLog	(.../tags/gcc_6_2_0_release)
 +++ b/src/libgcc/ChangeLog	(.../branches/gcc-6-branch)
-@@ -1,3 +1,32 @@
+@@ -1,3 +1,40 @@
++2016-11-18  Walter Lee  <walt at tilera.com>
++
++	Backport from mainline
++	2016-11-18  Walter Lee  <walt at tilera.com>
++	
++	* config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to
++	tmake_file.
++
 +2016-11-16  Szabolcs Nagy  <szabolcs.nagy at arm.com>
 +
 +	Backport from mainline
@@ -6582,7 +6599,7 @@ Index: gcc/DATESTAMP
 +++ b/src/gcc/DATESTAMP	(.../branches/gcc-6-branch)
 @@ -1 +1 @@
 -20160822
-+20161118
++20161119
 Index: gcc/tree.c
 ===================================================================
 --- a/src/gcc/tree.c	(.../tags/gcc_6_2_0_release)
@@ -6978,7 +6995,22 @@ Index: gcc/ChangeLog
 ===================================================================
 --- a/src/gcc/ChangeLog	(.../tags/gcc_6_2_0_release)
 +++ b/src/gcc/ChangeLog	(.../branches/gcc-6-branch)
-@@ -1,3 +1,806 @@
+@@ -1,3 +1,821 @@
++2016-11-18  Walter Lee  <walt at tilera.com>
++
++	Backport from mainline
++	2016-11-18  Walter Lee  <walt at tilera.com>
++
++	* config/tilegx/tilegx.c (tilegx_gen_bundles): Preserve
++	  end-of-bundle marker for consecutive barriers.
++
++2016-11-18  Walter Lee  <walt at tilera.com>
++
++	Backport from mainline
++	2016-11-18  Walter Lee  <walt at tilera.com>
++
++	* config/tilegx/tilegx.md (clzsi2): Fix for big-endian.
++
 +2016-11-15  Matthias Klose  <doko at ubuntu.com>
 +
 +	* doc/install.texi: Move the 'Overriding configure test results'
@@ -7785,7 +7817,7 @@ Index: gcc/ChangeLog
  2016-08-22  Release Manager
  
  	* GCC 6.2.0 released.
-@@ -205,9 +1008,9 @@
+@@ -205,9 +1023,9 @@
  
  2016-08-09  Martin Jambor  <mjambor at suse.cz>
  
@@ -13110,6 +13142,22 @@ Index: gcc/testsuite/g++.dg/cpp0x/constexpr-recursion3.C
 +static int e = Foo (4);
 +static int g = Foo (6);
 +static int f = Foo (5);
+Index: gcc/testsuite/g++.dg/cpp0x/initlist-explicit1.C
+===================================================================
+--- a/src/gcc/testsuite/g++.dg/cpp0x/initlist-explicit1.C	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/testsuite/g++.dg/cpp0x/initlist-explicit1.C	(.../branches/gcc-6-branch)
+@@ -0,0 +1,11 @@
++// PR c++/67631
++// { dg-do compile { target c++11 } }
++
++struct X
++{
++  explicit operator unsigned ();
++};
++unsigned foo ()
++{
++  return unsigned{ X () };
++}
 Index: gcc/testsuite/g++.dg/cpp0x/pr71979.C
 ===================================================================
 --- a/src/gcc/testsuite/g++.dg/cpp0x/pr71979.C	(.../tags/gcc_6_2_0_release)
@@ -15450,7 +15498,14 @@ Index: gcc/cp/ChangeLog
 ===================================================================
 --- a/src/gcc/cp/ChangeLog	(.../tags/gcc_6_2_0_release)
 +++ b/src/gcc/cp/ChangeLog	(.../branches/gcc-6-branch)
-@@ -1,3 +1,56 @@
+@@ -1,3 +1,63 @@
++2016-11-18  Jason Merrill  <jason at redhat.com>
++
++	PR c++/67631 - list-init and explicit conversions
++	* semantics.c (finish_compound_literal): Call digest_init_flags.
++	* typeck2.c (digest_init_flags): Add complain parm.
++	(store_init_value): Pass it.
++
 +2016-11-17  Jason Merrill  <jason at redhat.com>
 +
 +	PR c++/68377
@@ -15507,6 +15562,54 @@ Index: gcc/cp/ChangeLog
  2016-08-22  Release Manager
  
  	* GCC 6.2.0 released.
+Index: gcc/cp/typeck2.c
+===================================================================
+--- a/src/gcc/cp/typeck2.c	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/cp/typeck2.c	(.../branches/gcc-6-branch)
+@@ -795,7 +795,7 @@
+     value = init;
+   else
+     /* Digest the specified initializer into an expression.  */
+-    value = digest_init_flags (type, init, flags);
++    value = digest_init_flags (type, init, flags, tf_warning_or_error);
+ 
+   value = extend_ref_init_temps (decl, value, cleanups);
+ 
+@@ -1161,9 +1161,9 @@
+ }
+ 
+ tree
+-digest_init_flags (tree type, tree init, int flags)
++digest_init_flags (tree type, tree init, int flags, tsubst_flags_t complain)
+ {
+-  return digest_init_r (type, init, false, flags, tf_warning_or_error);
++  return digest_init_r (type, init, false, flags, complain);
+ }
+ 
+ /* Process the initializer INIT for an NSDMI DECL (a FIELD_DECL).  */
+@@ -1179,7 +1179,7 @@
+   if (BRACE_ENCLOSED_INITIALIZER_P (init)
+       && CP_AGGREGATE_TYPE_P (type))
+     init = reshape_init (type, init, tf_warning_or_error);
+-  init = digest_init_flags (type, init, flags);
++  init = digest_init_flags (type, init, flags, tf_warning_or_error);
+   if (TREE_CODE (init) == TARGET_EXPR)
+     /* This represents the whole initialization.  */
+     TARGET_EXPR_DIRECT_INIT_P (init) = true;
+Index: gcc/cp/semantics.c
+===================================================================
+--- a/src/gcc/cp/semantics.c	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/cp/semantics.c	(.../branches/gcc-6-branch)
+@@ -2722,7 +2722,8 @@
+       if (type == error_mark_node)
+ 	return error_mark_node;
+     }
+-  compound_literal = digest_init (type, compound_literal, complain);
++  compound_literal = digest_init_flags (type, compound_literal, LOOKUP_NORMAL,
++					complain);
+   if (TREE_CODE (compound_literal) == CONSTRUCTOR)
+     TREE_HAS_CONSTRUCTOR (compound_literal) = true;
+   /* Put static/constant array temporaries in static variables, but always
 Index: gcc/cp/parser.c
 ===================================================================
 --- a/src/gcc/cp/parser.c	(.../tags/gcc_6_2_0_release)
@@ -15522,6 +15625,19 @@ Index: gcc/cp/parser.c
      error_at (location_of (expr1),
  	      "binary expression in operand of fold-expression");
    else if (TREE_CODE (expr1) == COND_EXPR)
+Index: gcc/cp/cp-tree.h
+===================================================================
+--- a/src/gcc/cp/cp-tree.h	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/cp/cp-tree.h	(.../branches/gcc-6-branch)
+@@ -6737,7 +6737,7 @@
+ extern tree split_nonconstant_init		(tree, tree);
+ extern bool check_narrowing			(tree, tree, tsubst_flags_t);
+ extern tree digest_init				(tree, tree, tsubst_flags_t);
+-extern tree digest_init_flags			(tree, tree, int);
++extern tree digest_init_flags			(tree, tree, int, tsubst_flags_t);
+ extern tree digest_nsdmi_init		        (tree, tree);
+ extern tree build_scoped_ref			(tree, tree, tree *);
+ extern tree build_x_arrow			(location_t, tree,
 Index: gcc/tree-ssa-propagate.c
 ===================================================================
 --- a/src/gcc/tree-ssa-propagate.c	(.../tags/gcc_6_2_0_release)
@@ -591800,6 +591916,71 @@ Index: gcc/config/i386/i386.c
  #undef TARGET_COMPARE_VERSION_PRIORITY
  #define TARGET_COMPARE_VERSION_PRIORITY ix86_compare_version_priority
  
+Index: gcc/config/tilegx/tilegx.md
+===================================================================
+--- a/src/gcc/config/tilegx/tilegx.md	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/config/tilegx/tilegx.md	(.../branches/gcc-6-branch)
+@@ -1798,20 +1798,21 @@
+   [(set_attr "type" "Y0")])
+ 
+ (define_expand "clzsi2"
+-  [(set (match_dup 2)
+-	(zero_extend:DI (match_operand:SI 1 "reg_or_0_operand" "")))
+-   (set (match_dup 2)
+-	(ashift:DI (match_dup 2)
+-                   (const_int 32)))
+-   (set (match_dup 2)
+-	(clz:DI (match_dup 2)))
+-   (set (match_operand:SI 0 "register_operand" "")
+-	(subreg:SI (match_dup 2) 0))]
+-   ""
+-   {
+-     operands[2] = gen_reg_rtx (DImode);
+-   })
++  [(set (match_operand:SI 0 "register_operand" "=r")
++       (clz:SI (match_operand:SI 1 "reg_or_0_operand" "rO")))]
++  ""
++  {
++    rtx tmp1 = gen_reg_rtx (DImode);
++    rtx tmp2 = gen_reg_rtx (DImode);
++    rtx tmp3 = gen_reg_rtx (DImode);
+ 
++    emit_insn (gen_zero_extendsidi2 (tmp1, operands[1]));
++    emit_insn (gen_ashldi3 (tmp2, tmp1, (GEN_INT (32))));
++    emit_insn (gen_clzdi2 (tmp3, tmp2));
++    emit_move_insn (operands[0], gen_lowpart (SImode, tmp3));
++    DONE;
++  })
++
+ (define_insn "ctz<mode>2"
+   [(set (match_operand:I48MODE 0 "register_operand" "=r")
+ 	(ctz:I48MODE (match_operand:DI 1 "reg_or_0_operand" "rO")))]
+Index: gcc/config/tilegx/tilegx.c
+===================================================================
+--- a/src/gcc/config/tilegx/tilegx.c	(.../tags/gcc_6_2_0_release)
++++ b/src/gcc/config/tilegx/tilegx.c	(.../branches/gcc-6-branch)
+@@ -4468,8 +4468,7 @@
+       rtx_insn *end = NEXT_INSN (BB_END (bb));
+ 
+       prev = NULL;
+-      for (insn = next_insn_to_bundle (BB_HEAD (bb), end); insn;
+-	   prev = insn, insn = next)
++      for (insn = next_insn_to_bundle (BB_HEAD (bb), end); insn; insn = next)
+ 	{
+ 	  next = next_insn_to_bundle (NEXT_INSN (insn), end);
+ 
+@@ -4505,7 +4504,11 @@
+ 		PUT_MODE (prev, QImode);
+ 	      }
+ 	    delete_insn (insn);
++
++            // Note: prev remains the same for next iteration.
+ 	  }
++          else
++            prev = insn;
+ 	}
+     }
+ }
 Index: gcc/config/avr/gen-avr-mmcu-texi.c
 ===================================================================
 --- a/src/gcc/config/avr/gen-avr-mmcu-texi.c	(.../tags/gcc_6_2_0_release)

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



More information about the Reproducible-commits mailing list