diff options
author | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-26 09:10:04 +0000 |
---|---|---|
committer | doko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca> | 2014-05-26 09:10:04 +0000 |
commit | 8ddec0bb056d436315a7028fcd8f59b05969ea54 (patch) | |
tree | 628a3c63fa169e7addb81b14b6c4975d376f39a9 | |
parent | 6ad269518a6c87643fe77d32a2c962f24906487c (diff) | |
download | gcc-48-8ddec0bb056d436315a7028fcd8f59b05969ea54.tar.gz |
* Update to SVN 20140526 (r210209) from the gcc-4_8-branch.
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.8@7409 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/patches/svn-updates.diff | 197 | ||||
-rw-r--r-- | debian/rules.patch | 3 |
3 files changed, 201 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog index 5623752..ac76c0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gcc-4.8 (4.8.3-2) UNRELEASED; urgency=medium + + * Update to SVN 20140526 (r210209) from the gcc-4_8-branch. + + -- Matthias Klose <doko@debian.org> Mon, 26 May 2014 11:07:40 +0200 + gcc-4.8 (4.8.3-1) unstable; urgency=medium * GCC 4.8.3 release. diff --git a/debian/patches/svn-updates.diff b/debian/patches/svn-updates.diff index be9c8b4..aa3fd4c 100644 --- a/debian/patches/svn-updates.diff +++ b/debian/patches/svn-updates.diff @@ -1,10 +1,10 @@ -# DP: updates from the 4.8 branch upto 20140516 (r210514). +# DP: updates from the 4.8 branch upto 20140526 (r210928). last_updated() { cat > ${dir}LAST_UPDATED <<EOF -Fri May 16 13:28:00 CEST 2014 -Fri May 16 11:28:00 UTC 2014 (revision 210514) +Mon May 26 10:59:53 CEST 2014 +Mon May 26 08:59:53 UTC 2014 (revision 210928) EOF } @@ -12,3 +12,194 @@ LANG=C svn diff svn://gcc.gnu.org/svn/gcc/tags/gcc_4_8_3_release svn://gcc.gnu.o | sed -r 's,^--- (\S+)\t(\S+)(.*)$,--- a/src/\1\t\2,;s,^\+\+\+ (\S+)\t(\S+)(.*)$,+++ b/src/\1\t\2,' \ | awk '/^Index:.*\.(class|texi)/ {skip=1; next} /^Index:/ { skip=0 } skip==0' +Index: gcc/DATESTAMP +=================================================================== +--- a/src/gcc/DATESTAMP (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/DATESTAMP (.../branches/gcc-4_8-branch) +@@ -1 +1 @@ +-20140522 ++20140526 +Index: gcc/ChangeLog +=================================================================== +--- a/src/gcc/ChangeLog (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/ChangeLog (.../branches/gcc-4_8-branch) +@@ -1,3 +1,28 @@ ++2014-05-26 Michael Tautschnig <mt@debian.org> ++ ++ PR target/61249 ++ * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of ++ __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256. ++ ++2014-05-23 Alan Modra <amodra@gmail.com> ++ ++ PR target/61231 ++ * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode. ++ * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell): ++ Use "Y" constraint rather than "m". ++ ++2014-05-22 Peter Bergner <bergner@vnet.ibm.com> ++ ++ Backport from mainline ++ 2014-05-22 Peter Bergner <bergner@vnet.ibm.com> ++ ++ * config/rs6000/htm.md (ttest): Use correct shift value to get CR0. ++ ++2014-05-22 Richard Earnshaw <rearnsha@arm.com> ++ ++ PR target/61208 ++ * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2. ++ + 2014-05-22 Release Manager + + * GCC 4.8.3 released. +Index: gcc/testsuite/gcc.target/powerpc/htm-ttest.c +=================================================================== +--- a/src/gcc/testsuite/gcc.target/powerpc/htm-ttest.c (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/testsuite/gcc.target/powerpc/htm-ttest.c (.../branches/gcc-4_8-branch) +@@ -0,0 +1,14 @@ ++/* { dg-do compile { target { powerpc*-*-* } } } */ ++/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ ++/* { dg-require-effective-target powerpc_htm_ok } */ ++/* { dg-options "-O2 -mhtm" } */ ++ ++/* { dg-final { scan-assembler "rlwinm r?\[0-9\]+,r?\[0-9\]+,3,30,31" { target { ilp32 } } } } */ ++/* { dg-final { scan-assembler "rldicl r?\[0-9\]+,r?\[0-9\]+,35,62" { target { lp64 } } } } */ ++ ++#include <htmintrin.h> ++long ++ttest (void) ++{ ++ return _HTM_STATE(__builtin_ttest()); ++} +Index: gcc/testsuite/ChangeLog +=================================================================== +--- a/src/gcc/testsuite/ChangeLog (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/testsuite/ChangeLog (.../branches/gcc-4_8-branch) +@@ -1,3 +1,10 @@ ++2014-05-22 Peter Bergner <bergner@vnet.ibm.com> ++ ++ Backport from mainline ++ 2014-05-22 Peter Bergner <bergner@vnet.ibm.com> ++ ++ * gcc.target/powerpc/htm-ttest.c: New test. ++ + 2014-05-22 Release Manager + + * GCC 4.8.3 released. +Index: gcc/config/rs6000/htm.md +=================================================================== +--- a/src/gcc/config/rs6000/htm.md (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/config/rs6000/htm.md (.../branches/gcc-4_8-branch) +@@ -179,7 +179,7 @@ + (const_int 0)] + UNSPECV_HTM_TABORTWCI)) + (set (subreg:CC (match_dup 2) 0) (match_dup 1)) +- (set (match_dup 3) (lshiftrt:SI (match_dup 2) (const_int 24))) ++ (set (match_dup 3) (lshiftrt:SI (match_dup 2) (const_int 28))) + (parallel [(set (match_operand:SI 0 "int_reg_operand" "") + (and:SI (match_dup 3) (const_int 15))) + (clobber (scratch:CC))])] +Index: gcc/config/rs6000/rs6000.c +=================================================================== +--- a/src/gcc/config/rs6000/rs6000.c (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/config/rs6000/rs6000.c (.../branches/gcc-4_8-branch) +@@ -6109,7 +6109,8 @@ + return false; + + extra = GET_MODE_SIZE (mode) - UNITS_PER_WORD; +- gcc_assert (extra >= 0); ++ if (extra < 0) ++ extra = 0; + + if (GET_CODE (addr) == LO_SUM) + /* For lo_sum addresses, we must allow any offset except one that +Index: gcc/config/rs6000/rs6000.md +=================================================================== +--- a/src/gcc/config/rs6000/rs6000.md (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/config/rs6000/rs6000.md (.../branches/gcc-4_8-branch) +@@ -737,7 +737,7 @@ + + (define_insn "*extendsidi2_lfiwax" + [(set (match_operand:DI 0 "gpc_reg_operand" "=r,r,??wm,!wl,!wu") +- (sign_extend:DI (match_operand:SI 1 "lwa_operand" "m,r,r,Z,Z")))] ++ (sign_extend:DI (match_operand:SI 1 "lwa_operand" "Y,r,r,Z,Z")))] + "TARGET_POWERPC64 && TARGET_LFIWAX" + "@ + lwa%U1%X1 %0,%1 +@@ -760,7 +760,7 @@ + + (define_insn "*extendsidi2_nocell" + [(set (match_operand:DI 0 "gpc_reg_operand" "=r,r") +- (sign_extend:DI (match_operand:SI 1 "lwa_operand" "m,r")))] ++ (sign_extend:DI (match_operand:SI 1 "lwa_operand" "Y,r")))] + "TARGET_POWERPC64 && rs6000_gen_cell_microcode && !TARGET_LFIWAX" + "@ + lwa%U1%X1 %0,%1 +Index: gcc/config/arm/arm.md +=================================================================== +--- a/src/gcc/config/arm/arm.md (.../tags/gcc_4_8_3_release) ++++ b/src/gcc/config/arm/arm.md (.../branches/gcc-4_8-branch) +@@ -7630,12 +7630,13 @@ + + (define_insn "*arm_cmpdi_unsigned" + [(set (reg:CC_CZ CC_REGNUM) +- (compare:CC_CZ (match_operand:DI 0 "s_register_operand" "r") +- (match_operand:DI 1 "arm_di_operand" "rDi")))] ++ (compare:CC_CZ (match_operand:DI 0 "s_register_operand" "r,r") ++ (match_operand:DI 1 "arm_di_operand" "rDi,rDi")))] + "TARGET_32BIT" + "cmp\\t%R0, %R1\;it eq\;cmpeq\\t%Q0, %Q1" + [(set_attr "conds" "set") +- (set_attr "length" "8")] ++ (set_attr "arch" "a,t2") ++ (set_attr "length" "8,10")] + ) + + (define_insn "*arm_cmpdi_zero" +Index: libgfortran/ChangeLog +=================================================================== +--- a/src/libgfortran/ChangeLog (.../tags/gcc_4_8_3_release) ++++ b/src/libgfortran/ChangeLog (.../branches/gcc-4_8-branch) +@@ -1,3 +1,10 @@ ++2014-05-25 Janne Blomqvist <jb@gcc.gnu.org> ++ ++ Backport from trunk. ++ PR libfortran/61187 ++ * io/unix.c (raw_close): Check if s->fd is -1. ++ (fd_to_stream): Check return value of fstat(), handle error. ++ + 2014-05-22 Release Manager + + * GCC 4.8.3 released. +Index: libgfortran/io/unix.c +=================================================================== +--- a/src/libgfortran/io/unix.c (.../tags/gcc_4_8_3_release) ++++ b/src/libgfortran/io/unix.c (.../branches/gcc-4_8-branch) +@@ -407,7 +407,9 @@ + { + int retval; + +- if (s->fd != STDOUT_FILENO ++ if (s->fd == -1) ++ retval = -1; ++ else if (s->fd != STDOUT_FILENO + && s->fd != STDERR_FILENO + && s->fd != STDIN_FILENO) + retval = close (s->fd); +@@ -983,7 +985,15 @@ + + /* Get the current length of the file. */ + +- fstat (fd, &statbuf); ++ if (fstat (fd, &statbuf) == -1) ++ { ++ s->st_dev = s->st_ino = -1; ++ s->file_length = 0; ++ if (errno == EBADF) ++ s->fd = -1; ++ raw_init (s); ++ return (stream *) s; ++ } + + s->st_dev = statbuf.st_dev; + s->st_ino = statbuf.st_ino; diff --git a/debian/rules.patch b/debian/rules.patch index 8b87c53..390fd2c 100644 --- a/debian/rules.patch +++ b/debian/rules.patch @@ -13,11 +13,10 @@ series_file ?= $(patchdir)/series # which patches should be applied? debian_patches = \ + svn-updates \ $(if $(with_linaro_branch),gcc-linaro) \ $(if $(with_linaro_branch),gcc-linaro-no-local) \ -# svn-updates \ - ifeq ($(with_java),yes) # debian_patches += \ # svn-class-updates |