This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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.