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: [sa]: Revert partial def stuff, use fake variables instead


Hello,

> >why exactly should I need to do this?  Noone cares where the pointer
> >points to (except perhaps for internals of the alias analysis).  The
> >only thing that is significant for optimizations is which memory
> >reference aliases with which.
> 
> I think we have a failure to communicate about what an alias relation is.
> 
> What do you believe a aliases b means:
> 1. When a is a pointer and b is a variable
> 2. When a is a pointer and b is a pointer

nothing.  What I understand is that aliasing makes sense if

3) Both a and b is a memory reference.

Then it means that the sets of memory positions that may be accessed
using a may overlap with those accessible through b.

Zdenek

> I think if we start here, we can work out the terminology so we can see 
> exactly what your complain is, because as written, your above sentence 
> doesn't make much sense.


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