This is the mail archive of the gcc@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: SSA usage question


On Sun, Jun 06, 2004 at 06:31:30PM -0400, Richard Kenner wrote:
> No, that's actually wrong.  It assumes that the field is not a bitfield.
> You may have to do three things:
> 
> (1) Do a shift corresponding to DECL_FIELD_BITPOS.
> (2) Do a zero- or sign- extend corresponding to the size of the field.
> (3) Allocate a temporary of the proper size and copy into it if the field
> is a multiple of bytes on a byte-boundary, but not properly aligned.

Whatever.  Then perhaps you want to a BIT_FIELD_EXPR with
variable parameters.

What we will NOT do is have implicit variable references.
Of any kind.  This is not open to discussion.


r~


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