This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Putting C++ code into gcc front end
- From: <tm_gccmail at mail dot kloo dot net>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: neil at daikokuya dot co dot uk, per at bothner dot com, tromey at redhat dot com,gcc at gcc dot gnu dot org
- Date: Fri, 7 Mar 2003 15:51:31 -0800 (PST)
- Subject: Re: Putting C++ code into gcc front end
On Fri, 7 Mar 2003, Geoff Keating wrote:
> Well... When I tried to imagine, I started thinking "and, yes, we
> could have completely different representations for exceptions and
> structures and references and function calls between the C, C++, Ada,
> and Java frontends" which didn't sound quite so great. After all,
> another project which is also a good idea and not making much progress
> recently is to commonize more of the C and C++ frontends.
>
> Maybe a better solution would be to document what the tree structure
> is actually supposed to look like, and then try to ensure that?
Maybe an optional treechecking pass that ensures the sanity of the tree?
This way, the assumptions are automagically checked.
Toshi