diff options
author | Maya Rashish <coypu@sdf.org> | 2019-10-01 19:25:31 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-10-01 13:25:31 -0600 |
commit | 11f2ce1f49f480c7ef0951bdee5c35bd7449f2bd (patch) | |
tree | f92173a1b2262baa0697c0b7b1fb5a24dc469315 /gcc | |
parent | 13681906ff1d22ee9dd6f6c58dff6539c2cc89c7 (diff) | |
download | gcc-11f2ce1f49f480c7ef0951bdee5c35bd7449f2bd.zip gcc-11f2ce1f49f480c7ef0951bdee5c35bd7449f2bd.tar.gz gcc-11f2ce1f49f480c7ef0951bdee5c35bd7449f2bd.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/ira-color.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f96dde..4ca92c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> * Makefile.in (gnat_install_lib): New variable. diff --git a/gcc/ira-color.c b/gcc/ira-color.c index 42309b9..ce5141b 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -2817,6 +2817,7 @@ allocno_copy_cost_saving (ira_allocno_t allocno, int hard_regno) } else gcc_unreachable (); + ira_init_register_move_cost_if_necessary (allocno_mode); cost += cp->freq * ira_register_move_cost[allocno_mode][rclass][rclass]; } return cost; |