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: Put scope blocks on a diet


Hi,

On Mon, 8 Oct 2007, Jan Hubicka wrote:

> > I certainly hope that middle-end transformation don't build many new 
> > types.  Actually I sure hope they build no new types at all, but I'll 
> > better not say none, you never know :)
> 
> What I had in mind is that inlining is building copies of types in new 
> copied scopes, that also needs DIEs

Yes, for these transformations we need to transform the DIEs with them (in 
this case make them also be referred from new locations, although this 
should fall out naturally in this case, as the new scope blocks will 
contain new decls referring to existing types, hence they can be 
associated with those new scopes too).

> and since we are slowly getting into busyness of transforming 
> datastructures (like in struct reorg), we should be able to compensate 
> this in debug info instead of emitting debug info for original layout 
> and writting data in modified.

Indeed.  That requires creating new DIEs then.  To me it's unclear if that 
will turn out bad.


Ciao,
Michael.


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