This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Where is reg_n_info initialised?
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Where is reg_n_info initialised?
- From: Martin Stromberg <Martin dot Stromberg at lu dot erisoft dot se>
- Date: Sun, 12 Mar 2000 16:37:04 +0100 (MET)
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