This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] tree-ssa-structalias.h: Remove num_references.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dberlin at dberlin dot org, dnovillo at redhat dot com
- Date: Sat, 15 Apr 2006 17:55:30 -0700
- Subject: [patch] tree-ssa-structalias.h: Remove num_references.
Hi,
Attached is a patch to remove num_references as it is unused.
Tested on x86_64-pc-linux-gnu. Committed as preapproved.
Kazu Hirata
2006-04-16 Kazu Hirata <kazu@codesourcery.com>
* tree-ssa-structalias.h (alias_info): Remove num_references.
Index: tree-ssa-structalias.h
===================================================================
--- tree-ssa-structalias.h (revision 112970)
+++ tree-ssa-structalias.h (working copy)
@@ -52,11 +52,6 @@ struct alias_info
/* Number of const/pure function calls found in the program. */
size_t num_pure_const_calls_found;
- /* Array of counters to keep track of how many times each pointer has
- been dereferenced in the program. This is used by the alias grouping
- heuristic in compute_flow_insensitive_aliasing. */
- varray_type num_references;
-
/* Total number of virtual operands that will be needed to represent
all the aliases of all the pointers found in the program. */
long total_alias_vops;