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: alias.c:nonoverlapping_component_refs_p


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.


r~


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