This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Merge from pch branch; call for testers
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Tim_Josling at national dot com dot au
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 4 Jun 2002 21:20:00 -0700
- Subject: Re: Merge from pch branch; call for testers
- References: <OF55AA5D07.34CB9517-ONCA256BCF.000E5CC2@au.thenational.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
> I guess I can reverse engineer what is required but a few hints or even
> some documentation would be very helpful.
How about looking at the manual? It's node "Type Information" in
gccint.info.
I do not recommend reverse-engineering. The current gengtype.c is not
final and many parts of it are intended to be replaced in the future.
If an example is desired, I'd suggest looking at the changes to the
Fortran frontend, which is simple, and the C++ frontend, which isn't.
> It appears I will need to patch gengtype.c to add treelang to the hard
> coded list of languages (lang_names) included therein. Is there any
> alternative to this? Normally the determination of languages is by a
> discovery process rather than hard coding in sundry files.
Please feel free to suggest a patch.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>