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: PR 6212


    Huh?  The type of the accessed object is always visible.  It's
    TREE_TYPE (to).

Yes, but OFFSET is not to the accessed object: you have to add BITPOS
to get there.

Consider x[j].y.  OFFSET is J*C and BITPOS is that for Y.  TYPE here is
that of field Y, but OFFSET's alignment corresponds to the type of X[J].


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