diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 18:34:42 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 18:34:42 +0000 |
commit | d10ecf6f9039b61397aaf8d3e7c06f6ffcf0705e (patch) | |
tree | dcffacad581053ef2603bfd8943b5a74b8376da7 /gcc/reg-stack.c | |
parent | 98c5a6a3ed7cc531ae7d39c8b0d7eff72767347f (diff) | |
download | gcc-d10ecf6f9039b61397aaf8d3e7c06f6ffcf0705e.tar.gz |
* reg-stack.c (move_for_stack_reg): Remove local variable
push_insn.
(compare_for_stack_reg): Remove local variable flags_user.
(convert_regs_1): Remove local variable deleted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96345 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index d561416fa2c..87fef58cc55 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1132,11 +1132,11 @@ move_for_stack_reg (rtx insn, stack regstack, rtx pat) available. Push the source value here if the register stack is not full, and then write the value to memory via a pop. */ - rtx push_rtx, push_insn; + rtx push_rtx; rtx top_stack_reg = FP_MODE_REG (FIRST_STACK_REG, GET_MODE (src)); push_rtx = gen_movxf (top_stack_reg, top_stack_reg); - push_insn = emit_insn_before (push_rtx, insn); + emit_insn_before (push_rtx, insn); REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_DEAD, top_stack_reg, REG_NOTES (insn)); } @@ -1308,11 +1308,9 @@ compare_for_stack_reg (rtx insn, stack regstack, rtx pat_src) { rtx *src1, *src2; rtx src1_note, src2_note; - rtx flags_user; src1 = get_true_reg (&XEXP (pat_src, 0)); src2 = get_true_reg (&XEXP (pat_src, 1)); - flags_user = next_flags_user (insn); /* ??? If fxch turns out to be cheaper than fstp, give priority to registers that die in this insn - move those to stack top first. */ @@ -2815,14 +2813,13 @@ convert_regs_1 (FILE *file, basic_block block) { struct stack_def regstack; block_info bi = BLOCK_INFO (block); - int deleted, inserted, reg; + int inserted, reg; rtx insn, next; edge e, beste = NULL; bool control_flow_insn_deleted = false; edge_iterator ei; inserted = 0; - deleted = 0; any_malformed_asm = false; /* Find the edge we will copy stack from. It should be the most frequent |