rpms/gcc/F-12 gcc44-rh529512.patch, NONE, 1.1 .cvsignore, 1.303, 1.304 gcc.spec, 1.82, 1.83 sources, 1.307, 1.308

Jakub Jelinek jakub at fedoraproject.org
Sun Oct 18 19:46:30 UTC 2009


Author: jakub

Update of /cvs/pkgs/rpms/gcc/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28686

Modified Files:
	.cvsignore gcc.spec sources 
Added Files:
	gcc44-rh529512.patch 
Log Message:
4.4.2-4

gcc44-rh529512.patch:
 cfgexpand.c                    |    3 +++
 testsuite/gcc.dg/debug/vta-3.c |   17 +++++++++++++++++
 2 files changed, 20 insertions(+)

--- NEW FILE gcc44-rh529512.patch ---
2009-10-18  Jakub Jelinek  <jakub at redhat.com>

	* cfgexpand.c (expand_debug_expr): Fail if bitpos < 0 for non-MEM
	op0.

	* gcc.dg/debug/vta-3.c: New test.

--- gcc/cfgexpand.c.jj	2009-10-16 01:45:11.000000000 +0200
+++ gcc/cfgexpand.c	2009-10-18 14:02:25.000000000 +0200
@@ -2593,6 +2593,9 @@ expand_debug_expr (tree exp)
 	if (bitpos == 0 && mode == GET_MODE (op0))
 	  return op0;
 
+        if (bitpos < 0)
+          return NULL;
+
 	if ((bitpos % BITS_PER_UNIT) == 0
 	    && bitsize == GET_MODE_BITSIZE (mode1))
 	  {
--- gcc/testsuite/gcc.dg/debug/vta-3.c.jj	2009-10-18 14:44:12.000000000 +0200
+++ gcc/testsuite/gcc.dg/debug/vta-3.c	2009-10-18 14:44:32.000000000 +0200
@@ -0,0 +1,17 @@
+/* { dg-do compile } */
+
+int
+foo (void)
+{
+  union { char e[8]; int i; } a, b;
+  char *c, *d;
+  unsigned int i;
+  c = a.e;
+  d = &b.e[sizeof (int) - 1];
+  for (i = 0; i < sizeof (int); i++)
+    {
+      *d = *c++;
+      --d;
+    }
+  return b.i;
+}


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/.cvsignore,v
retrieving revision 1.303
retrieving revision 1.304
diff -u -p -r1.303 -r1.304
--- .cvsignore	17 Oct 2009 22:09:38 -0000	1.303
+++ .cvsignore	18 Oct 2009 19:46:30 -0000	1.304
@@ -1,2 +1,2 @@
 fastjar-0.97.tar.gz
-gcc-4.4.2-20091017.tar.bz2
+gcc-4.4.2-20091018.tar.bz2


Index: gcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/gcc.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -p -r1.82 -r1.83
--- gcc.spec	17 Oct 2009 22:09:38 -0000	1.82
+++ gcc.spec	18 Oct 2009 19:46:30 -0000	1.83
@@ -1,9 +1,9 @@
-%global DATE 20091017
-%global SVNREV 152957
+%global DATE 20091018
+%global SVNREV 152967
 %global gcc_version 4.4.2
 # 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 3
+%global gcc_release 4
 %global _unpackaged_files_terminate_build 0
 %global multilib_64_archs sparc64 ppc64 s390x x86_64
 %global include_gappletviewer 1
@@ -165,6 +165,7 @@ Patch19: gcc44-ppc64-aixdesc.patch
 Patch20: gcc44-pr40521.patch
 Patch21: gcc44-unwind-leltgegt.patch
 Patch22: gcc44-pr40521-2.patch
+Patch23: gcc44-rh529512.patch
 
 Patch1000: fastjar-0.97-segfault.patch
 
@@ -474,6 +475,7 @@ which are required to compile with the G
 %patch20 -p0 -b .pr40521~
 %patch21 -p0 -b .unwind-leltgegt~
 %patch22 -p0 -b .pr40521-2~
+%patch23 -p0 -b .rh529512~
 
 # This testcase doesn't compile.
 rm libjava/testsuite/libjava.lang/PR35020*
@@ -1855,6 +1857,12 @@ fi
 %doc rpm.doc/changelogs/libmudflap/ChangeLog*
 
 %changelog
+* Sun Oct 18 2009 Jakub Jelinek <jakub at redhat.com> 4.4.2-4
+- update from gcc-4_4-branch
+  - PRs c++/37204, c++/37766, c++/37875, c++/38798, c++/40092,
+	libstdc++/40654, libstdc++/40826
+- fix VTA ICE on invalid pointer arithmetics (#529512)
+
 * Sat Oct 17 2009 Jakub Jelinek <jakub at redhat.com> 4.4.2-3
 - fix VTA handling in the scheduler (PR debug/41535)
 - fix up %%check section to be able to find ecj1


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/sources,v
retrieving revision 1.307
retrieving revision 1.308
diff -u -p -r1.307 -r1.308
--- sources	17 Oct 2009 22:09:38 -0000	1.307
+++ sources	18 Oct 2009 19:46:30 -0000	1.308
@@ -1,2 +1,2 @@
 2659f09c2e43ef8b7d4406321753f1b2  fastjar-0.97.tar.gz
-b848bfbd9f0a7662dc812e10fb88376d  gcc-4.4.2-20091017.tar.bz2
+ec0efd8c06411b8416255df19f880444  gcc-4.4.2-20091018.tar.bz2




More information about the fedora-extras-commits mailing list