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


    Why?  We're being given information in the form of a type
    and you're going to ignore it?

No, not at all.  But consider that, in general, you have a nesting of
field and array references.  The alignment of the offset is that of
the type of the array element, but you can't see that type if there is
a an outer field reference.

The idea of NOP_WITH_ASSERT_EXPR is that get_inner_reference can use it
to encode what it knows about alignment other than from the form of the
expression (the biggest loss now is not being able to do anything with
DECL_OFFSET_ALIGN).

My point is just that information of this nature has to be encoded in the
value returned by get_inner_reference.


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