public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* question on points-to analysis
@ 2010-09-09 11:20 Amker.Cheng
  2010-09-09 11:24 ` Richard Guenther
  0 siblings, 1 reply; 4+ messages in thread
From: Amker.Cheng @ 2010-09-09 11:20 UTC (permalink / raw)
  To: gcc

Hi,
I am studying gcc's points-to analysis right now and encountered a question.
In paper "Off-line Variable Substitution for Scaling Points-to
Analysis", section 3.2
It says that we should not substitute a variable with other if it is
taken address.
But in GCC's implementation, it units pointer but not location
equivalent variables
in function unite_pointer_equivalences.
I am puzzled why gcc does this operation and How gcc keeps accuracy of points-to
information after doing this.

Further more, I did not found any words about this in paper
"Exploiting Pointer and Location Equivalence to Optimize Pointer
Analysis", which
according comments in gcc, is the basis of GCC's implementation.

Any tips?Thanks in advance.

-- 
Best Regards.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-12  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09 11:20 question on points-to analysis Amker.Cheng
2010-09-09 11:24 ` Richard Guenther
2010-09-12 15:00   ` Daniel Berlin
2010-09-12 16:59     ` Amker.Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).