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

--- Comment #11 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to Michael Matz from comment #9)

> I don't see any code in inherit_reload_reg or its caller inherit_in_ebb
> that would look at CALL_INSN_FUNCTION_USAGE on any intervening insns,
> between the inheritance setup and any of the next usage insns.

Mike, thanks for the analysis.

Inheritance code has a simplified live analysis which is needed only when there
is inheritance beyond BB.

The full live analysis is done by code in lra-lives.c which is executed right
after inheritance but before the assignment code in lra-assigns.c.

Reply via email to