This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: PATCH: Do not clear the DECL_BIT_FIELD flag (prelude toObjC fix)


On Wed, 14 Aug 2002 11:25:14 -0700, Ziemowit Laski <zlaski@apple.com> wrote:

> As I said, ObjC classes must also function as C structs (e.g., 'NSObject
> *foo'); hence, the DECL_BIT_FIELD flag must still be set for bitfields.
> We could add another, ObjC-specific bitfield ornament to the FIELD_DECL
> tree (and hope that the rest of the compiler never clobbers it...), but
> they we'd be storing the same piece of information twice.

Why not just check DECL_C_BIT_FIELD?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]