This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: add constant offset to bit_offset in get_inner_reference
- From: Lars Brinkhoff <lars dot spam at nocrew dot org>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 14 Feb 2002 16:36:19 +0100
- Subject: Re: RFC: add constant offset to bit_offset in get_inner_reference
- Organization: nocrew
- References: <10202141527.AA20006@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
> The case where it can lose is when you have an array of records
> where the inner record is integer-aligned. If you go to a field of
> that record, you want to keep the offset to be the index times the
> size and not add in the bit offset of the field so that we can
> properly know the alignment.
Oh, ok. Thanks for explaining.
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming