tree-ssa-alias.c (compute_points_to_and_addr_escape): If a pointer escapes through...
authorDiego Novillo <dnovillo@redhat.com>
Fri, 30 Jul 2004 19:40:30 +0000 (19:40 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 30 Jul 2004 19:40:30 +0000 (15:40 -0400)
commit92965c565bf0dac4c58f819f29d7a537a587d6c0
tree63aaf666106db0c205dbacc68e1f85fd93bf9c4c
parent9497a3a471a8cef27397cffc9820a2ba467ccb1a
tree-ssa-alias.c (compute_points_to_and_addr_escape): If a pointer escapes through a function call...

* tree-ssa-alias.c (compute_points_to_and_addr_escape): If a
pointer escapes through a function call, assume that the
callee will dereference it.
(add_pointed_to_var): Assume that VALUE is always an
ADDR_EXPR.
(collect_points_to_info_r): Only call add_pointed_to_var if
the value is an ADDR_EXPR.

From-SVN: r85353
gcc/ChangeLog
gcc/tree-ssa-alias.c