This is the mail archive of the gcc@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: [pph] Adapting LTO streaming for front end AST saving


On Wed, Mar 23, 2011 at 10:53, Richard Guenther <rguenther@suse.de> wrote:

> Yes, Micha has a load of patches cleaning up streaming and removing
> unecessary abstraction. ÂSo, why'd you need to share any of it?

Removing unnecessary abstraction is fine.  But there is a bunch of
code that will be common, in particular: building string index tables,
symbol tables (the decl index), reading/writing hooks to use other
file formats (pph are not elf files) and basic trees (particularly,
decls, constants, expressions).

We could add anything that is specific to the front end we can add
with callbacks.  But duplicating all that common code seems wasteful.


Diego.


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