diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2019-08-09 21:22:22 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-08-09 15:22:22 -0600 |
commit | 394ae89b0ab1e26f314f9aa134fdfa327f6c87c1 (patch) | |
tree | 67d05945e2dd2cd71fdb0d5291374a375128cb5e /gcc/reload1.c | |
parent | ef4ddda8c217b6ef41dabf828c580760921a5cfe (diff) | |
download | gcc-394ae89b0ab1e26f314f9aa134fdfa327f6c87c1.zip gcc-394ae89b0ab1e26f314f9aa134fdfa327f6c87c1.tar.gz gcc-394ae89b0ab1e26f314f9aa134fdfa327f6c87c1.tar.bz2 |
reload1.c (finish_spills): Do not check ira_conflicts_p when handling spilled pseudos.
* reload1.c (finish_spills): Do not check ira_conflicts_p when
handling spilled pseudos.
From-SVN: r274240
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index 38ee356..70a308e 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -4225,13 +4225,8 @@ finish_spills (int global) spill_reg_order[i] = -1; EXECUTE_IF_SET_IN_REG_SET (&spilled_pseudos, FIRST_PSEUDO_REGISTER, i, rsi) - if (! ira_conflicts_p || reg_renumber[i] >= 0) + if (reg_renumber[i] >= 0) { - /* Record the current hard register the pseudo is allocated to - in pseudo_previous_regs so we avoid reallocating it to the - same hard reg in a later pass. */ - gcc_assert (reg_renumber[i] >= 0); - SET_HARD_REG_BIT (pseudo_previous_regs[i], reg_renumber[i]); /* Mark it as no longer having a hard register home. */ reg_renumber[i] = -1; |