[gcc] 4.7.0-0.8.fc17

Jakub Jelinek jakub at fedoraproject.org
Thu Jan 19 19:38:04 UTC 2012


commit 15d1c7249fd5ed9a91a4c82f2a12f26b002bf70d
Author: Jakub Jelinek <jakub at redhat.com>
Date:   Thu Jan 19 20:38:00 2012 +0100

    4.7.0-0.8.fc17

 .gitignore          |    1 +
 gcc.spec            |   21 +++++++++++-----
 gcc47-pr50325.patch |   62 ---------------------------------------------------
 gcc47-pr51856.patch |   45 +++++++++++++++++++++++++++++++++++++
 gcc47-pr51876.patch |   17 --------------
 sources             |    2 +-
 6 files changed, 61 insertions(+), 87 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b00df73..92fa084 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
 /gcc-4.7.0-20120106.tar.bz2
 /gcc-4.7.0-20120112.tar.bz2
 /gcc-4.7.0-20120117.tar.bz2
+/gcc-4.7.0-20120119.tar.bz2
diff --git a/gcc.spec b/gcc.spec
index f66bc65..52740ec 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -1,9 +1,9 @@
-%global DATE 20120117
-%global SVNREV 183258
+%global DATE 20120119
+%global SVNREV 183308
 %global gcc_version 4.7.0
 # Note, gcc_release must be integer, if you want to add suffixes to
 # %{release}, append them after %{gcc_release} on Release: line.
-%global gcc_release 0.7
+%global gcc_release 0.8
 %global _unpackaged_files_terminate_build 0
 %global multilib_64_archs sparc64 ppc64 s390x x86_64
 %ifarch %{ix86} x86_64 ia64 ppc ppc64 alpha
@@ -174,8 +174,7 @@ Patch12: gcc47-libstdc++-docs.patch
 Patch13: gcc47-no-add-needed.patch
 Patch14: gcc47-ppl-0.10.patch
 Patch15: gcc47-libitm-fno-exceptions.patch
-Patch16: gcc47-pr50325.patch
-Patch17: gcc47-pr51876.patch
+Patch16: gcc47-pr51856.patch
 
 Patch1000: fastjar-0.97-segfault.patch
 Patch1001: fastjar-0.97-len1.patch
@@ -675,8 +674,7 @@ package or when debugging this package.
 %patch14 -p0 -b .ppl-0.10~
 %endif
 %patch15 -p0 -b .libitm-fno-exceptions~
-%patch16 -p0 -b .pr50325~
-%patch17 -p0 -b .pr51876~
+%patch16 -p0 -b .pr51856~
 
 %if 0%{?_enable_debug_packages}
 cat > split-debuginfo.sh <<\EOF
@@ -2637,6 +2635,15 @@ fi
 %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_version}/plugin
 
 %changelog
+* Thu Jan 19 2012 Jakub Jelinek <jakub at redhat.com> 4.7.0-0.8
+- update from trunk
+  - PRs bootstrap/50237, c++/51225, c++/51889, fortran/48426, fortran/51634,
+	go/50656, libmudflap/40778, libstdc++/51845, libstdc++/51866,
+	lto/51280, middle-end/51192, rtl-optimization/48496,
+	rtl-optimization/51505, tree-optimization/37997,
+	tree-optimization/46590
+- fix a reload bug on s390 (#773565, PR rtl-optimization/51856)
+
 * Tue Jan 17 2012 Jakub Jelinek <jakub at redhat.com> 4.7.0-0.7
 - update from trunk
   - PRs bootstrap/51860, c++/14179, c++/20681, c++/50012, c++/51403,
diff --git a/gcc47-pr51856.patch b/gcc47-pr51856.patch
new file mode 100644
index 0000000..56a8ba4
--- /dev/null
+++ b/gcc47-pr51856.patch
@@ -0,0 +1,45 @@
+2012-01-19  Andreas Krebbel  <Andreas.Krebbel at de.ibm.com>
+
+	PR rtl-optimization/51856
+	* reload.c (find_reloads_subreg_address): Set the address_reloaded
+	flag to reloaded.
+
+	* gcc.c-torture/compile/pr51856.c: New testcase.
+
+--- gcc/reload.c.jj	2012-01-05 21:54:36.000000000 +0100
++++ gcc/reload.c	2012-01-19 20:17:26.151735687 +0100
+@@ -6232,7 +6232,7 @@ find_reloads_subreg_address (rtx x, int 
+ 	}
+     }
+   if (reloaded && address_reloaded)
+-    *address_reloaded = 1;
++    *address_reloaded = reloaded;
+ 
+   return x;
+ }
+--- gcc/testsuite/gcc.c-torture/compile/pr51856.c.jj	2012-01-19 20:17:26.151735687 +0100
++++ gcc/testsuite/gcc.c-torture/compile/pr51856.c	2012-01-19 20:17:26.151735687 +0100
+@@ -0,0 +1,23 @@
++struct B { int b1; long long b2, b3; int b4; };
++struct C { char c1[40], c2, c3[96]; long long c4[5], c5; char c6[596]; };
++void fn1 (long long), fn2 (char *, int), fn4 (void);
++int r, fn3 (int, const char *, int, char *, int, int);
++
++void
++foo (int t, int u, int v, int w, int x, int y, struct B *z)
++{
++  char c[512], d[512], e;
++  struct C g;
++  long long f, h[255];
++  struct B j;
++  __builtin_bzero (&j, sizeof j);
++  if (y > w)
++    fn4 ();
++  __builtin_bzero (&g, sizeof g);
++  g.c5 = h[0];
++  fn1 (z ? z->b3 : f);
++  g.c2 = y;
++  fn2 (d, 256);
++  if (fn3 (r, "", e, c, 0, 16))
++    fn4 ();
++}
diff --git a/sources b/sources
index 4686b52..86ce8b4 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 2659f09c2e43ef8b7d4406321753f1b2  fastjar-0.97.tar.gz
-d0ca06c510747d217e2450e3a33a3a5a  gcc-4.7.0-20120117.tar.bz2
+9aa7323402e9680079c3f1d16bdc595f  gcc-4.7.0-20120119.tar.bz2


More information about the scm-commits mailing list