From df4fadd539a3d5a76b2c160b97b9744f4508d0b2 Mon Sep 17 00:00:00 2001 From: rsandifo Date: Thu, 4 Sep 2008 19:16:14 +0000 Subject: gcc/ * df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM regardless of epilogue_completed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139998 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/df-scan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/df-scan.c') diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 0ce48b5d1e0..7e6796b40e7 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. */ -- cgit v1.2.1