This is the mail archive of the gcc@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: memrefs_conflict_p () for REGs in alias.c


> > I found that it always returns 1 for cse in case
> > of REG...
> 
> Yes.  alias.c computes function invariants.  If a
> register
> is set more than once, it varies, and thus there is
> no data
> on what it points to.
> 
> 
> r~

The only point I wanted to indicate is that there
seems to be no way of determining whether the
addresses contained in two REGs may be distinct.

e.g. base_alias_check () *only compares the base
addresses* of two REGs and assumes aliasing if they
match. 

The mechanism to know how the addresses in two REGs
have been computed is missing, which may help in
distinguishing the addresses.

-gh



__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


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