summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-16 01:26:54 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-16 01:26:54 +0000
commit5db4834161b1b379dcdce282cf5f1d751a10797e (patch)
treee96a023be74a5ca6ea77c495571a180f659e446a /gcc/local-alloc.c
parentf19c99112d9ac4fd711ed8432506b8c1dd1d9b3c (diff)
downloadgcc-5db4834161b1b379dcdce282cf5f1d751a10797e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111129 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index d22e9e736fb..820e0b654bf 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -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]);