Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]

Joel Brobecker
2008-09-19T06:04:18Z

> One of such spare space there is `enum array_bound_type' Except for
> BOUND_CANNOT_BE_DETERMINED it is never set anywhere. BOUND_BY_* are
> read only in f-valprint.c. In fact it could be probably used for the
> new bits TYPE_BOUND_IS_DWARF_BLOCK and possibly
> TYPE_HIGH_BOUND_IS_COUNT but I would rather like to later remove `enum
> array_bound_type' and its fields at all.

I haven't started looking at the actual patch yet, but hope to get to it
either tonight or tomorrow. But I would approve a separate patch that
garbage-collected these fields. I did verify that, indeed, they are not
used at all.

--
Joel