diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-22 09:38:14 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-22 09:38:14 +0000 |
commit | 3d4c18fefda9eb62e7e13c11a858152eb2199a63 (patch) | |
tree | 9075ee3fe60da26c9f70218a48bb68f8ff636413 /gcc/ira-color.c | |
parent | 8c871bbd0b725048adf479011fba0c44c9be7808 (diff) | |
download | gcc-3d4c18fefda9eb62e7e13c11a858152eb2199a63.tar.gz |
PR bootstrap/50146
* ira-color.c (assign_hard_reg): Move saved_nregs declaration
to #ifndef HONOR_REG_ALLOC_ORDER block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-color.c')
-rw-r--r-- | gcc/ira-color.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ira-color.c b/gcc/ira-color.c index eb87b0e419b..e78012b1f4a 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -1567,13 +1567,14 @@ static bool assign_hard_reg (ira_allocno_t a, bool retry_p) { 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 *a_costs; enum reg_class aclass; enum machine_mode mode; static int costs[FIRST_PSEUDO_REGISTER], full_costs[FIRST_PSEUDO_REGISTER]; #ifndef HONOR_REG_ALLOC_ORDER + int saved_nregs; enum reg_class rclass; int add_cost; #endif |