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] Trust TREE_ADDRESSABLE


> On Fri, 13 Jun 2014, Jan Hubicka wrote:
> 
> > > 
> > > When you extract the address and use it.  For example when you
> > > do auto-parallelization and outline a part of your function it
> > > passes arrays as addresses.
> > > 
> > > Or if you start to introduce address induction variables like
> > > the vectorizer or IVOPTs does.
> > 
> > I see, nothing really done by current early/IPA optimizers and in those cases
> > we also want to set TREE_ADDRESSABLE bit, too I suppose.
> > Do you think I should make patch for setting the NOVOPS bits in ipa code?
> 
> No, please don't introduce new users of NOVOPS (it's a quite broken
> hack - it's sth like a 'const' function with side-effects so we should
> have instead used 'const' and some kind of volatile flag).  We're
> not using NOVOPS much and that's good (I think handling of such
> function calls are somewhat broken).

I meant DECL_NONALIASED.  I will test the patch and lets see.

Honza
> 
> Richard.


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