This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: wrong alias-analysis and strange x86-code
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: wrong alias-analysis and strange x86-code
- From: Bernd Schmidt <bernds at redhat dot co dot uk>
- Date: Fri, 27 Oct 2000 13:56:59 +0100 (BST)
- cc: gcc-patches at gcc dot gnu dot org
On Wed, 25 Oct 2000, Richard Henderson wrote:
> On Wed, Oct 25, 2000 at 04:52:14PM +0100, Bernd Schmidt wrote:
> > > int x,*p=&x;
> > >
> > > main()
> > > {
> > > int i=0;
> > > x=1;
> > > p[i]=2;
> > > printf("%d\n",x);
> > > }
>
> Would you transform this into an executable test case as well?
Done; checked in as execute/20001027-1.c.
> > * expr.c (expand_expr, case INDIRECT_REF): If the address is a
> > PLUS, that does not prove the object is in a structure.
>
> Ok.
>
> > /* If address was computed by addition,
> > mark this as an element of an aggregate. */
>
> The comment is now wrong, btw.
Checked in on the 2.95 branch after removing the comment.
Bernd