saving tree structure

Kyung-suk Lhee klhee@ecs.syr.edu
Thu Aug 22 10:18:00 GMT 2002


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
>



More information about the Gcc mailing list