This is the mail archive of the gcc-patches@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: RFC: add constant offset to bit_offset in get_inner_reference


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


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