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, "Richard Guenther" <richard.guenther@gmail.com> wrote:

> We probably will need to end up with a list of debug symbols per ssa-name.

Not only that.  We need to be able to mark the ranges in which each
variable is associated with that value.  Without the ranges, we can't
generate accurate debug information.

All I say is that in SSA form this is trivial, you have exactly one value per SSA_NAME, the range is simply the life of the SSA_NAME.

So the correct thing is to provide the infrastructure to track
multiple variables
per SSA_NAME for debug information.  Once you have that, move to the
next problem.

Richard.


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