Why is the TREE_PURPOSE of a CONSTRUCTOR_ELT list for ARRAY_TYPE NULL?

Richard Henderson rth@redhat.com
Tue Sep 7 20:03:00 GMT 2004


On Mon, Sep 06, 2004 at 03:55:49PM -0400, Daniel Berlin wrote:
> Does that mean that the corresponding index is the last index + 1?

Yes.

> In any case, is this a documentation bug, or a C++ FE bug (IE should i
> expect tree_purpose to always be there, and it's just not getting set in
> the case of the C vtables, or do the docs need updating)?

We should probably change the vtable builder to fill in the values.


r~



More information about the Gcc mailing list