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]

[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;


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