This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[gnat] reuse of ASTs already constructed
- From: Oliver dot Kellogg at t-online dot de (Oliver Kellogg)
- To: gcc at gcc dot gnu dot org
- Date: Tue, 4 Mar 2003 17:57:09 +0100
- Subject: [gnat] reuse of ASTs already constructed
Hello developers of GNAT,
I think it's a terrible waste that gnat1 can only process
one single file.
If gnat1 could be invoked with (for example) all the files
that gnatmake finds to need recompilation, that could
give tremendous compilation time savings - by keeping the
syntax trees of units compiled for reuse by further units.
Many Ada projects have large package specs that tend
to be pervasively used. (The GNAT compiler is itself
an example of such a design.) These applications
could benefit a lot from in-memory AST reuse.
What do you think about this?
Thanks,
Oliver Kellogg