This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 23551: why should we coalesce inlined variables?


On 7/9/07, Alexandre Oliva <aoliva@redhat.com> wrote:
On Jul 9, 2007, Michael Matz <matz@suse.de> 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.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]