diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-15 09:55:57 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-15 09:55:57 +0000 |
commit | 720615722f4f412e32bf9ff1f8eb610296d975f0 (patch) | |
tree | 80b7549d2174a738403ae2b5f878d763c61e2017 /gcc/config/m32r | |
parent | 50a6486c914f9e64cb0cf74f9354e4e4fa0dce33 (diff) | |
download | gcc-720615722f4f412e32bf9ff1f8eb610296d975f0.tar.gz |
* config/m32r/m32r.c: Remove unused variables frame_size and insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r-- | gcc/config/m32r/m32r.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index f03df26b571..d17742dc9e4 100644 --- a/gcc/config/m32r/m32r.c +++ b/gcc/config/m32r/m32r.c @@ -1584,7 +1584,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */ { unsigned int regno; unsigned int total_size, var_size, args_size, pretend_size, extra_size; - unsigned int reg_size, frame_size; + unsigned int reg_size; unsigned int gmask; enum m32r_function_type fn_type; int interrupt_p; @@ -1626,7 +1626,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */ handler will do the right thing if this changes total_size. */ total_size = M32R_STACK_ALIGN (total_size); - frame_size = total_size - (pretend_size + reg_size); + /* frame_size = total_size - (pretend_size + reg_size); */ /* Save computed information. */ current_frame_info.total_size = total_size; @@ -1974,7 +1974,6 @@ m32r_legitimize_pic_address (rtx orig, rtx reg) if (GET_CODE (orig) == SYMBOL_REF || GET_CODE (orig) == LABEL_REF) { rtx pic_ref, address; - rtx insn; int subregs = 0; if (reg == 0) @@ -2004,12 +2003,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg) emit_insn (gen_addsi3 (address, address, pic_offset_table_rtx)); pic_ref = gen_const_mem (Pmode, address); - insn = emit_move_insn (reg, pic_ref); -#if 0 - /* Put a REG_EQUAL note on this insn, so that it can be optimized - by loop. */ - set_unique_reg_note (insn, REG_EQUAL, orig); -#endif + emit_move_insn (reg, pic_ref); return reg; } else if (GET_CODE (orig) == CONST) |