This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SSA usage question
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 6 Jun 2004 15:40:15 -0700
- Subject: Re: SSA usage question
- References: <10406062231.AA02772@vlsi1.ultra.nyu.edu>
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~