This is the mail archive of the gcc-bugs@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]

Where is reg_n_info initialised?


reg_n_info is defined in gcc-2.95.2/gcc/flow.c, but I can't find where
it's initialised. Am I missing something?

If not, here's the patch:
diff -ru gcc-2.95.2.org/gcc/flow.c gcc-2.95.2/gcc/flow.c
--- gcc-2.95.2.org/gcc/flow.c   Wed Aug  4 09:09:48 1999
+++ gcc-2.95.2/gcc/flow.c       Sun Mar 12 16:10:04 2000
@@ -203,7 +203,7 @@
 
 /* Indexed by n, giving various register information */
 
-varray_type reg_n_info;
+varray_type reg_n_info = NULL;
 
 /* Size of the reg_n_info table.  */
 

U2, October,

							MartinS

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