summaryrefslogtreecommitdiff
path: root/gcc/df-scan.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 03:12:35 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-28 03:12:35 +0000
commitabecc17da75baf5f443b436334ef64d8bc4241ce (patch)
tree47edeeb1d1f6c772c184a315196359ab0c5b8d21 /gcc/df-scan.c
parent41ae2a926de4caccf204c84df0cc224e2fd4b220 (diff)
downloadgcc-abecc17da75baf5f443b436334ef64d8bc4241ce.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110320 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r--gcc/df-scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index affc6df739e..5ea1d8ebdb9 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,