This commit is contained in:
Jakub Jelinek 2009-11-02 15:58:47 +00:00
parent 400e8045f3
commit 76ec317715
4 changed files with 13 additions and 60 deletions

View File

@ -1,2 +1,2 @@
fastjar-0.97.tar.gz
gcc-4.4.2-20091027.tar.bz2
gcc-4.4.2-20091102.tar.bz2

View File

@ -1,9 +1,9 @@
%global DATE 20091027
%global SVNREV 153611
%global DATE 20091102
%global SVNREV 153815
%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 7
%global gcc_release 8
%global _unpackaged_files_terminate_build 0
%global multilib_64_archs sparc64 ppc64 s390x x86_64
%global include_gappletviewer 1
@ -161,7 +161,6 @@ Patch16: gcc44-unwind-debug-hook.patch
Patch17: gcc44-pr38757.patch
Patch18: gcc44-libstdc++-docs.patch
Patch19: gcc44-ppc64-aixdesc.patch
Patch20: gcc44-pr41762.patch
Patch1000: fastjar-0.97-segfault.patch
@ -467,7 +466,6 @@ which are required to compile with the GNAT.
%patch18 -p0 -b .libstdc++-docs~
%endif
%patch19 -p0 -b .ppc64-aixdesc~
%patch20 -p0 -b .pr41762~
# This testcase doesn't compile.
rm libjava/testsuite/libjava.lang/PR35020*
@ -1849,6 +1847,14 @@ fi
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
%changelog
* Mon Nov 2 2009 Jakub Jelinek <jakub@redhat.com> 4.4.2-8
- update from gcc-4_4-branch
- PRs c++/41754, fortran/41777, fortran/41850, libstdc++/40852
- fix ICE with unmatched #pragma GCC visibility push/pop (PR c++/41774)
- fix VTA ICE with -combine (#531385, PR debug/41893)
- fix RTTI for anon namespace classes
- fix incorrect uses of __restrict keyword in valarray (PR libstdc++/41763)
* Tue Oct 27 2009 Jakub Jelinek <jakub@redhat.com> 4.4.2-7
- update from gcc-4_4-branch
- PRs c++/40808, c/41842, cp-tools/39177

View File

@ -1,53 +0,0 @@
2009-10-23 Jakub Jelinek <jakub@redhat.com>
PR target/41762
* config/i386/i386.c (ix86_pic_register_p): Don't call
rtx_equal_for_cselib_p for VALUEs discarded as useless.
* gcc.dg/pr41762.c: New test.
--- gcc/config/i386/i386.c.jj 2009-09-29 17:58:03.000000000 +0200
+++ gcc/config/i386/i386.c 2009-10-23 19:08:19.000000000 +0200
@@ -10379,7 +10379,7 @@ i386_output_dwarf_dtprel (FILE *file, in
static bool
ix86_pic_register_p (rtx x)
{
- if (GET_CODE (x) == VALUE)
+ if (GET_CODE (x) == VALUE && CSELIB_VAL_PTR (x))
return (pic_offset_table_rtx
&& rtx_equal_for_cselib_p (x, pic_offset_table_rtx));
else
--- gcc/testsuite/gcc.dg/pr41762.c.jj 2009-10-23 19:15:42.000000000 +0200
+++ gcc/testsuite/gcc.dg/pr41762.c 2009-10-23 19:14:35.000000000 +0200
@@ -0,0 +1,31 @@
+/* PR target/41762 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -ftracer -fsched2-use-superblocks" } */
+/* { dg-options "-O2 -ftracer -fsched2-use-superblocks -fpic" { target fpic } } */
+
+extern __SIZE_TYPE__ strlen (const char *);
+extern int f1 (void *);
+extern char *f2 (void);
+extern void f3 (int, int);
+static char *a;
+char *b, *c, *d, *e;
+
+void
+foo (void)
+{
+ int f, g, h;
+ f = (a ? strlen (a) : strlen ("abcde"));
+ f += (b ? strlen (b) : 0);
+ f += (c ? strlen (c) : 0);
+ f += (d ? strlen (d) : 0);
+ f += (e ? strlen (e) : 0);
+ h = f1 (strlen);
+ g = strlen (a);
+ f3 (g, f);
+}
+
+void
+bar (void)
+{
+ a = f2 ();
+}

View File

@ -1,2 +1,2 @@
2659f09c2e43ef8b7d4406321753f1b2 fastjar-0.97.tar.gz
d1da0b301783d57866ef992131a307a1 gcc-4.4.2-20091027.tar.bz2
8f38c8b13882de64cc13ecaeb540c3d6 gcc-4.4.2-20091102.tar.bz2