re PR target/85401 (segfault building code for VAX)
PR target/85401 * ira-color.c (allocno_copy_cost_saving): Call ira_init_register_move_cost_if_necessary. From-SVN: r276426
This commit is contained in:
parent
13681906ff
commit
11f2ce1f49
|
@ -1,3 +1,9 @@
|
||||||
|
2019-10-01 Maya Rashish <coypu@sdf.org>
|
||||||
|
|
||||||
|
PR target/85401
|
||||||
|
* ira-color.c (allocno_copy_cost_saving): Call
|
||||||
|
ira_init_register_move_cost_if_necessary.
|
||||||
|
|
||||||
2019-10-01 Maciej W. Rozycki <macro@wdc.com>
|
2019-10-01 Maciej W. Rozycki <macro@wdc.com>
|
||||||
|
|
||||||
* Makefile.in (gnat_install_lib): New variable.
|
* Makefile.in (gnat_install_lib): New variable.
|
||||||
|
|
|
@ -2817,6 +2817,7 @@ allocno_copy_cost_saving (ira_allocno_t allocno, int hard_regno)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gcc_unreachable ();
|
gcc_unreachable ();
|
||||||
|
ira_init_register_move_cost_if_necessary (allocno_mode);
|
||||||
cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass];
|
cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass];
|
||||||
}
|
}
|
||||||
return cost;
|
return cost;
|
||||||
|
|
Loading…
Reference in New Issue