OSDN Git Service

2006-01-27 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 03:12:35 +0000 (03:12 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jan 2006 03:12:35 +0000 (03:12 +0000)
* df-scan.c (df_record_entry_block_defs): Check if
INCOMING_RETURN_ADDR_RTX is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110320 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/df-scan.c

index 867b674..16762cc 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * df-scan.c (df_record_entry_block_defs): Check if
+       INCOMING_RETURN_ADDR_RTX is defined.
+
 2006-01-27  Daniel Berlin  <dberlin@dberlin.org>
            Kenneth Zadeck <zadeck@naturalbridge.com>
 
index affc6df..5ea1d8e 100644 (file)
@@ -1750,8 +1750,10 @@ df_record_entry_block_defs (struct dataflow * dflow)
     }
   else
     {
+#ifdef INCOMING_RETURN_ADDR_RTX
       if (REG_P (INCOMING_RETURN_ADDR_RTX))
        bitmap_set_bit (df->entry_block_defs, REGNO (INCOMING_RETURN_ADDR_RTX));
+#endif
             
       /* If STATIC_CHAIN_INCOMING_REGNUM == STATIC_CHAIN_REGNUM
         only STATIC_CHAIN_REGNUM is defined.  If they are different,