This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR52406
On Wed, 29 Feb 2012, Michael Matz wrote:
> On Wed, 29 Feb 2012, Richard Guenther wrote:
> > the whole base object - instead I mark the base MEM_REF of such accesses
> > with TREE_NO_WARNING (ugh) and special-case for them in dr_may_alias_p.
> At least use a flag that isn't currently used for MEM_REF. E.g.
> addressable_flag, and make a new macro that checks for the tree being a
> MEMREF to access it.
Ok, I'll use TREE_VISITED. The alternative is to increase the size of
struct indices (and thus all data-refs) and have a separate flag.