[gcc-6] 374/401: * Update to SVN 20170214 (r245414) from the gcc-6-branch.
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:50:41 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 c3133e099f2dc5febf05dd30fc1ed35822c81e39
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Tue Feb 14 02:49:03 2017 +0000
* Update to SVN 20170214 (r245414) from the gcc-6-branch.
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9299 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 7 +-
debian/patches/svn-updates.diff | 249 ++++++++++++++++++++++++++++++++++++++--
2 files changed, 245 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c2c8a0b..e692135 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,13 @@
gcc-6 (6.3.0-7) UNRELEASED; urgency=medium
- * Update to SVN 20170211 (r245353) from the gcc-6-branch.
+ * Update to SVN 20170214 (r245414) from the gcc-6-branch.
- Fix PR target/78945 (ARM), PR translation/79397,
PR tree-optimization/71824, PR tree-optimization/71824,
- PR tree-optimization/77318, PR target/71017 (x86), PR c++/78897.
+ PR tree-optimization/77318, PR target/71017 (x86), PR c++/78897,
+ PR c++/78908, PR c++/79296 (closes: #854692).
* Update the Linaro support to the 6.3-2017.02 snapshot.
- -- Matthias Klose <doko at ubuntu.com> Sat, 11 Feb 2017 01:49:22 +0100
+ -- Matthias Klose <doko at debian.org> Tue, 14 Feb 2017 03:32:01 +0100
gcc-6 (6.3.0-6) unstable; urgency=medium
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 0267264..23a68b4 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 6 branch upto 20170211 (r245353).
+# DP: updates from the 6 branch upto 20170214 (r245414).
last_update()
{
cat > ${dir}LAST_UPDATED <EOF
-Sat Feb 11 01:43:35 CET 2017
-Sat Feb 11 00:43:35 UTC 2017 (revision 245353)
+Tue Feb 14 03:16:34 CET 2017
+Tue Feb 14 02:16:34 UTC 2017 (revision 245414)
EOF
}
@@ -1431,7 +1431,7 @@ Index: gcc/DATESTAMP
+++ b/src/gcc/DATESTAMP (.../branches/gcc-6-branch)
@@ -1 +1 @@
-20161221
-+20170211
++20170214
Index: gcc/postreload.c
===================================================================
--- a/src/gcc/postreload.c (.../tags/gcc_6_3_0_release)
@@ -1675,7 +1675,15 @@ Index: gcc/ChangeLog
===================================================================
--- a/src/gcc/ChangeLog (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/ChangeLog (.../branches/gcc-6-branch)
-@@ -1,3 +1,460 @@
+@@ -1,3 +1,468 @@
++2017-02-13 Gerald Pfeifer <gerald at pfeifer.com>
++
++ Backport from mainline
++ 2016-12-11 Roger Pau Monné <roger.pau at citrix.com>
++
++ * config/i386/x86-64.h: Append --32 to the assembler options when
++ -m16 is used on non-glibc systems as well.
++
+2017-02-08 Segher Boessenkool <segher at kernel.crashing.org>
+
+ PR translation/79397
@@ -4025,7 +4033,12 @@ Index: gcc/testsuite/ChangeLog
===================================================================
--- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/testsuite/ChangeLog (.../branches/gcc-6-branch)
-@@ -1,3 +1,314 @@
+@@ -1,3 +1,319 @@
++2017-02-13 Nathan Sidwell <nathan at acm.org>
++
++ PR c++/79296
++ * g++.dg/cpp0x/pr79296.C: New.
++
+2017-02-08 Richard Biener <rguenther at suse.de>
+
+ Backport from mainline
@@ -4544,6 +4557,29 @@ Index: gcc/testsuite/g++.dg/cpp0x/range-for32.C
+ for (auto x : (A<int>[]) { a })
+ ;
+}
+Index: gcc/testsuite/g++.dg/cpp0x/pr79296.C
+===================================================================
+--- a/src/gcc/testsuite/g++.dg/cpp0x/pr79296.C (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/testsuite/g++.dg/cpp0x/pr79296.C (.../branches/gcc-6-branch)
+@@ -0,0 +1,18 @@
++// { dg-require-effective-target lto }
++// { dg-additional-options "-flto" }
++// { dg-do compile { target c++11 } }
++
++// PR 79296 ICE mangling local class of localized instantiation
++
++struct X {
++ template <typename T> X (T const *) {
++ struct Z {};
++ }
++};
++
++void Baz ()
++{
++ struct Y { } y;
++
++ 0, X (&y);
++}
Index: gcc/testsuite/g++.dg/cpp0x/range-for33.C
===================================================================
--- a/src/gcc/testsuite/g++.dg/cpp0x/range-for33.C (.../tags/gcc_6_3_0_release)
@@ -4728,6 +4764,31 @@ Index: gcc/testsuite/g++.dg/vect/pr36648.cc
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { { { ! vect_no_align } && { ! powerpc*-*-* } } || { powerpc*-*-* && vect_hw_misalign } } } } } */
+
+Index: gcc/testsuite/g++.dg/template/bitfield3.C
+===================================================================
+--- a/src/gcc/testsuite/g++.dg/template/bitfield3.C (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/testsuite/g++.dg/template/bitfield3.C (.../branches/gcc-6-branch)
+@@ -0,0 +1,20 @@
++// PR c++/78908
++
++struct A { int a : 1; };
++struct F { int foo (A const &); };
++template <typename> struct O : F { int foo (A const &); };
++struct S {} b;
++template <typename L, typename T> int operator<< (L, T) { return (T) 123; }
++template <typename T> int O<T>::foo (A const &x) { return b << x.a; }
++
++int
++main ()
++{
++ A a = { 0 };
++ O<int> o;
++ if (o.foo (a) != 123)
++ __builtin_abort ();
++ signed char d = 2;
++ if ((b << d) != 123)
++ __builtin_abort ();
++}
Index: gcc/testsuite/c-c++-common/Wunused-var-16.c
===================================================================
--- a/src/gcc/testsuite/c-c++-common/Wunused-var-16.c (.../tags/gcc_6_3_0_release)
@@ -4789,6 +4850,15 @@ Index: gcc/cp/tree.c
===================================================================
--- a/src/gcc/cp/tree.c (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/cp/tree.c (.../branches/gcc-6-branch)
+@@ -2775,7 +2775,7 @@
+
+ t = make_node (code);
+ length = TREE_CODE_LENGTH (code);
+- TREE_TYPE (t) = TREE_TYPE (non_dep);
++ TREE_TYPE (t) = unlowered_expr_type (non_dep);
+ TREE_SIDE_EFFECTS (t) = TREE_SIDE_EFFECTS (non_dep);
+
+ for (i = 0; i < length; i++)
@@ -4146,6 +4146,14 @@
if (TREE_PUBLIC (decl))
return lk_external;
@@ -4808,7 +4878,18 @@ Index: gcc/cp/ChangeLog
===================================================================
--- a/src/gcc/cp/ChangeLog (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/cp/ChangeLog (.../branches/gcc-6-branch)
-@@ -1,3 +1,53 @@
+@@ -1,3 +1,64 @@
++2017-02-13 Nathan Sidwell <nathan at acm.org>
++
++ PR c++/79296 - ICE mangling localized template instantiation
++ * decl2.c (determine_visibility): Use template fn context for
++ local class instantiations.
++
++2017-02-11 Jason Merrill <jason at redhat.com>
++
++ PR c++/78908 - template ops and bitfields
++ * tree.c (build_min_non_dep): Use unlowered_expr_type.
++
+2017-02-10 Jason Merrill <jason at redhat.com>
+
+ PR c++/78897 - constexpr union
@@ -4881,6 +4962,94 @@ Index: gcc/cp/decl2.c
gcc_checking_assert (!DECL_COMDAT (decl));
return false;
}
+@@ -2272,11 +2280,6 @@
+ void
+ determine_visibility (tree decl)
+ {
+- tree class_type = NULL_TREE;
+- bool use_template;
+- bool orig_visibility_specified;
+- enum symbol_visibility orig_visibility;
+-
+ /* Remember that all decls get VISIBILITY_DEFAULT when built. */
+
+ /* Only relevant for names with external linkage. */
+@@ -2288,25 +2291,28 @@
+ maybe_clone_body. */
+ gcc_assert (!DECL_CLONED_FUNCTION_P (decl));
+
+- orig_visibility_specified = DECL_VISIBILITY_SPECIFIED (decl);
+- orig_visibility = DECL_VISIBILITY (decl);
++ bool orig_visibility_specified = DECL_VISIBILITY_SPECIFIED (decl);
++ enum symbol_visibility orig_visibility = DECL_VISIBILITY (decl);
+
++ /* The decl may be a template instantiation, which could influence
++ visibilty. */
++ tree template_decl = NULL_TREE;
+ if (TREE_CODE (decl) == TYPE_DECL)
+ {
+ if (CLASS_TYPE_P (TREE_TYPE (decl)))
+- use_template = CLASSTYPE_USE_TEMPLATE (TREE_TYPE (decl));
++ {
++ if (CLASSTYPE_USE_TEMPLATE (TREE_TYPE (decl)))
++ template_decl = decl;
++ }
+ else if (TYPE_TEMPLATE_INFO (TREE_TYPE (decl)))
+- use_template = 1;
+- else
+- use_template = 0;
++ template_decl = decl;
+ }
+- else if (DECL_LANG_SPECIFIC (decl))
+- use_template = DECL_USE_TEMPLATE (decl);
+- else
+- use_template = 0;
++ else if (DECL_LANG_SPECIFIC (decl) && DECL_USE_TEMPLATE (decl))
++ template_decl = decl;
+
+ /* If DECL is a member of a class, visibility specifiers on the
+ class can influence the visibility of the DECL. */
++ tree class_type = NULL_TREE;
+ if (DECL_CLASS_SCOPE_P (decl))
+ class_type = DECL_CONTEXT (decl);
+ else
+@@ -2349,8 +2355,11 @@
+ }
+
+ /* Local classes in templates have CLASSTYPE_USE_TEMPLATE set,
+- but have no TEMPLATE_INFO, so don't try to check it. */
+- use_template = 0;
++ but have no TEMPLATE_INFO. Their containing template
++ function does, and the local class could be constrained
++ by that. */
++ if (template_decl)
++ template_decl = fn;
+ }
+ else if (VAR_P (decl) && DECL_TINFO_P (decl)
+ && flag_visibility_ms_compat)
+@@ -2380,7 +2389,7 @@
+ && !CLASSTYPE_VISIBILITY_SPECIFIED (TREE_TYPE (DECL_NAME (decl))))
+ targetm.cxx.determine_class_data_visibility (decl);
+ }
+- else if (use_template)
++ else if (template_decl)
+ /* Template instantiations and specializations get visibility based
+ on their template unless they override it with an attribute. */;
+ else if (! DECL_VISIBILITY_SPECIFIED (decl))
+@@ -2397,11 +2406,11 @@
+ }
+ }
+
+- if (use_template)
++ if (template_decl)
+ {
+ /* If the specialization doesn't specify visibility, use the
+ visibility from the template. */
+- tree tinfo = get_template_info (decl);
++ tree tinfo = get_template_info (template_decl);
+ tree args = TI_ARGS (tinfo);
+ tree attribs = (TREE_CODE (decl) == TYPE_DECL
+ ? TYPE_ATTRIBUTES (TREE_TYPE (decl))
Index: gcc/cp/parser.c
===================================================================
--- a/src/gcc/cp/parser.c (.../tags/gcc_6_3_0_release)
@@ -5664,6 +5833,57 @@ Index: gcc/go/gofrontend/expressions.cc
if (is_comparison)
{
+Index: gcc/ada/ChangeLog
+===================================================================
+--- a/src/gcc/ada/ChangeLog (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/ada/ChangeLog (.../branches/gcc-6-branch)
+@@ -1,3 +1,7 @@
++2017-02-12 John Marino <gnugcc at marino.st>
++
++ * gcc-interface/Makefile.in: Support aarch64-freebsd.
++
+ 2016-12-21 Release Manager
+
+ * GCC 6.3.0 released.
+Index: gcc/ada/gcc-interface/Makefile.in
+===================================================================
+--- a/src/gcc/ada/gcc-interface/Makefile.in (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/ada/gcc-interface/Makefile.in (.../branches/gcc-6-branch)
+@@ -1475,6 +1475,34 @@
+ LIBRARY_VERSION := $(LIB_VERSION)
+ endif
+
++# aarch64 FreeBSD
++ifeq ($(strip $(filter-out %aarch64 freebsd%,$(target_cpu) $(target_os))),)
++ LIBGNAT_TARGET_PAIRS = \
++ a-intnam.ads<a-intnam-freebsd.ads \
++ s-inmaop.adb<s-inmaop-posix.adb \
++ s-intman.adb<s-intman-posix.adb \
++ s-mudido.adb<s-mudido-affinity.adb \
++ s-osinte.adb<s-osinte-freebsd.adb \
++ s-osinte.ads<s-osinte-freebsd.ads \
++ s-osprim.adb<s-osprim-posix.adb \
++ s-taprop.adb<s-taprop-posix.adb \
++ s-taspri.ads<s-taspri-posix.ads \
++ s-tpopsp.adb<s-tpopsp-posix.adb \
++ $(ATOMICS_TARGET_PAIRS) \
++ $(ATOMICS_BUILTINS_TARGET_PAIRS) \
++ system.ads<system-freebsd-x86_64.ads
++
++ TOOLS_TARGET_PAIRS = \
++ mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb
++ GNATLIB_SHARED = gnatlib-shared-dual
++
++ EH_MECHANISM=-gcc
++ THREADSLIB= -lpthread
++ GMEM_LIB = gmemlib
++ LIBRARY_VERSION := $(LIB_VERSION)
++ MISCLIB = -lutil
++endif
++
+ # x86 FreeBSD
+ ifeq ($(strip $(filter-out %86 freebsd%,$(target_cpu) $(target_os))),)
+ LIBGNAT_TARGET_PAIRS = \
Index: gcc/asan.c
===================================================================
--- a/src/gcc/asan.c (.../tags/gcc_6_3_0_release)
@@ -47649,6 +47869,19 @@ Index: gcc/config/i386/stringop.opt
-
-#undef DEF_ENUM
-#undef DEF_ALG
+Index: gcc/config/i386/x86-64.h
+===================================================================
+--- a/src/gcc/config/i386/x86-64.h (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/config/i386/x86-64.h (.../branches/gcc-6-branch)
+@@ -49,7 +49,7 @@
+ #define WCHAR_TYPE_SIZE 32
+
+ #undef ASM_SPEC
+-#define ASM_SPEC "%{m32:--32} %{m64:--64} %{mx32:--x32}"
++#define ASM_SPEC "%{m16|m32:--32} %{m64:--64} %{mx32:--x32}"
+
+ #undef ASM_OUTPUT_ALIGNED_BSS
+ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
Index: gcc/config/i386/rtemself.h
===================================================================
--- a/src/gcc/config/i386/rtemself.h (.../tags/gcc_6_3_0_release)
@@ -48537,7 +48770,7 @@ Property changes on: gcc
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
- Merged /trunk/gcc:r243962
+ Merged /trunk/gcc:r243528,243962
Index: libgo/runtime/go-unsafe-pointer.c
===================================================================
--- a/src/libgo/runtime/go-unsafe-pointer.c (.../tags/gcc_6_3_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