This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Great example of why "everything is a tree" sucks
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Gaius Mulley <gaius dot mulley at southwales dot ac dot uk>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Steven Bosscher <stevenb dot gcc at gmail dot com>, Diego Novillo <dnovillo at google dot com>, Jakub Jelinek <jakub at redhat dot com>, Jeff Law <law at redhat dot com>, GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 13 Nov 2013 18:30:43 +0000
- Subject: Re: Great example of why "everything is a tree" sucks
- Authentication-results: sourceware.org; auth=none
- References: <528288B3 dot 8010109 at redhat dot com> <20131112203509 dot GC27813 at tucnak dot zalov dot cz> <CAD_=9DQRZy92RCJEopO=XHMj9+eDHQ0MW1g__ZaFNNrWQW=QNg at mail dot gmail dot com> <CAFiYyc38jGfAaWwo5OWTxmQnNeP9=f5McGrW_3HCNJotvbBtKQ at mail dot gmail dot com> <CABu31nOpcf1EivKXYy-i4Czm84aSv+hOYhrSPpefzNVTjjNW0Q at mail dot gmail dot com> <CAFiYyc3OZhg0NvnMqkN9CLu4f6oGiV2GFM55JE17MjDAgj8Jsw at mail dot gmail dot com> <87iovwmcl6 dot fsf at j228-gm dot comp dot glam dot ac dot uk>
On Wed, 13 Nov 2013, Gaius Mulley wrote:
> just for completeness this also applies to Modula-2 which uses the
> technique of double book keeping. Not sure if this is totally relevant
> but gm2 needs (would like :-) the ability to create a SET_TYPE which
> maps onto appropriate debugging type info.
Note we removed SET_TYPE in 2004 for lack of in-tree uses (there was a
suspicion it might have been for Pascal, but GNU Pascal is now a moribund
project (largely I think because of the combination of (a) being closely
tied to GCC internals through use of trees as front-end internal
representation and (b) not being developed in the GCC repository but
externally with attempts to support multiple GCC versions from one GNU
Pascal version, meaning lots of effort needed outside the GCC community to
update it to new GCC versions - also (c) there's another more actively
developed GPL Pascal compiler, Free Pascal, albeit for different versions
of the Pascal language).
In general, for GCC development to consider requirements of your front end
or back end, getting it into the GCC repository and developing it there is
strongly recommended.
--
Joseph S. Myers
joseph@codesourcery.com