re PR bootstrap/50146 (unused variable saved_nregs in ira-color.c broke arm-linux-gnueabi bootstrap)
PR bootstrap/50146 * ira-color.c (assign_hard_reg): Move saved_nregs declaration to #ifndef HONOR_REG_ALLOC_ORDER block. From-SVN: r177951
This commit is contained in:
parent
ba259d527a
commit
fbddb81da4
@ -1,3 +1,9 @@
|
|||||||
|
2011-08-22 Mikael Pettersson <mikpe@it.uu.se>
|
||||||
|
|
||||||
|
PR bootstrap/50146
|
||||||
|
* ira-color.c (assign_hard_reg): Move saved_nregs declaration
|
||||||
|
to #ifndef HONOR_REG_ALLOC_ORDER block.
|
||||||
|
|
||||||
2011-08-21 Richard Henderson <rth@redhat.com>
|
2011-08-21 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN.
|
* rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN.
|
||||||
|
@ -1567,13 +1567,14 @@ static bool
|
|||||||
assign_hard_reg (ira_allocno_t a, bool retry_p)
|
assign_hard_reg (ira_allocno_t a, bool retry_p)
|
||||||
{
|
{
|
||||||
HARD_REG_SET conflicting_regs[2], profitable_hard_regs[2];
|
HARD_REG_SET conflicting_regs[2], profitable_hard_regs[2];
|
||||||
int i, j, hard_regno, best_hard_regno, class_size, saved_nregs;
|
int i, j, hard_regno, best_hard_regno, class_size;
|
||||||
int cost, mem_cost, min_cost, full_cost, min_full_cost, nwords, word;
|
int cost, mem_cost, min_cost, full_cost, min_full_cost, nwords, word;
|
||||||
int *a_costs;
|
int *a_costs;
|
||||||
enum reg_class aclass;
|
enum reg_class aclass;
|
||||||
enum machine_mode mode;
|
enum machine_mode mode;
|
||||||
static int costs[FIRST_PSEUDO_REGISTER], full_costs[FIRST_PSEUDO_REGISTER];
|
static int costs[FIRST_PSEUDO_REGISTER], full_costs[FIRST_PSEUDO_REGISTER];
|
||||||
#ifndef HONOR_REG_ALLOC_ORDER
|
#ifndef HONOR_REG_ALLOC_ORDER
|
||||||
|
int saved_nregs;
|
||||||
enum reg_class rclass;
|
enum reg_class rclass;
|
||||||
int add_cost;
|
int add_cost;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user