mirror of git://gcc.gnu.org/git/gcc.git
ira-color.c (put_allocno_into_bucket): Remove set but not used local variable hard_regs_num.
2009-11-28 David Binderman <dcb314@hotmail.com> * ira-color.c (put_allocno_into_bucket): Remove set but not used local variable hard_regs_num. * ira-lives.c (process_single_reg_class_operands): Remove cover_class. * loop-unswitch.c (unswitch_loop): Remove zero_bitmap. * lower-subreg.c (decompose_multiword_subregs): Remove next. From-SVN: r154720
This commit is contained in:
parent
dcbb944675
commit
11895e28ee
|
@ -1,3 +1,11 @@
|
|||
2009-11-28 David Binderman <dcb314@hotmail.com>
|
||||
|
||||
* ira-color.c (put_allocno_into_bucket): Remove set but not used
|
||||
local variable hard_regs_num.
|
||||
* ira-lives.c (process_single_reg_class_operands): Remove cover_class.
|
||||
* loop-unswitch.c (unswitch_loop): Remove zero_bitmap.
|
||||
* lower-subreg.c (decompose_multiword_subregs): Remove next.
|
||||
|
||||
2009-11-27 Martin Jambor <mjambor@suse.cz>
|
||||
|
||||
PR middle-end/42006
|
||||
|
|
|
@ -1476,11 +1476,9 @@ setup_allocno_left_conflicts_size (ira_allocno_t allocno)
|
|||
static void
|
||||
put_allocno_into_bucket (ira_allocno_t allocno)
|
||||
{
|
||||
int hard_regs_num;
|
||||
enum reg_class cover_class;
|
||||
|
||||
cover_class = ALLOCNO_COVER_CLASS (allocno);
|
||||
hard_regs_num = ira_class_hard_regs_num[cover_class];
|
||||
if (ALLOCNO_FIRST_COALESCED_ALLOCNO (allocno) != allocno)
|
||||
return;
|
||||
ALLOCNO_IN_GRAPH_P (allocno) = true;
|
||||
|
|
|
@ -804,7 +804,7 @@ process_single_reg_class_operands (bool in_p, int freq)
|
|||
{
|
||||
int i, regno, cost;
|
||||
unsigned int px;
|
||||
enum reg_class cl, cover_class;
|
||||
enum reg_class cl;
|
||||
rtx operand;
|
||||
ira_allocno_t operand_a, a;
|
||||
|
||||
|
@ -861,7 +861,6 @@ process_single_reg_class_operands (bool in_p, int freq)
|
|||
EXECUTE_IF_SET_IN_SPARSESET (allocnos_live, px)
|
||||
{
|
||||
a = ira_allocnos[px];
|
||||
cover_class = ALLOCNO_COVER_CLASS (a);
|
||||
if (a != operand_a)
|
||||
{
|
||||
/* We could increase costs of A instead of making it
|
||||
|
|
|
@ -392,7 +392,6 @@ unswitch_loop (struct loop *loop, basic_block unswitch_on, rtx cond, rtx cinsn)
|
|||
edge entry, latch_edge, true_edge, false_edge, e;
|
||||
basic_block switch_bb, unswitch_on_alt;
|
||||
struct loop *nloop;
|
||||
sbitmap zero_bitmap;
|
||||
int irred_flag, prob;
|
||||
rtx seq;
|
||||
|
||||
|
@ -409,7 +408,6 @@ unswitch_loop (struct loop *loop, basic_block unswitch_on, rtx cond, rtx cinsn)
|
|||
/* Make a copy. */
|
||||
irred_flag = entry->flags & EDGE_IRREDUCIBLE_LOOP;
|
||||
entry->flags &= ~EDGE_IRREDUCIBLE_LOOP;
|
||||
zero_bitmap = sbitmap_alloc (2);
|
||||
if (!duplicate_loop_to_header_edge (loop, entry, 1,
|
||||
NULL, NULL, NULL, 0))
|
||||
return NULL;
|
||||
|
|
|
@ -1174,13 +1174,11 @@ decompose_multiword_subregs (void)
|
|||
|
||||
FOR_BB_INSNS (bb, insn)
|
||||
{
|
||||
rtx next, pat;
|
||||
rtx pat;
|
||||
|
||||
if (!INSN_P (insn))
|
||||
continue;
|
||||
|
||||
next = NEXT_INSN (insn);
|
||||
|
||||
pat = PATTERN (insn);
|
||||
if (GET_CODE (pat) == CLOBBER)
|
||||
resolve_clobber (pat, insn);
|
||||
|
|
Loading…
Reference in New Issue