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] cse.c: Make cse_reg_info_table static.


Hi,

Attached is a patch to make cse_reg_info_table static as it is used
only in cse.c.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2005-03-06  Kazu Hirata  <kazu@cs.umass.edu>

	* cse.c (cse_reg_info_table): Make it static.

Index: cse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cse.c,v
retrieving revision 1.345
diff -u -d -p -r1.345 cse.c
--- cse.c	25 Feb 2005 03:45:37 -0000	1.345
+++ cse.c	5 Mar 2005 17:04:19 -0000
@@ -326,7 +326,7 @@ struct cse_reg_info
 };
 
 /* A table of cse_reg_info indexed by register numbers.  */
-struct cse_reg_info *cse_reg_info_table;
+static struct cse_reg_info *cse_reg_info_table;
 
 /* The size of the above table.  */
 static unsigned int cse_reg_info_table_size;


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