OSDN Git Service

Merge dataflow branch into mainline
[pf3gnuchains/gcc-fork.git] / gcc / config / crx / crx.c
index 7b8efee..f73348e 100644 (file)
@@ -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