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: [PATCH] Fix PR52406


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.

Richard.


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