diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00461779282..1c15aca4b50 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-14 Vladimir Makarov + + * ira-costs.c (find_costs_and_classes): Add missed + ira_init_register_move_cost_if_necessary. + 2014-01-14 Vladimir Makarov PR target/59787 diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index b348bbe46fd..648806bc182 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -1827,6 +1827,7 @@ find_costs_and_classes (FILE *dump_file) int ind = cost_classes_ptr->index[aclass]; ira_assert (ind >= 0); + ira_init_register_move_cost_if_necessary (ALLOCNO_MODE (a)); ira_add_allocno_pref (a, ira_class_hard_regs[best][0], (a_costs[ind] - ALLOCNO_CLASS_COST (a)) / (ira_register_move_cost