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: [tree-ssa] Aggregation of may-aliases [patch]


On Wednesday, November 27, 2002, at 10:52  PM, Diego Novillo wrote:

	* tree-dfa.c (add_may_alias): Remove.  Update all users.
	(get_alias_index): Remove.  Update all users.
	(dfa_stats_d): Remove fields num_may_alias, max_num_may_alias,
	num_alias_imm_rdefs and max_num_alias_imm_rdefs.  Update all users.
	(may_alias_p): Make extern.  Move declaration to tree-flow.h.


Errr, we don't keep the pta info past compute_may_aliases (delete_alias_vars deletes it), so this will break if -ftree-points-to is on.

If we are doing this aliasing_leader thing, it means keeping the info around longer so that may_alias_p will work longer.

Just move the call to delete_alias_vars () to delete_tree_ssa for me, if you could be so kind.
(It will require including timevar.h and tree-alias-common.h in tree-ssa.c)
--Dan


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