This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove special-casing of PTR_IS_REF_ALL pointers from alias analysis
On Thu, 1 May 2008, Richard Kenner wrote:
> > > > The RTL level uses get_alias_set on the RTX mem_expr and so will use
> > > > the alias set of *p, not of b
> > >
> > > When did that change?
> >
> > I don't know - it is just my assumption. Otherwise RTL alias analysis
> > is just way more imprecise than tree alias analysis. Thus if RTL
> > alias analysis _is_ indeed imprecise - feel free to improve it.
>
> You lost me. Using the alias set of the field when the field is addressable
> is MORE precise than using the alias set of the record, not less.
No, it is not.
Richard.