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,

> >which seems terribly wrong to me.  Why should I need to change anything
> >so complicated, when I did not make any change that should affect
> >results of alias analysis?
> >
> You *have* changed the results of alias analysis.  You are introducing a 
> new pointer, assigning it a new address and dereferencing it.

and what?  I am accessing exactly the same location in memory, so from
the point of *results* of the alias analysis nothing changes.

Yes, if the alias analysis is rerun afterwards, it needs to know about
things like pointers and such, internally.  But the results of the alias
analysis are not affected by the way addresses are expressed, and having
to perform magic just to keep the results the same does not seem right
to me.

Zdenek


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