This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Tobias Burnus <burnus at net-b dot de>, Ulrich Weigand <uweigand at de dot ibm dot com>, Jim Blandy <jimb at red-bean dot com>, jimb at codesourcery dot com
- Date: Thu, 18 Sep 2008 23:03:36 -0700
- Subject: Re: [patch] static_kind -> bit0, bit1 [Re: [gdb] Fortran dynamic arrays]
- References: <20080818111120.GE16894@adacore.com> <200808181553.m7IFrG3w005270@d12av02.megacenter.de.ibm.com> <48A59B3C.9050801@net-b.de> <20080818111120.GE16894@adacore.com> <20080907115637.GA12939@host0.dyn.jankratochvil.net>
> 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