Commit 3050859f by Joern Rennecke Committed by Joern Rennecke

* config/m32r/m32r.c: Remove unused variables frame_size and insn.

From-SVN: r166746
parent c18a9bc4
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
(TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on (TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on
tm.texi . tm.texi .
* config/m32r/m32r.c: Remove unused variables frame_size and insn.
2010-11-15 Richard Guenther <rguenther@suse.de> 2010-11-15 Richard Guenther <rguenther@suse.de>
PR lto/44150 PR lto/44150
...@@ -1584,7 +1584,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */ ...@@ -1584,7 +1584,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */
{ {
unsigned int regno; unsigned int regno;
unsigned int total_size, var_size, args_size, pretend_size, extra_size; 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; unsigned int gmask;
enum m32r_function_type fn_type; enum m32r_function_type fn_type;
int interrupt_p; int interrupt_p;
...@@ -1626,7 +1626,7 @@ m32r_compute_frame_size (int size) /* # of var. bytes allocated. */ ...@@ -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. */ handler will do the right thing if this changes total_size. */
total_size = M32R_STACK_ALIGN (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. */ /* Save computed information. */
current_frame_info.total_size = total_size; current_frame_info.total_size = total_size;
...@@ -1974,7 +1974,6 @@ m32r_legitimize_pic_address (rtx orig, rtx reg) ...@@ -1974,7 +1974,6 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
if (GET_CODE (orig) == SYMBOL_REF || GET_CODE (orig) == LABEL_REF) if (GET_CODE (orig) == SYMBOL_REF || GET_CODE (orig) == LABEL_REF)
{ {
rtx pic_ref, address; rtx pic_ref, address;
rtx insn;
int subregs = 0; int subregs = 0;
if (reg == 0) if (reg == 0)
...@@ -2004,12 +2003,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg) ...@@ -2004,12 +2003,7 @@ m32r_legitimize_pic_address (rtx orig, rtx reg)
emit_insn (gen_addsi3 (address, address, pic_offset_table_rtx)); emit_insn (gen_addsi3 (address, address, pic_offset_table_rtx));
pic_ref = gen_const_mem (Pmode, address); pic_ref = gen_const_mem (Pmode, address);
insn = emit_move_insn (reg, pic_ref); 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
return reg; return reg;
} }
else if (GET_CODE (orig) == CONST) else if (GET_CODE (orig) == CONST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment