aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2006-01-28 03:12:35 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2006-01-27 19:12:35 -0800
commitdadd8a3feb939f977b30b02e781133b315b117d4 (patch)
tree47edeeb1d1f6c772c184a315196359ab0c5b8d21 /gcc
parent5dfe26244b827d1a47fe6057911837c7f30c9947 (diff)
downloadgcc-dadd8a3feb939f977b30b02e781133b315b117d4.zip
gcc-dadd8a3feb939f977b30b02e781133b315b117d4.tar.gz
gcc-dadd8a3feb939f977b30b02e781133b315b117d4.tar.bz2
df-scan.c (df_record_entry_block_defs): Check if INCOMING_RETURN_ADDR_RTX is defined.
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. From-SVN: r110320
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/df-scan.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 867b674..16762cc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index affc6df..5ea1d8e 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -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,