diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2018-11-25 05:46:44 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2018-11-25 05:46:44 +0000 |
commit | 12422bc85c33040992711bd0c2afe55672206341 (patch) | |
tree | a23c1755370318d7615fd847eb5ac404e1ae1657 /gcc/ira-costs.c | |
parent | 30bf4f8e5cc16e5046edba59e82aeda789298969 (diff) | |
download | gcc-12422bc85c33040992711bd0c2afe55672206341.zip gcc-12422bc85c33040992711bd0c2afe55672206341.tar.gz gcc-12422bc85c33040992711bd0c2afe55672206341.tar.bz2 |
re PR bootstrap/88157 (ICE when building libgo encoding/gob.lo starting with r266385)
2018-11-25 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/88157
* ira-costs.c (record_operand_costs): Initiate register move cost
for mode.
From-SVN: r266435
Diffstat (limited to 'gcc/ira-costs.c')
-rw-r--r-- | gcc/ira-costs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ira-costs.c b/gcc/ira-costs.c index cfda432..83dfdcd 100644 --- a/gcc/ira-costs.c +++ b/gcc/ira-costs.c @@ -1318,6 +1318,7 @@ record_operand_costs (rtx_insn *insn, enum reg_class *pref) int cost, k; bool dead_p = find_regno_note (insn, REG_DEAD, REGNO (src)); + ira_init_register_move_cost_if_necessary (mode); hard_reg_class = REGNO_REG_CLASS (other_regno); /* Target code may return any cost for mode which does not fit the the hard reg class (e.g. DImode for AREG on |