X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fconfig%2Fcrx%2Fcrx.c;h=f73348e3c88e97dbd44eeac3ba1dbfe71fa206d6;hb=3072d30e7983a3ca5ad030f1f98a5c39bcc2c07b;hp=7b8efee42b05c60d80d46bb393e1875b34bcdd1a;hpb=8ceb1bfd33bc40bf0cbe1fab8903c2c31efd10ee;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/config/crx/crx.c b/gcc/config/crx/crx.c index 7b8efee42b0..f73348e3c88 100644 --- a/gcc/config/crx/crx.c +++ b/gcc/config/crx/crx.c @@ -1,6 +1,6 @@ /* Output routines for GCC for CRX. Copyright (C) 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004 Free Software Foundation, Inc. + 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. @@ -272,7 +272,7 @@ crx_compute_save_regs (void) * for the sake of its sons. */ save_regs[regno] = 1; - else if (regs_ever_live[regno]) + else if (df_regs_ever_live_p (regno)) /* This reg is used - save it. */ save_regs[regno] = 1; else @@ -282,7 +282,7 @@ crx_compute_save_regs (void) else { /* If this reg is used and not call-used (except RA), save it. */ - if (regs_ever_live[regno] + if (df_regs_ever_live_p (regno) && (!call_used_regs[regno] || regno == RETURN_ADDRESS_REGNUM)) save_regs[regno] = 1; else