This is the mail archive of the
mailing list for the GCC project.
Re: [vtab] Permit coalescing of user variables
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 02 Oct 2007 17:01:52 -0400
- Subject: Re: [vtab] Permit coalescing of user variables
- References: <firstname.lastname@example.org>
Alexandre Oliva wrote:
Once we don't lose the debug info for the coalesced user vars, this
would be fine. I assume this patch would be part of the
var_tracking_assignments changes. It is not acceptable in mainline
until the debug info for these user variables are maintained somehow.
This patch should largely reduce memory consumption for some large
machine-generated tests similar to those that triggered the reversion
of the patch that stopped inlined user variables from being coalesced.
Without the upcoming -fvar-tracking-assignments, this patch messes
with debug information of such testcases beyond repair. We might want
to make this conditional on -fvar-tracking-assignments, maybe.
So do I understand this correctly? the improved debug info is being
controlled by a flag (-fvar-tracking-assignments) rather than just the
-g option? If thats the case this patch would clearly have to be under
the same flag or we'd be destroying debug info we do have today when it
wasn't used. I presume the reason is -fvar-tracking-assignments affects
generated code, and the long term goal is to solve that issue and to
remove the -fvar-tracking-assignments option and simply use -g?