From 394ae89b0ab1e26f314f9aa134fdfa327f6c87c1 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Fri, 9 Aug 2019 21:22:22 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/reload1.c | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index de5a347d5a3..95795549e31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-09-09 Vladimir Makarov + + * reload1.c (finish_spills): Do not check ira_conflicts_p when + handling spilled pseudos. + 2019-09-09 Richard Earnshaw PR target/91386 diff --git a/gcc/reload1.c b/gcc/reload1.c index 38ee356a791..70a308e5337 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; -- 2.30.2