From 30a80709c43c701e43e03886c082044d0ab9c430 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Mon, 25 Oct 2004 21:18:15 +0000 Subject: [PATCH] timevar.def (TV_FIND_REFERENCED_VARS): New. * timevar.def (TV_FIND_REFERENCED_VARS): New. * tree-dfa.c (pass_referenced_var): Use it. From-SVN: r89552 --- gcc/ChangeLog | 5 +++++ gcc/timevar.def | 1 + gcc/tree-dfa.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 474fec2c466..bcdfb1ab05b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-25 Steven Bosscher + + * timevar.def (TV_FIND_REFERENCED_VARS): New. + * tree-dfa.c (pass_referenced_var): Use it. + 2004-10-25 Roger Sayle John David Anglin diff --git a/gcc/timevar.def b/gcc/timevar.def index a7ebc3e36d4..09de2e2c604 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -64,6 +64,7 @@ DEFTIMEVAR (TV_TREE_GIMPLIFY , "tree gimplify") DEFTIMEVAR (TV_TREE_EH , "tree eh") DEFTIMEVAR (TV_TREE_CFG , "tree CFG construction") DEFTIMEVAR (TV_TREE_CLEANUP_CFG , "tree CFG cleanup") +DEFTIMEVAR (TV_FIND_REFERENCED_VARS , "tree find referenced vars") DEFTIMEVAR (TV_TREE_PTA , "tree PTA") DEFTIMEVAR (TV_TREE_MAY_ALIAS , "tree alias analysis") DEFTIMEVAR (TV_TREE_INSERT_PHI_NODES , "tree PHI insertion") diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index e86d21c8dfa..f44a6530766 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -132,7 +132,7 @@ struct tree_opt_pass pass_referenced_vars = NULL, /* sub */ NULL, /* next */ 0, /* static_pass_number */ - 0, /* tv_id */ + TV_FIND_REFERENCED_VARS, /* tv_id */ PROP_gimple_leh | PROP_cfg, /* properties_required */ PROP_referenced_vars, /* properties_provided */ 0, /* properties_destroyed */ -- 2.30.2