This is the mail archive of the
mailing list for the GCC project.
Re: SRA and DECL_ABSTRACT_ORIGIN
Gabriel Dos Reis <firstname.lastname@example.org> wrote:
>> Someone else was talking about this the other day on IRC and I
>> told them how I'd like it solved.
> I do not follow IRC sessions. Could you outline your plan again?
The plan is to store a backpointer to the original decl within the generated
SRA variable, and use it for diagnostic purposes. For instance, in the case of
"a$i" we would be storing a pointer to the original INDIRECT_REF from which the
scalarized version was created. This is similar to what DannyB did with his
but I think vindex isn't free in all the entities SRA generates.