[patch] tree-ssa-structalias.h: Remove num_references.

Kazu Hirata kazu@codesourcery.com
Sun Apr 16 00:55:00 GMT 2006


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;

More information about the Gcc-patches mailing list