[Bug rtl-optimization/83327] Spilling into hard regs not taken into account in lra liveness analysis

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 8 15:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83327

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 42817
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42817&action=edit
Demonstrator patch

Using this demonstrator patch, I managed to fix the failure and run the
test-case successfully.

I'm not sure if the "AND_COMPL_HARD_REG_SET (hard_regs_live,
lra_no_alloc_regs)" bit (which I borrowed from
ira-lives.c:process_bb_node_lives) is necessary, this might be due to an
problem in the gcn port.


More information about the Gcc-bugs mailing list