This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] save space by using enum bitfields
- From: David Carlton <carlton at kealia dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: Michael Elizabeth Chastain <mec at shout dot net>, ezannoni at redhat dot com,gdb-patches at sources dot redhat dot com, jimb at redhat dot com, ac131313 at redhat dot com
- Date: Mon, 18 Aug 2003 14:06:27 -0700
- Subject: Re: [rfa] save space by using enum bitfields
- References: <200308180700.h7I70nAW028032@duracef.shout.net><3F413BF4.2070200@redhat.com>
On Mon, 18 Aug 2003 13:49:56 -0700, Michael Snyder <msnyder@redhat.com> said:
> I gotta say, this looks like uglification to me. Is it worth it?
I won't venture an opinion on whether or not it's worth it, but I
don't like all those : 8's that it inserts. Why not stick that into
the definition of ENUM_BITFIELD? Though that would have the cost that
you'd need to have the member's name be an argument to ENUM_BITFIELD,
which wouldn't be an improvement. Hmm.
David Carlton
carlton@kealia.com