This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: PATCH: Do not clear the DECL_BIT_FIELD flag (prelude to ObjC fix)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: zlaski at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Aug 02 21:37:28 EDT
- Subject: Re: PING: PATCH: Do not clear the DECL_BIT_FIELD flag (prelude to ObjC fix)
What kind of performance problems were you thinking of?
Well, DECL_BIT_FIELD means to use bitfield access techniques, which add
code. If we use them when we don't need to, we generate worse code.
I suppose the ObjC front-end could be taught to keep separate
copies of instance variables for super classes lest they get
side-effected too often, but that is terribly kludgey.
Why not just use a language-specific flag instead of DECL_BIT_FIELD?