This is the mail archive of the
mailing list for the GCC project.
Re: Update documentation for record types
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: neil at daikokuya dot demon dot co dot uk
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Dec 01 06:37:20 EST
- Subject: Re: Update documentation for record types
Is this really correct? It seems to me that a basic assumption of the
C front end is that they are laid out in order, and do not overlap.
It's indeed true for C, but the tree is meant to be more general and
there are lots of things permitted in the tree (such as nonzero lower
bounds for arrays) that are not in C. For languages that allow the user
to place fields explicitly (such as Ada), there is no requirement that the
fields be sorted in order by location: they stay in the lexical order
of the declarations.