This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, debug] Add fkeep-vars-live
On Tue, Jul 24, 2018 at 05:04:06PM +0200, Tom de Vries wrote:
> > +Add artificial use for each local variable at the end of the
> > declaration scope
> Is this a better option description?
Yes (with a period at the end). Or perhaps "its" instead of "the".
Looks ok to me, just would like to ask one more question, does this prevent
tail-calls or not? If we tail call optimize some call, then I think there
is no need to keep the vars live, because the caller doesn't appear anymore
in the backtrace, on the other side if it is not a tail call, we want to
keep the vars live across the call so that they can be inspected.