[gcc-6] 379/401: * Update to SVN 20170221 (r245621) from the gcc-6-branch. * Bump binutils version requirement.
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:50:42 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 14cd38a1e60dd897df873856213c01eb990d378e
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Tue Feb 21 14:03:31 2017 +0000
* Update to SVN 20170221 (r245621) from the gcc-6-branch.
* Bump binutils version requirement.
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9305 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 7 +-
debian/control | 2 +-
debian/patches/svn-updates.diff | 252 ++++++++++++++++++++++++++++++++++++++--
debian/rules.conf | 2 +-
4 files changed, 249 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 65c2c37..bbfdab3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
-gcc-6 (6.3.0-8) UNRELEASED; urgency=medium
+gcc-6 (6.3.0-8) unstable; urgency=medium
+ * Update to SVN 20170221 (r245621) from the gcc-6-branch.
+ - Fix ICEs PR middle-end/79537, PR sanitizer/79558, PR middle-end/79536.
* Fix ecj1 symlink for gcj cross compiler packages. Addresses: #855640.
+ * Bump binutils version requirement.
- -- Matthias Klose <doko at debian.org> Tue, 21 Feb 2017 10:28:40 +0100
+ -- Matthias Klose <doko at debian.org> Tue, 21 Feb 2017 14:54:53 +0100
gcc-6 (6.3.0-7) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index f4e0fa4..2901d1e 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14),
libunwind7-dev (>= 0.98.5-6) [ia64], libatomic-ops-dev [ia64],
autogen, gawk, lzma, xz-utils, patchutils,
zlib1g-dev, systemtap-sdt-dev [linux-any kfreebsd-any hurd-any],
- binutils:native (>= 2.27.90.20170218) | binutils-multiarch:native (>= 2.27.90.20170218), binutils-hppa64-linux-gnu:native (>= 2.27.90.20170218) [hppa amd64 i386 x32],
+ binutils:native (>= 2.27.90.20170221) | binutils-multiarch:native (>= 2.27.90.20170221), binutils-hppa64-linux-gnu:native (>= 2.27.90.20170221) [hppa amd64 i386 x32],
gperf (>= 3.0.1), bison (>= 1:2.3), flex, gettext,
gdb:native,
texinfo (>= 4.3), locales, sharutils,
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 471c65c..ab6a7a9 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 6 branch upto 20170218 (r245558).
+# DP: updates from the 6 branch upto 20170221 (r245621).
last_update()
{
cat > ${dir}LAST_UPDATED <EOF
-Sat Feb 18 05:58:19 CET 2017
-Sat Feb 18 04:58:19 UTC 2017 (revision 245558)
+Tue Feb 21 10:45:18 CET 2017
+Tue Feb 21 09:45:18 UTC 2017 (revision 245621)
EOF
}
@@ -3725,7 +3725,7 @@ Index: gcc/DATESTAMP
+++ b/src/gcc/DATESTAMP (.../branches/gcc-6-branch)
@@ -1 +1 @@
-20161221
-+20170218
++20170221
Index: gcc/postreload.c
===================================================================
--- a/src/gcc/postreload.c (.../tags/gcc_6_3_0_release)
@@ -3920,6 +3920,115 @@ Index: gcc/gcc.c
error ("language %s not recognized", language);
return 0;
}
+Index: gcc/fold-const.c
+===================================================================
+--- a/src/gcc/fold-const.c (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/fold-const.c (.../branches/gcc-6-branch)
+@@ -143,6 +143,7 @@
+ static tree fold_convert_const (enum tree_code, tree, tree);
+ static tree fold_view_convert_expr (tree, tree);
+ static bool vec_cst_ctor_to_array (tree, tree *);
++static tree fold_negate_expr (location_t, tree);
+
+
+ /* Return EXPR_LOCATION of T if it is not UNKNOWN_LOCATION.
+@@ -530,7 +531,7 @@
+ returned. */
+
+ static tree
+-fold_negate_expr (location_t loc, tree t)
++fold_negate_expr_1 (location_t loc, tree t)
+ {
+ tree type = TREE_TYPE (t);
+ tree tem;
+@@ -541,7 +542,7 @@
+ case BIT_NOT_EXPR:
+ if (INTEGRAL_TYPE_P (type))
+ return fold_build2_loc (loc, PLUS_EXPR, type, TREE_OPERAND (t, 0),
+- build_one_cst (type));
++ build_one_cst (type));
+ break;
+
+ case INTEGER_CST:
+@@ -589,14 +590,14 @@
+ case COMPLEX_EXPR:
+ if (negate_expr_p (t))
+ return fold_build2_loc (loc, COMPLEX_EXPR, type,
+- fold_negate_expr (loc, TREE_OPERAND (t, 0)),
+- fold_negate_expr (loc, TREE_OPERAND (t, 1)));
++ fold_negate_expr (loc, TREE_OPERAND (t, 0)),
++ fold_negate_expr (loc, TREE_OPERAND (t, 1)));
+ break;
+
+ case CONJ_EXPR:
+ if (negate_expr_p (t))
+ return fold_build1_loc (loc, CONJ_EXPR, type,
+- fold_negate_expr (loc, TREE_OPERAND (t, 0)));
++ fold_negate_expr (loc, TREE_OPERAND (t, 0)));
+ break;
+
+ case NEGATE_EXPR:
+@@ -615,7 +616,7 @@
+ {
+ tem = negate_expr (TREE_OPERAND (t, 1));
+ return fold_build2_loc (loc, MINUS_EXPR, type,
+- tem, TREE_OPERAND (t, 0));
++ tem, TREE_OPERAND (t, 0));
+ }
+
+ /* -(A + B) -> (-A) - B. */
+@@ -623,7 +624,7 @@
+ {
+ tem = negate_expr (TREE_OPERAND (t, 0));
+ return fold_build2_loc (loc, MINUS_EXPR, type,
+- tem, TREE_OPERAND (t, 1));
++ tem, TREE_OPERAND (t, 1));
+ }
+ }
+ break;
+@@ -634,7 +635,7 @@
+ && !HONOR_SIGNED_ZEROS (element_mode (type))
+ && reorder_operands_p (TREE_OPERAND (t, 0), TREE_OPERAND (t, 1)))
+ return fold_build2_loc (loc, MINUS_EXPR, type,
+- TREE_OPERAND (t, 1), TREE_OPERAND (t, 0));
++ TREE_OPERAND (t, 1), TREE_OPERAND (t, 0));
+ break;
+
+ case MULT_EXPR:
+@@ -649,11 +650,11 @@
+ tem = TREE_OPERAND (t, 1);
+ if (negate_expr_p (tem))
+ return fold_build2_loc (loc, TREE_CODE (t), type,
+- TREE_OPERAND (t, 0), negate_expr (tem));
++ TREE_OPERAND (t, 0), negate_expr (tem));
+ tem = TREE_OPERAND (t, 0);
+ if (negate_expr_p (tem))
+ return fold_build2_loc (loc, TREE_CODE (t), type,
+- negate_expr (tem), TREE_OPERAND (t, 1));
++ negate_expr (tem), TREE_OPERAND (t, 1));
+ }
+ break;
+
+@@ -726,6 +727,19 @@
+ return NULL_TREE;
+ }
+
++/* A wrapper for fold_negate_expr_1. */
++
++static tree
++fold_negate_expr (location_t loc, tree t)
++{
++ tree type = TREE_TYPE (t);
++ STRIP_SIGN_NOPS (t);
++ tree tem = fold_negate_expr_1 (loc, t);
++ if (tem == NULL_TREE)
++ return NULL_TREE;
++ return fold_convert_loc (loc, type, tem);
++}
++
+ /* Like fold_negate_expr, but return a NEGATE_EXPR tree, if T can not be
+ negated in a simpler way. Also allow for T to be NULL_TREE, in which case
+ return NULL_TREE. */
Index: gcc/omp-low.c
===================================================================
--- a/src/gcc/omp-low.c (.../tags/gcc_6_3_0_release)
@@ -4061,7 +4170,27 @@ Index: gcc/ChangeLog
===================================================================
--- a/src/gcc/ChangeLog (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/ChangeLog (.../branches/gcc-6-branch)
-@@ -1,3 +1,709 @@
+@@ -1,3 +1,729 @@
++2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ Backport from mainline
++ 2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ PR middle-end/79537
++ * gimplify.c (gimplify_expr): Handle unused *&&L;.
++
++ PR sanitizer/79558
++ * ubsan.c (ubsan_type_descriptor): Check if TYPE_MAX_VALUE is null.
++
++2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ Backport from mainline
++ 2017-02-17 Marek Polacek <polacek at redhat.com>
++
++ PR middle-end/79536
++ * fold-const.c (fold_negate_expr_1): Renamed from fold_negate_expr.
++ (fold_negate_expr): New wrapper.
++
+2017-02-17 Carl Love <cel at us.ibm.com>
+
+ Backport from mainline commit r245460 on 2017-02-14
@@ -4771,7 +4900,7 @@ Index: gcc/ChangeLog
2016-12-21 Release Manager
* GCC 6.3.0 released.
-@@ -68,11 +778,11 @@
+@@ -68,11 +798,11 @@
Backport from mainline
2016-11-07 Bernd Schmidt <bschmidt at redhat.com>
@@ -6669,6 +6798,32 @@ Index: gcc/testsuite/gcc.dg/graphite/pr71824.c
+ d = 0;
+ }
+}
+Index: gcc/testsuite/gcc.dg/comp-goto-4.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.dg/comp-goto-4.c (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/testsuite/gcc.dg/comp-goto-4.c (.../branches/gcc-6-branch)
+@@ -0,0 +1,21 @@
++/* PR middle-end/79537 */
++/* { dg-do compile } */
++/* { dg-options "" } */
++/* { dg-require-effective-target indirect_jumps } */
++/* { dg-require-effective-target label_values } */
++
++void
++f (void)
++{
++L:
++ *&&L;
++}
++
++void
++f2 (void)
++{
++ void *p;
++L:
++ p = &&L;
++ *p; /* { dg-warning "dereferencing 'void \\*' pointer" } */
++}
Index: gcc/testsuite/gcc.dg/lto/pr69188_0.c
===================================================================
--- a/src/gcc/testsuite/gcc.dg/lto/pr69188_0.c (.../tags/gcc_6_3_0_release)
@@ -6719,6 +6874,21 @@ Index: gcc/testsuite/gcc.dg/lto/pr69188_1.c
+ return 0;
+}
+
+Index: gcc/testsuite/gcc.dg/torture/pr79536.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.dg/torture/pr79536.c (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/testsuite/gcc.dg/torture/pr79536.c (.../branches/gcc-6-branch)
+@@ -0,0 +1,10 @@
++/* { dg-do compile } */
++
++typedef int A;
++int
++fn1 (A x, A y)
++{
++ if ((x + (x - y) * 1i) != -(-x + (y - x) * 1i))
++ return 1;
++ return 0;
++}
Index: gcc/testsuite/gcc.dg/torture/pr71055.c
===================================================================
--- a/src/gcc/testsuite/gcc.dg/torture/pr71055.c (.../tags/gcc_6_3_0_release)
@@ -6818,7 +6988,26 @@ 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,382 @@
+@@ -1,3 +1,401 @@
++2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ Backport from mainline
++ 2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ PR middle-end/79537
++ * gcc.dg/comp-goto-4.c: New.
++
++ PR sanitizer/79558
++ * c-c++-common/ubsan/bounds-14.c: New test.
++
++2017-02-20 Marek Polacek <polacek at redhat.com>
++
++ Backport from mainline
++ 2017-02-17 Marek Polacek <polacek at redhat.com>
++
++ PR middle-end/79536
++ * gcc.dg/torture/pr79536.c: New test.
++
+2017-01-17 Carl Love <cel at us.ibm.com>
+
+ Backport from mainline commit r245460 on 2017-02-14
@@ -7201,7 +7390,7 @@ Index: gcc/testsuite/ChangeLog
2016-12-21 Release Manager
* GCC 6.3.0 released.
-@@ -46,8 +425,8 @@
+@@ -46,8 +444,8 @@
Backport from mainline
2016-11-07 Bernd Schmidt <bschmidt at redhat.com>
@@ -7212,7 +7401,7 @@ Index: gcc/testsuite/ChangeLog
2016-12-12 Thomas Preud'homme <thomas.preudhomme at arm.com>
-@@ -456,7 +835,7 @@
+@@ -456,7 +854,7 @@
* g++.dg/torture/pr77822.C: New test.
2016-11-20 Harald Anlauf <anlauf at gmx.de>
@@ -7780,6 +7969,24 @@ Index: gcc/testsuite/g++.dg/template/bitfield3.C
+ if ((b << d) != 123)
+ __builtin_abort ();
+}
+Index: gcc/testsuite/c-c++-common/ubsan/bounds-14.c
+===================================================================
+--- a/src/gcc/testsuite/c-c++-common/ubsan/bounds-14.c (.../tags/gcc_6_3_0_release)
++++ b/src/gcc/testsuite/c-c++-common/ubsan/bounds-14.c (.../branches/gcc-6-branch)
+@@ -0,0 +1,13 @@
++/* PR sanitizer/79558 */
++/* { dg-do compile } */
++/* { dg-options "-fsanitize=bounds" } */
++
++void
++fn1 (int n)
++{
++ int i, j;
++ int x[2][0];
++ for (i = 0; i < n; i++)
++ for (j = 0; j < n; j++)
++ x[i][j] = 5;
++}
Index: gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-4.c
===================================================================
--- a/src/gcc/testsuite/c-c++-common/cilk-plus/CK/pr79428-4.c (.../tags/gcc_6_3_0_release)
@@ -9508,6 +9715,20 @@ Index: gcc/gimplify.c
{
remove = true;
/* For struct element mapping, if struct is never referenced
+@@ -11156,8 +11157,11 @@
+ if (fallback == fb_none && *expr_p && !is_gimple_stmt (*expr_p))
+ {
+ /* We aren't looking for a value, and we don't have a valid
+- statement. If it doesn't have side-effects, throw it away. */
+- if (!TREE_SIDE_EFFECTS (*expr_p))
++ statement. If it doesn't have side-effects, throw it away.
++ We can also get here with code such as "*&&L;", where L is
++ a LABEL_DECL that is marked as FORCED_LABEL. */
++ if (TREE_CODE (*expr_p) == LABEL_DECL
++ || !TREE_SIDE_EFFECTS (*expr_p))
+ *expr_p = NULL;
+ else if (!TREE_THIS_VOLATILE (*expr_p))
+ {
Index: gcc/graphite-scop-detection.c
===================================================================
--- a/src/gcc/graphite-scop-detection.c (.../tags/gcc_6_3_0_release)
@@ -9567,7 +9788,18 @@ Index: gcc/ubsan.c
===================================================================
--- a/src/gcc/ubsan.c (.../tags/gcc_6_3_0_release)
+++ b/src/gcc/ubsan.c (.../branches/gcc-6-branch)
-@@ -1471,7 +1471,7 @@
+@@ -408,7 +408,9 @@
+ {
+ pp_left_bracket (&pretty_name);
+ tree dom = TYPE_DOMAIN (t);
+- if (dom && TREE_CODE (TYPE_MAX_VALUE (dom)) == INTEGER_CST)
++ if (dom != NULL_TREE
++ && TYPE_MAX_VALUE (dom) != NULL_TREE
++ && TREE_CODE (TYPE_MAX_VALUE (dom)) == INTEGER_CST)
+ {
+ if (tree_fits_uhwi_p (TYPE_MAX_VALUE (dom))
+ && tree_to_uhwi (TYPE_MAX_VALUE (dom)) + 1 != 0)
+@@ -1471,7 +1473,7 @@
expanded_location xloc = expand_location (loc);
if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0
diff --git a/debian/rules.conf b/debian/rules.conf
index 9711c28..af510ea 100644
--- a/debian/rules.conf
+++ b/debian/rules.conf
@@ -211,7 +211,7 @@ else
else ifneq (,$(filter $(distrelease),xenial))
BINUTILSBDV = 2.26.1
else ifneq (,$(filter $(distrelease),sid stretch zesty))
- BINUTILSBDV = 2.27.90.20170218
+ BINUTILSBDV = 2.27.90.20170221
endif
endif
ifeq ($(DEB_CROSS),yes)
--
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