This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[vtab] merge from trunk, then fix ra-conflict regression
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 09 Oct 2007 15:07:37 -0300
- Subject: [vtab] merge from trunk, then fix ra-conflict regression
Last night I merged the trunk into the var-tracking-assignments
branch. Patch can be obtained with svn diff
svn://gcc.gnu.org/svn/gcc/tags/var-tracking-assignments-merge-129153-{before,after}
ra-conflict needed tweaking to cope with debug insns. Patch below
installed in the branch.
Index: gcc/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* ra-conflict.c (global_conflicts): Skip debug insns.
Index: gcc/ra-conflict.c
===================================================================
--- gcc/ra-conflict.c (revision 129161)
+++ gcc/ra-conflict.c (working copy)
@@ -811,7 +811,7 @@
struct df_ref **def_rec;
struct df_ref **use_rec;
- if (!INSN_P (insn))
+ if (!INSN_P (insn) || DEBUG_INSN_P (insn))
continue;
if (dump_file)
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}