This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gnat] reuse of ASTs already constructed
- From: Arnaud Charlet <charlet at adacore dot com>
- To: "oliver dot kellogg at t-online dot de" <oliver dot kellogg at t-online dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 Apr 2012 12:20:02 +0200
- Subject: Re: [gnat] reuse of ASTs already constructed
- References: <1SGFhL-0ALG3E0@fwd17.aul.t-online.de>
> I will now start looking into the second problem,
>
> > 2) The 'X' lines in the ALI files are not what they should be.
> > This is due to the fact that Lib.Xref.Generate_(Definition|Reference)
> > is
> > called during semantic analysis. However, when I discover that a
> > tree was already built for a main unit by a previous compilation,
> > Sem is not redone for that tree. Depending on whether
> > Lib.Xref.Initialize is called per-job or per-file, this leads to either
> > too much or too little cross ref info.
>
> By the way, I am currently using trunk r152433 (4.5.0 pre-release) and
> moving forward to the 4.5.0 release.
> When that is done: Should I continue on trunk or switch to the
> gcc-4_5-branch ?
GCC 4.5 is quite old at this stage, so you should definitely update
to the latest trunk revision.
Arno