aboutsummaryrefslogtreecommitdiff
path: root/gcc/df-scan.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-09-04 19:16:14 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2008-09-04 19:16:14 +0000
commit1d4894358cdbd16bfd70176f91b456e04acb9cfc (patch)
tree8756a2cf8cbc371505b1f4ad80ed2c7964d8c8b6 /gcc/df-scan.c
parentd5551618259aa0add9a31cf9dcbb4810748ad7a5 (diff)
downloadgcc-1d4894358cdbd16bfd70176f91b456e04acb9cfc.zip
gcc-1d4894358cdbd16bfd70176f91b456e04acb9cfc.tar.gz
gcc-1d4894358cdbd16bfd70176f91b456e04acb9cfc.tar.bz2
df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM regardless of epilogue_completed.
gcc/ * df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM regardless of epilogue_completed. From-SVN: r139998
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r--gcc/df-scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c
index 0ce48b5..7e6796b 100644
--- a/gcc/df-scan.c
+++ b/gcc/df-scan.c
@@ -3681,6 +3681,9 @@ df_get_entry_block_def_set (bitmap entry_block_defs)
#endif
}
+ /* The always important stack pointer. */
+ bitmap_set_bit (entry_block_defs, STACK_POINTER_REGNUM);
+
/* Once the prologue has been generated, all of these registers
should just show up in the first regular block. */
if (HAVE_prologue && epilogue_completed)
@@ -3693,9 +3696,6 @@ df_get_entry_block_def_set (bitmap entry_block_defs)
}
else
{
- /* The always important stack pointer. */
- bitmap_set_bit (entry_block_defs, STACK_POINTER_REGNUM);
-
/* If STATIC_CHAIN_INCOMING_REGNUM == STATIC_CHAIN_REGNUM
only STATIC_CHAIN_REGNUM is defined. If they are different,
we only care about the STATIC_CHAIN_INCOMING_REGNUM. */