This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: sizetype, bitsizetype and DECL_FIELD_BITPOS
- To: amylaar at cygnus dot co dot uk
- Subject: Re: sizetype, bitsizetype and DECL_FIELD_BITPOS
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Wed, 29 Dec 99 20:44:08 EST
- Cc: gcc at gcc dot gnu dot org
> I see places where it is
> used in both contexts and, unless I'm missing something, we are missing
> conversions.
I suppose you mean this?
offset = size_binop (PLUS_EXPR, offset,
size_binop (EXACT_DIV_EXPR, var,
size_int (BITS_PER_UNIT)));
Yes. VAR is clearly bitsizetype and OFFSET is supposed to be sizetype
and there's no conversion.