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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Vladimir Makarov from comment #11)
> (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.

Could this be related to PR 66626 where LRA ignores a clobbered register and
uses it directly?

Reply via email to