diff options
author | Kenneth Zadeck <Kenneth.Zadeck@NaturalBridge.com> | 2004-09-13 22:51:01 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2004-09-13 22:51:01 +0000 |
commit | 6674a6ce49dc1cba7ca46cdd9cf4a62ede556568 (patch) | |
tree | 69297f66b1458959fbc86188df989df620a72c6f /gcc/tree-dfa.c | |
parent | c56e3d82fc9090d1580ca8dc02a6add848629d0c (diff) | |
download | gcc-6674a6ce49dc1cba7ca46cdd9cf4a62ede556568.tar.gz |
New code to analyze file level static variables and to determine if...
New code to analyze file level static variables and to determine if
they escape and also code to use this information to prune clobber
lists.
From-SVN: r87455
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r-- | gcc/tree-dfa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index af6d9eddfc4..7f552ca928f 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -45,6 +45,7 @@ Boston, MA 02111-1307, USA. */ #include "tree-pass.h" #include "convert.h" #include "params.h" +#include "cgraph.h" /* Build and maintain data flow information for trees. */ @@ -107,6 +108,7 @@ find_referenced_vars (void) block_stmt_iterator si; struct walk_state walk_state; + cgraph_reset_static_var_maps (); vars_found = htab_create (50, htab_hash_pointer, htab_eq_pointer, NULL); memset (&walk_state, 0, sizeof (walk_state)); walk_state.vars_found = vars_found; |