This is the mail archive of the
mailing list for the GCC project.
Re: PR 23551: why should we coalesce inlined variables?
On 7/9/07, Alexandre Oliva <email@example.com> wrote:
On Jul 9, 2007, Michael Matz <firstname.lastname@example.org> wrote:
> As some people said multiple times here, you can simply attach multiple
> variables to one SSA name.
Attaching the variables is just not enough. You have to attach the
assignment points as well. And I haven't see you address that at all,
even though it is a necessary part of the infrastructure.
Not really. What the SSA_NAME to VAR map provides is appearantly one
thing. For debug info it looks like you want a VAR to SSA_NAME mapping
instead. Obviously we may have multiple locations for VAR with multiple
values at the same time. This is where we may be not be able to provide
"correct" debug info. For the cases it is possible (only one value in VAR
is life at a time) you can construct the proper ranges from the
SSA_NAME to VAR map.