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

--- Comment #7 from Surya Kumari Jangala <jskumari at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #6)
> (In reply to Jeffrey A. Law from comment #5)
> > WRT c#2, I concur with Segher and Surya.  Once regcprop does its job we lose
> > track of the fact we're mucking around the LR.  There's no reasonable way
> > for the CFI bits to recover that information once we do the propagation and
> > delete insn 44.
> 
> It should be possible (but non-trivial) to when we CSE two insns differing in
> frame-relatedness, to figure out if the result should be frame-related or
> not.

I don't think that is the issue here. The final insn is marked frame-related,
and rightly so, because this insn is a part of the prolog.

Reply via email to