decl.c (init_decl_processing): Call init_class_processing before anything else.

* decl.c (init_decl_processing): Call init_class_processing before
	anything else.

From-SVN: r36892
This commit is contained in:
Anthony Green
2000-10-16 22:45:07 +00:00
committed by Bryce McKinlay
parent a5ad11e16e
commit 8e7ab3ff22
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2000-10-15 Anthony Green <green@redhat.com>
* decl.c (init_decl_processing): Call init_class_processing before
anything else.
2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Make-lang.in (parse.c, parse-scan.c): Create atomically.

View File

@@ -429,6 +429,8 @@ init_decl_processing ()
tree field = NULL_TREE;
tree t;
init_class_processing ();
current_function_decl = NULL;
current_binding_level = NULL_BINDING_LEVEL;
free_binding_level = NULL_BINDING_LEVEL;
@@ -903,7 +905,6 @@ init_decl_processing ()
build_function_type (long_type_node, t),
0, NOT_BUILT_IN, NULL_PTR);
init_class_processing ();
init_jcf_parse ();
/* Register nodes with the garbage collector. */