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: Michael Matz <matz at suse dot de>
- To: "S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>
- Cc: "'kenner at vlsi1 dot ultra dot nyu dot edu '" <kenner at vlsi1 dot ultra dot nyu dot edu>,"'paolo dot bonzini at polimi dot it '" <paolo dot bonzini at polimi dot it>,"'gcc at gcc dot gnu dot org '" <gcc at gcc dot gnu dot org>
- Date: Wed, 4 Feb 2004 15:00:10 +0100 (CET)
- Subject: RE: What to remove after tree-ssa is merged?
- References: <4195D82C2DB1D211B9910008C7C9B06F01F3741E@lr0nt3.lr.tudelft.nl>
Hi,
On Wed, 4 Feb 2004, S. Bosscher wrote:
> But since Ada is lagging, like, three years on the rest of GCC,
> and nobody so far has explained what PLACEHOLDER_EXPR is for
It's not that Kenner is totally wrong with documentation ;-)
PLACEHOLDER_EXPR is described in tree.def and is used for types whose
layout/content changes with values of members in such type. Like
pseudo-type:
type T {
switch enum BLA discriminator {
VARIANT_1 : int i; char c;
VARIANT_2 : char d; long l;
}
}
Here the offset of T.c (or even it's existance) depends on the value of
T.discriminator.
Ciao,
Michael.