diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 19:05:37 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-13 19:05:37 +0000 |
commit | 652ff291481fcb8094e417daedbc20412d2f589c (patch) | |
tree | f42b61e7f14f3cdf938aae843a3ecb4909a732ae /gcc/df-scan.c | |
parent | 471df436dc53f7252a708e7d5074c0557cdd1509 (diff) | |
download | gcc-652ff291481fcb8094e417daedbc20412d2f589c.tar.gz |
PR rtl-optimization/32636
* df-scan.c (df_get_entry_block_def_set): Set struct_value_rtx
regno in entry_block_defs even if HAVE_prologue && epilogue_completed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130907 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index cc6866b6b78..6367accec2a 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -3530,12 +3530,12 @@ df_get_entry_block_def_set (bitmap entry_block_defs) bitmap_set_bit (entry_block_defs, STATIC_CHAIN_REGNUM); #endif #endif - - r = targetm.calls.struct_value_rtx (current_function_decl, true); - if (r && REG_P (r)) - bitmap_set_bit (entry_block_defs, REGNO (r)); } + r = targetm.calls.struct_value_rtx (current_function_decl, true); + if (r && REG_P (r)) + bitmap_set_bit (entry_block_defs, REGNO (r)); + if ((!reload_completed) || frame_pointer_needed) { /* Any reference to any pseudo before reload is a potential |