summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-09-02 14:37:04 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-09-02 14:37:04 +0000
commit7e3db6dd9a109c4112cedd8806805b7953034b8f (patch)
treebf9b4ca6d673b9e42ac5bb076ef974db0dcd76ef /debian
parent7e62f84cfe17c68fe34e739c525aff78ecd07d90 (diff)
downloadgcc-5-7e3db6dd9a109c4112cedd8806805b7953034b8f.tar.gz
* Update to SVN 20150902 (r227402, 5.2.1) from the gcc-5-branch.
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@8213 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog4
-rw-r--r--debian/patches/svn-updates.diff159
2 files changed, 151 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index fee2d3d..195d754 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
gcc-5 (5.2.1-16) UNRELEASED; urgency=medium
- * Update to SVN 20150828 (r227299, 5.2.1) from the gcc-5-branch.
+ * Update to SVN 20150902 (r227402, 5.2.1) from the gcc-5-branch.
- Backport the filesystem TS library.
* libstdc++-dev: Install libstdc++fs.a.
* Again, configure with --enable-targets=powerpcle-linux on ppc64el.
@@ -8,7 +8,7 @@ gcc-5 (5.2.1-16) UNRELEASED; urgency=medium
* libgo-dev: Install libgolibbegin.a.
* Apply proposed patch for PR target/67280 (ARM). LP: #1482320.
- -- Matthias Klose <doko@debian.org> Fri, 28 Aug 2015 16:20:22 +0200
+ -- Matthias Klose <doko@debian.org> Wed, 02 Sep 2015 16:29:44 +0200
gcc-5 (5.2.1-15) unstable; urgency=medium
diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff
index 7b529a5..654608a 100644
--- a/debian/patches/svn-updates.diff
+++ b/debian/patches/svn-updates.diff
@@ -1,10 +1,10 @@
-# DP: updates from the 5 branch upto 20150828 (r227299).
+# DP: updates from the 5 branch upto 20150902 (r227402).
last_update()
{
cat > ${dir}LAST_UPDATED <EOF
-Fri Aug 28 16:16:24 CEST 2015
-Fri Aug 28 14:16:24 UTC 2015 (revision 227299)
+Wed Sep 2 16:14:59 CEST 2015
+Wed Sep 2 14:14:59 UTC 2015 (revision 227402)
EOF
}
@@ -11886,7 +11886,7 @@ Index: gcc/DATESTAMP
+++ b/src/gcc/DATESTAMP (.../branches/gcc-5-branch)
@@ -1 +1 @@
-20150716
-+20150828
++20150902
Index: gcc/postreload.c
===================================================================
--- a/src/gcc/postreload.c (.../tags/gcc_5_2_0_release)
@@ -12351,7 +12351,23 @@ Index: gcc/ChangeLog
===================================================================
--- a/src/gcc/ChangeLog (.../tags/gcc_5_2_0_release)
+++ b/src/gcc/ChangeLog (.../branches/gcc-5-branch)
-@@ -1,3 +1,552 @@
+@@ -1,3 +1,568 @@
++2015-09-02 Alan Modra <amodra@gmail.com>
++
++ PR target/67417
++ * config/rs6000/predicates.md (current_file_function_operand): Don't
++ return true for weak symbols.
++ * config/rs6000/rs6000.c (rs6000_function_ok_for_sibcall): Likewise.
++
++2015-08-31 Marek Polacek <polacek@redhat.com>
++
++ Backport from mainline
++ 2015-08-27 Marek Polacek <polacek@redhat.com>
++
++ PR middle-end/67005
++ * tree-ssa-dce.c (remove_dead_stmt): Also schedule fixup if removing
++ an entry into an irreducible region.
++
+2015-08-27 Pat Haugen <pthaugen@us.ibm.com>
+
+ Backport from mainline:
@@ -12904,7 +12920,7 @@ Index: gcc/ChangeLog
2015-07-16 Release Manager
* GCC 5.2.0 released.
-@@ -119,8 +668,8 @@
+@@ -119,8 +684,8 @@
2015-07-09 Iain Sandoe <iain@codesourcery.com>
PR target/66523
@@ -14852,6 +14868,26 @@ Index: gcc/testsuite/gcc.dg/lto/chkp-removed-alias_0.c
+{
+ return s.fnptr[argc] (argv[0]);
+}
+Index: gcc/testsuite/gcc.dg/torture/pr67005.c
+===================================================================
+--- a/src/gcc/testsuite/gcc.dg/torture/pr67005.c (.../tags/gcc_5_2_0_release)
++++ b/src/gcc/testsuite/gcc.dg/torture/pr67005.c (.../branches/gcc-5-branch)
+@@ -0,0 +1,15 @@
++/* { dg-do compile } */
++
++int a;
++void
++f (void)
++{
++ if (!a);
++ else
++ lbl:
++ a = a;
++
++ if (a)
++ a = 8;
++ goto lbl;
++}
Index: gcc/testsuite/gcc.dg/pr67028.c
===================================================================
--- a/src/gcc/testsuite/gcc.dg/pr67028.c (.../tags/gcc_5_2_0_release)
@@ -14882,7 +14918,15 @@ Index: gcc/testsuite/ChangeLog
===================================================================
--- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_5_2_0_release)
+++ b/src/gcc/testsuite/ChangeLog (.../branches/gcc-5-branch)
-@@ -1,3 +1,384 @@
+@@ -1,3 +1,392 @@
++2015-08-31 Marek Polacek <polacek@redhat.com>
++
++ Backport from mainline
++ 2015-08-27 Marek Polacek <polacek@redhat.com>
++
++ PR middle-end/67005
++ * gcc.dg/torture/pr67005.c: New test.
++
+2015-08-27 Pat Haugen <pthaugen@us.ibm.com>
+
+ Backport from mainline:
@@ -15267,7 +15311,7 @@ Index: gcc/testsuite/ChangeLog
2015-07-16 Release Manager
* GCC 5.2.0 released.
-@@ -792,7 +1173,7 @@
+@@ -792,7 +1181,7 @@
Add missing ChangeLog entry for r222341.
Backport from trunk r222273
@@ -533331,6 +533375,26 @@ Index: gcc/po/zh_CN.po
#, fuzzy
#~ msgid "taking address of array of runtime bound"
#~ msgstr "取一个类型为%<void%>的表达式的地址"
+Index: gcc/tree-ssa-dce.c
+===================================================================
+--- a/src/gcc/tree-ssa-dce.c (.../tags/gcc_5_2_0_release)
++++ b/src/gcc/tree-ssa-dce.c (.../branches/gcc-5-branch)
+@@ -1149,10 +1149,11 @@
+ if (e != e2)
+ {
+ cfg_altered = true;
+- /* If we made a BB unconditionally exit a loop then this
+- transform alters the set of BBs in the loop. Schedule
+- a fixup. */
+- if (loop_exit_edge_p (bb->loop_father, e))
++ /* If we made a BB unconditionally exit a loop or removed
++ an entry into an irreducible region, then this transform
++ alters the set of BBs in the loop. Schedule a fixup. */
++ if (loop_exit_edge_p (bb->loop_father, e)
++ || (e2->dest->flags & BB_IRREDUCIBLE_LOOP))
+ loops_state_set (LOOPS_NEED_FIXUP);
+ remove_edge (e2);
+ }
Index: gcc/graphite-sese-to-poly.c
===================================================================
--- a/src/gcc/graphite-sese-to-poly.c (.../tags/gcc_5_2_0_release)
@@ -534543,6 +534607,29 @@ Index: gcc/config/rs6000/vector.md
}
emit_insn (insn);
+Index: gcc/config/rs6000/predicates.md
+===================================================================
+--- a/src/gcc/config/rs6000/predicates.md (.../tags/gcc_5_2_0_release)
++++ b/src/gcc/config/rs6000/predicates.md (.../branches/gcc-5-branch)
+@@ -1048,12 +1048,12 @@
+ (define_predicate "current_file_function_operand"
+ (and (match_code "symbol_ref")
+ (match_test "(DEFAULT_ABI != ABI_AIX || SYMBOL_REF_FUNCTION_P (op))
+- && ((SYMBOL_REF_LOCAL_P (op)
+- && ((DEFAULT_ABI != ABI_AIX
+- && DEFAULT_ABI != ABI_ELFv2)
+- || !SYMBOL_REF_EXTERNAL_P (op)))
+- || (op == XEXP (DECL_RTL (current_function_decl),
+- 0)))")))
++ && (SYMBOL_REF_LOCAL_P (op)
++ || op == XEXP (DECL_RTL (current_function_decl), 0))
++ && !((DEFAULT_ABI == ABI_AIX
++ || DEFAULT_ABI == ABI_ELFv2)
++ && (SYMBOL_REF_EXTERNAL_P (op)
++ || SYMBOL_REF_WEAK (op)))")))
+
+ ;; Return 1 if this operand is a valid input for a move insn.
+ (define_predicate "input_operand"
Index: gcc/config/rs6000/htm.md
===================================================================
--- a/src/gcc/config/rs6000/htm.md (.../tags/gcc_5_2_0_release)
@@ -534718,7 +534805,15 @@ Index: gcc/config/rs6000/rs6000.c
emit_label (XEXP (label2, 0));
if (shift)
-@@ -32274,6 +32303,8 @@
+@@ -22311,6 +22340,7 @@
+ || ((DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_ELFv2)
+ && decl
+ && !DECL_EXTERNAL (decl)
++ && !DECL_WEAK (decl)
+ && (*targetm.binds_local_p) (decl))
+ || (DEFAULT_ABI == ABI_V4
+ && (!TARGET_SECURE_PLT
+@@ -32274,6 +32304,8 @@
{ "crypto", OPTION_MASK_CRYPTO, false, true },
{ "direct-move", OPTION_MASK_DIRECT_MOVE, false, true },
{ "dlmzb", OPTION_MASK_DLMZB, false, true },
@@ -535529,11 +535624,55 @@ Index: libgo/Makefile.am
$(syscall_uname_file) \
$(syscall_netlink_file) \
$(syscall_lsf_file) \
+Index: libgfortran/configure
+===================================================================
+--- a/src/libgfortran/configure (.../tags/gcc_5_2_0_release)
++++ b/src/libgfortran/configure (.../branches/gcc-5-branch)
+@@ -16525,6 +16525,15 @@
+ $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
+
+ fi
++
++ # ARM, AArch64 and SH also provide ftruncate.
++ case "${host}" in
++ arm* | aarch64* | sh*)
++
++$as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
++
++ ;;
++ esac
+ else
+
+
+Index: libgfortran/configure.ac
+===================================================================
+--- a/src/libgfortran/configure.ac (.../tags/gcc_5_2_0_release)
++++ b/src/libgfortran/configure.ac (.../branches/gcc-5-branch)
+@@ -295,6 +295,13 @@
+ if test x"long_double_math_on_this_cpu" = x"yes"; then
+ AC_DEFINE(HAVE_STRTOLD, 1, [Define if you have strtold.])
+ fi
++
++ # ARM, AArch64 and SH also provide ftruncate.
++ case "${host}" in
++ arm* | aarch64* | sh*)
++ AC_DEFINE(HAVE_FTRUNCATE, 1, [Define if you have ftruncate.])
++ ;;
++ esac
+ else
+ AC_CHECK_FUNCS_ONCE(getrusage times mkstemp strtof strtold snprintf \
+ ftruncate chsize chdir getlogin gethostname kill link symlink sleep ttyname \
Index: libgfortran/ChangeLog
===================================================================
--- a/src/libgfortran/ChangeLog (.../tags/gcc_5_2_0_release)
+++ b/src/libgfortran/ChangeLog (.../branches/gcc-5-branch)
-@@ -1,3 +1,14 @@
+@@ -1,3 +1,20 @@
++2015-08-28 James Greenhalgh <james.greenhalgh@arm.com>
++
++ * configure.ac: Define HAVE_FTRUNCATE for ARM/AArch64/SH newlib
++ builds.
++ * configure: Regenerate.
++
+2015-08-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/66936