diff options
author | Joern Rennecke <amylaar@spamcop.net> | 2010-11-15 09:55:57 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-11-15 09:55:57 +0000 |
commit | 3050859f62af5940c29de64d72aa7df2983d5a86 (patch) | |
tree | 80b7549d2174a738403ae2b5f878d763c61e2017 /gcc | |
parent | c18a9bc4618e4fe64d5ca06361b9ced764565104 (diff) | |
download | gcc-3050859f62af5940c29de64d72aa7df2983d5a86.zip gcc-3050859f62af5940c29de64d72aa7df2983d5a86.tar.gz gcc-3050859f62af5940c29de64d72aa7df2983d5a86.tar.bz2 |
* config/m32r/m32r.c: Remove unused variables frame_size and insn.
From-SVN: r166746
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.c | 12 |
2 files changed, 5 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d9d852..660694f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -7,6 +7,8 @@ (TEXI_GCCINT_FILES): Depend on $(srcdir)/doc/tm.texi instead of on tm.texi . + * config/m32r/m32r.c: Remove unused variables frame_size and insn. + 2010-11-15 Richard Guenther <rguenther@suse.de> PR lto/44150 diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c index f03df26..d17742d 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) |