rpms/gcc/F-12 gcc44-vta-pr41353-c9.patch, NONE, 1.1 gcc44-vta-rh521991-2.patch, NONE, 1.1 .cvsignore, 1.297, 1.298 gcc.spec, 1.76, 1.77 sources, 1.301, 1.302 gcc44-pr41317.patch, 1.1, NONE
Jakub Jelinek
jakub at fedoraproject.org
Thu Oct 8 08:41:16 UTC 2009
Author: jakub
Update of /cvs/pkgs/rpms/gcc/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23093
Modified Files:
.cvsignore gcc.spec sources
Added Files:
gcc44-vta-pr41353-c9.patch gcc44-vta-rh521991-2.patch
Removed Files:
gcc44-pr41317.patch
Log Message:
4.4.1-20
gcc44-vta-pr41353-c9.patch:
regmove.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
--- NEW FILE gcc44-vta-pr41353-c9.patch ---
2009-10-07 Alexandre Oliva <aoliva at redhat.com>
PR debug/41353
* regmove.c (regmove_backward_pass): Replace src with dst in the
debug insn, and check for dst before rather than after.
--- gcc/regmove.c.orig 2009-10-06 03:51:43.000000000 -0300
+++ gcc/regmove.c 2009-10-07 02:35:36.000000000 -0300
@@ -1117,23 +1117,28 @@ regmove_backward_pass (void)
break;
}
- /* We can't make this change if SRC is read or
+ /* We can't make this change if DST is mentioned at
+ all in P, since we are going to change its value.
+ We can't make this change if SRC is read or
partially written in P, since we are going to
- eliminate SRC. We can't make this change
- if DST is mentioned at all in P,
- since we are going to change its value. */
- if (reg_overlap_mentioned_p (src, PATTERN (p)))
+ eliminate SRC. However, if it's a debug insn, we
+ can't refrain from making the change, for this
+ would cause codegen differences, so instead we
+ invalidate debug expressions that reference DST,
+ and adjust references to SRC in them so that they
+ become references to DST. */
+ if (reg_mentioned_p (dst, PATTERN (p)))
{
if (DEBUG_INSN_P (p))
- validate_replace_rtx_group (dst, src, insn);
+ validate_change (p, &INSN_VAR_LOCATION_LOC (p),
+ gen_rtx_UNKNOWN_VAR_LOC (), 1);
else
break;
}
- if (reg_mentioned_p (dst, PATTERN (p)))
+ if (reg_overlap_mentioned_p (src, PATTERN (p)))
{
if (DEBUG_INSN_P (p))
- validate_change (p, &INSN_VAR_LOCATION_LOC (p),
- gen_rtx_UNKNOWN_VAR_LOC (), 1);
+ validate_replace_rtx_group (src, dst, p);
else
break;
}
gcc44-vta-rh521991-2.patch:
testsuite/gcc.dg/debug/vta-2.c | 22 ++++++++++++++++++++++
tree-ssa-operands.c | 6 +++++-
2 files changed, 27 insertions(+), 1 deletion(-)
--- NEW FILE gcc44-vta-rh521991-2.patch ---
2009-10-08 Jakub Jelinek <jakub at redhat.com>
* tree-ssa-operands.c (pop_stmt_changes): In DEBUG stmts, if
an SSA operand is DECL_P and referenced, mark it for renaming.
* gcc.dg/debug/vta-2.c: New test.
--- gcc/tree-ssa-operands.c.jj 2009-10-08 01:08:23.000000000 +0200
+++ gcc/tree-ssa-operands.c 2009-10-08 08:57:45.000000000 +0200
@@ -2715,12 +2715,16 @@ pop_stmt_changes (gimple *stmt_p)
if (gimple_debug_bind_p (stmt))
{
FOR_EACH_SSA_TREE_OPERAND (op, stmt, iter, SSA_OP_DEF|SSA_OP_USE)
- if (DECL_P (op) && !referenced_var_p (op))
+ if (!DECL_P (op))
+ continue;
+ else if (!referenced_var_p (op))
{
gimple_debug_bind_reset_value (stmt);
update_stmt (stmt);
break;
}
+ else
+ mark_sym_for_renaming (op);
}
else
{
--- gcc/testsuite/gcc.dg/debug/vta-2.c.jj 2009-10-08 09:55:36.000000000 +0200
+++ gcc/testsuite/gcc.dg/debug/vta-2.c 2009-10-08 09:55:49.000000000 +0200
@@ -0,0 +1,22 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -g" } */
+
+static int
+bar (void *a, unsigned int b, int n)
+{
+ int c = *(unsigned long *) a % b;
+ *(unsigned long *) a = (int) (*(unsigned long *) a) / b;
+ return c;
+}
+
+int
+foo (unsigned long x, int *y, int z)
+{
+ int level;
+ for (level = 0; level < *y; level++)
+ {
+ bar (&x, z, sizeof (x));
+ if (x)
+ return *y - 1;
+ }
+}
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/.cvsignore,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -p -r1.297 -r1.298
--- .cvsignore 5 Oct 2009 20:24:56 -0000 1.297
+++ .cvsignore 8 Oct 2009 08:41:15 -0000 1.298
@@ -1,2 +1,2 @@
fastjar-0.97.tar.gz
-gcc-4.4.1-20091005.tar.bz2
+gcc-4.4.1-20091008.tar.bz2
Index: gcc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/gcc.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- gcc.spec 5 Oct 2009 20:24:57 -0000 1.76
+++ gcc.spec 8 Oct 2009 08:41:15 -0000 1.77
@@ -1,9 +1,9 @@
-%global DATE 20091005
-%global SVNREV 152471
+%global DATE 20091008
+%global SVNREV 152555
%global gcc_version 4.4.1
# 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 19
+%global gcc_release 20
%global _unpackaged_files_terminate_build 0
%global multilib_64_archs sparc64 ppc64 s390x x86_64
%global include_gappletviewer 1
@@ -161,7 +161,8 @@ Patch17: gcc44-pr38757.patch
Patch18: gcc44-libstdc++-docs.patch
Patch19: gcc44-ppc64-aixdesc.patch
Patch20: gcc44-vta-rh521991.patch
-Patch21: gcc44-pr41317.patch
+Patch21: gcc44-vta-rh521991-2.patch
+Patch22: gcc44-vta-pr41353-c9.patch
Patch1000: fastjar-0.97-segfault.patch
@@ -469,7 +470,8 @@ which are required to compile with the G
%endif
%patch19 -p0 -b .ppc64-aixdesc~
%patch20 -p0 -b .vta-rh521991~
-%patch21 -p0 -b .pr41317~
+%patch21 -p0 -b .vta-rh521991-2~
+%patch22 -p0 -b .vta-pr41353-c9~
# This testcase doesn't compile.
rm libjava/testsuite/libjava.lang/PR35020*
@@ -1839,6 +1841,13 @@ fi
%doc rpm.doc/changelogs/libmudflap/ChangeLog*
%changelog
+* Thu Oct 8 2009 Jakub Jelinek <jakub at redhat.com> 4.4.1-20
+- update from gcc-4_4-branch
+ - PRs c++/39863, c++/41038
+- avoid redundant DW_AT_const_value when abstract origin already has one
+ (#527430)
+- another VTA debug stmt renaming bugfix (#521991)
+
* Mon Oct 5 2009 Jakub Jelinek <jakub at redhat.com> 4.4.1-19
- update from gcc-4_4-branch
- PRs fortran/41479, fortran/41515
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gcc/F-12/sources,v
retrieving revision 1.301
retrieving revision 1.302
diff -u -p -r1.301 -r1.302
--- sources 5 Oct 2009 20:24:57 -0000 1.301
+++ sources 8 Oct 2009 08:41:15 -0000 1.302
@@ -1,2 +1,2 @@
2659f09c2e43ef8b7d4406321753f1b2 fastjar-0.97.tar.gz
-c89041d608f2c9f1711384305660a6ec gcc-4.4.1-20091005.tar.bz2
+c4c9ad868e890c2a8de2f96496e74b12 gcc-4.4.1-20091008.tar.bz2
--- gcc44-pr41317.patch DELETED ---
More information about the fedora-extras-commits
mailing list