This is the mail archive of the
mailing list for the GCC project.
Re: [RFC 2/3, debug] Add fkeep-vars-live
On Jul 25, 2018, Jakub Jelinek <email@example.com> wrote:
> On Tue, Jul 24, 2018 at 04:11:11PM -0300, Alexandre Oliva wrote:
>> On Jul 24, 2018, Tom de Vries <firstname.lastname@example.org> wrote:
>> > This patch adds fake uses of user variables at the point where they go out of
>> > scope, to keep user variables inspectable throughout the application.
>> I suggest also adding such uses before sets, so that variables aren't
>> regarded as dead and get optimized out in ranges between the end of a
>> live range and a subsequent assignment.
> But that can be done incrementally, right
> the optimizers could still move it appart
Alexandre Oliva, freedom fighter https://FSFLA.org/blogs/lxo
Be the change, be Free! FSF Latin America board member
GNU Toolchain Engineer Free Software Evangelist