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: Possible problem wiht nonoverlapping_component_refs_p


On Thu, Dec 06, 2001 at 01:55:11PM -0500, Richard Kenner wrote:
>     Err, we _should_ be able to compute the field's offset within the 
>     union, since we have all of the intermediate fields.
> 
> Well, which field?

I meant the one at the "end".

> There may be array references in the middle.

If the indicies are constants, then we can still compute an offset.
Otherwise we have an unknown offset and have to consider that the
two union references overlap.


r~


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