diff options
author | Jeff Law <law@redhat.com> | 2010-05-21 15:00:56 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2010-05-21 15:00:56 -0600 |
commit | c6d0f11a0ad2377ecd85c61bd80f45df5befb817 (patch) | |
tree | 091b08841de0a7516e819e69644d36a78199b340 /gcc/ira-costs.c | |
parent | d3f28910851bee99e959d8841c818417109d0a33 (diff) | |
download | gcc-c6d0f11a0ad2377ecd85c61bd80f45df5befb817.tar.gz |
ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Fix typo.
* ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Fix typo.
From-SVN: r159683
Diffstat (limited to 'gcc/ira-costs.c')
-rw-r--r-- | gcc/ira-costs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index 6942931bdd0..491b86bb841 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -1794,7 +1794,7 @@ ira_tune_allocno_costs_and_cover_classes (void) { regno = ira_non_ordered_class_hard_regs[cover_class][j]; index = ira_class_hard_reg_index[cover_class][regno]; - ira_assert (index != 0); + ira_assert (index != -1); reg_costs[index] += ALLOCNO_FREQ (a); } } |