* class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
authorRichard Henderson <rth@redhat.com>
Fri, 21 Dec 2001 19:26:08 +0000 (11:26 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 21 Dec 2001 19:26:08 +0000 (11:26 -0800)
From-SVN: r48251

gcc/java/ChangeLog
gcc/java/class.c

index 09507d24f2cf1573ba447628b4cb6002e5efb940..7f3e20be9c56bfb94e27ba0e405fff4fe2c3f5ba 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-21  Richard Henderson  <rth@redhat.com>
+
+       * class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
+
 2001-12-20  Tom Tromey  <tromey@redhat.com>
 
        For PR java/4509:
index 3e56959715f376bcace7a4706cb9e298500d7c28..e64e1936a72d52a5a7b52d2f083d7aab8f1e82f9 100644 (file)
@@ -1089,6 +1089,7 @@ build_class_ref (type)
              decl = build_decl (VAR_DECL, decl_name, class_type_node);
              TREE_STATIC (decl) = 1;
              TREE_PUBLIC (decl) = 1;
+             DECL_EXTERNAL (decl) = 1;
              make_decl_rtl (decl, NULL);
              pushdecl_top_level (decl);
              if (is_compiled == 1)