wrong alias-analysis and strange x86-code

Richard Henderson rth@redhat.com
Wed Oct 25 10:15:00 GMT 2000


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?

> 	* 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.


r~


More information about the Gcc-patches mailing list