decl.c (init_decl_processing): Call init_class_processing before anything else.
authorAnthony Green <green@redhat.com>
Mon, 16 Oct 2000 22:45:07 +0000 (22:45 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Mon, 16 Oct 2000 22:45:07 +0000 (23:45 +0100)
* decl.c (init_decl_processing): Call init_class_processing before
anything else.

From-SVN: r36892

gcc/java/ChangeLog
gcc/java/decl.c

index 4d332410ca3816164c6a59a8478c88e755bb03d8..62f03cdd85be0e2799c479a6d3040559957c3b40 100644 (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.
index 7d5c165f5e2d865e1d24edbd953747611c2a0518..5ae29856026b5fb91623d9699dc367f23a54adbc 100644 (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.  */