summaryrefslogtreecommitdiffstats
path: root/gcc/java
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-21 19:26:08 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-21 19:26:08 +0000
commit27a043a84e44e591ceaa4c547c510ec3bd938d7e (patch)
treedca3225af226b2a6cf06e8c9a6bbea9b95f191a8 /gcc/java
parentbca2d9f753036424abf330f8837f2e0c8f56d87b (diff)
downloadppe42-gcc-27a043a84e44e591ceaa4c547c510ec3bd938d7e.tar.gz
ppe42-gcc-27a043a84e44e591ceaa4c547c510ec3bd938d7e.zip
* class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48251 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/class.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 09507d24f2c..7f3e20be9c5 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -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:
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 3e56959715f..e64e1936a72 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -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)
OpenPOWER on IntegriCloud