This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: saving tree structure
- From: Kyung-suk Lhee <klhee at ecs dot syr dot edu>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Aug 2002 13:18:20 -0400 (EDT)
- Subject: Re: saving tree structure
I downloaded the gcc3 and now reading
the src files. it may be exactly what I was looking
for ... I was considering SUIF too, which could be
easier for my case, but modifying gcc is so tempting
(even though I'm not that good programmer) since gcc
is so dependable and would let me easily compile many
programs.
thanks,
kyung-suk
On Wed, 21 Aug 2002, Devang Patel wrote:
>
> On Wednesday, August 21, 2002, at 01:52 PM, Kyung-suk Lhee wrote:
>
> > hi,
> > I'm trying to save the tree (AST) to a file so
> > that I can compile it later. I need to do this
> > to perform interprocedural analysis before producing
> > an executable. I'm wondering if this would be
> > doable, or if anybody did a similar work on gcc.
>
> PFE saves trees and lot more on the disk and restores
> it during next compilation. Search for Stan Sheb's PFE related
> mail in this mailing list archive to find out how to get it.
>
> (PFE is Apple's precompiled header implementation in gcc3)
>
> -Devang
>