[PATCH] Fix PR52406

Richard Guenther rguenther@suse.de
Wed Feb 29 16:09:00 GMT 2012

On Wed, 29 Feb 2012, Michael Matz wrote:

> Hi,
> 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.


More information about the Gcc-patches mailing list