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] Remove bogus optimization from may_alias_p


On Wed, 22 Oct 2008, Eric Botcazou wrote:

> > Index: tree-ssa-alias-warnings.c
> > ===================================================================
> > --- tree-ssa-alias-warnings.c	(revision 141264)
> > +++ tree-ssa-alias-warnings.c	(working copy)
> > @@ -896,7 +896,7 @@ skip_this_pointer (tree ptr ATTRIBUTE_UN
> >      return true;
> >
> >    /* This would probably cause too many false positives.  */
> > -  if (pi->value_escapes_p || pi->pt_anything)
> > +  if (pi->value_escapes_p || pi->pt_anything || pi->pt_global_mem)
> >      return true;
> >
> >    return false;
> 
> Do you plan to install it or...?

Yes, I'm on it now.

Richard.


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