This is the mail archive of the
mailing list for the GCC project.
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: dan at cgsoftware dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 18:09:57 -0800
- Subject: Re: alias.c:nonoverlapping_component_refs_p
- References: <10112032315.AA12086@vlsi1.ultra.nyu.edu>
On Mon, Dec 03, 2001 at 06:15:13PM -0500, Richard Kenner wrote:
> I'm still concerned about teh case where we use a wider mode to accessa
> char field, though.
The existing nonoverlapping_memrefs_p didn't check for
(and (...) (const_int -8))
style addresses, so I assumed they were handled beforehand.
I see that they aren't though, so unless there's something
elsewhere, really this bug existed before my patch went in.
Checking, it appears that the change_address used to create
the unaligned memory reference will clear the MEM_EXPR and
MEM_OFFSET attributes. At least on Alpha; I can't think at
the moment who else is forced to use this sort of scheme.