This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 6212
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 7 May 02 13:24:28 EDT
- Subject: 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.