This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CFT: Fix PR 25636


Andrew Pinski wrote:

On Feb 15, 2006, at 5:28 PM, Eric Botcazou wrote:


I wouldn't mind seeing people test it on other machines, though. Eric, a
sparc bootstrap for the previous patch showed up some different code paths -
would you mind giving this new patch a spin?

Works For Me(tm).

And for me on powerpc-darwin with no regressions.

Thanks guys. Committed as 111129.



Bernd


Index: ChangeLog
===================================================================
--- ChangeLog	(revision 111128)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@
+2006-02-16  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+	PR rtl-optimization/25636
+	* local-alloc.c (update_equiv_regs): Lose a bogus rtx_equal_p test
+	when deciding whether an insn is an initializing insn.
+
 2006-02-15 Daniel Berlin  <dberlin@dberlin.org>
 
 	* tree.c (init_ttree): Add STRUCT_FIELD_TAG handling.
Index: local-alloc.c
===================================================================
--- local-alloc.c	(revision 111128)
+++ local-alloc.c	(working copy)
@@ -1,6 +1,7 @@
 /* Allocate registers within a basic block, for GNU compiler.
    Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
+   Inc.
 
 This file is part of GCC.
 
@@ -962,8 +963,7 @@ update_equiv_regs (void)
 
 	      /* If we haven't done so, record for reload that this is an
 		 equivalencing insn.  */
-	      if (!reg_equiv[regno].is_arg_equivalence
-		  && (!MEM_P (x) || rtx_equal_p (src, x)))
+	      if (!reg_equiv[regno].is_arg_equivalence)
 		reg_equiv_init[regno]
 		  = gen_rtx_INSN_LIST (VOIDmode, insn, reg_equiv_init[regno]);
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]