This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What to remove after tree-ssa is merged?
- From: Robert Dewar <dewar at gnat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: matz at suse dot de, gcc at gcc dot gnu dot org
- Date: Wed, 04 Feb 2004 12:23:51 -0500
- Subject: Re: What to remove after tree-ssa is merged?
- References: <10402041551.AA01170@vlsi1.ultra.nyu.edu>
Note from Richard's explanation of how placeholders work, it would
be really horrible if the front end had to do this, since it would
mean that all references to fields in records had to be handled
with explicit generated offset computations in the front end. This
causes code explosion, obscuring of the intermediate code, and also
debugging difficulties.
It is of course always possible to have the front end do everything,
since of course it could convert the whole program to simple
combinators, but the fact that this can be done does not necessarily
make it a good idea.
I think there is real merit in having the type system of gcc be powerful
enough to reflect the high level types in the various languages for
which there are front ends.