This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tuples/LTO] RFC: houghts on auto-generating GS_* data structures
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Aldy Hernandez <aldyh at redhat dot com>, Christopher Matthews <chrismatthews at google dot com>, Ken Zadeck <zadeck at naturalbridge dot com>, Ian Lance Taylor <iant at google dot com>, Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 27 Jun 2007 11:09:26 -0400
- Subject: Re: [tuples/LTO] RFC: houghts on auto-generating GS_* data structures
- References: <4681722B.10104@google.com>
On 6/26/07 4:08 PM, Diego Novillo wrote:
> But, first, I'd like to know what folks think about this. Would it be
> generally useful for us to have the IL data structures auto-generated
> this way? I can see the benefits in the reader/writer. But also, we
> are going to have to re-implement the reader/writer when we move GIMPLE
> out of the tree data structures. OTOH, we will probably change them,
> add new codes and having them autogenerated may have other advantages.
One thing I forgot to add is that auto-generating .h files is not really
necessary. We can always parse the .h files directly. As long as we
have either easy to spot markers (a-la GTY) or just write the structs in
a clear manner, it should be straightforward.