Commit c347e68d by Richard Henderson Committed by Richard Henderson

* class.c (build_class_ref): Set DECL_EXTERNAL before make_decl_rtl.

From-SVN: r45500
parent 6f36d76a
2001-09-10 Richard Henderson <rth@redhat.com>
* class.c (build_class_ref): Set DECL_EXTERNAL before make_decl_rtl.
2001-09-07 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* typeck.c (java_array_type_length, build_prim_array_type):
......
......@@ -1026,13 +1026,13 @@ build_class_ref (type)
TREE_PUBLIC (decl) = 1;
DECL_IGNORED_P (decl) = 1;
DECL_ARTIFICIAL (decl) = 1;
if (is_compiled == 1)
DECL_EXTERNAL (decl) = 1;
SET_DECL_ASSEMBLER_NAME (decl,
java_mangle_class_field
(&temporary_obstack, type));
make_decl_rtl (decl, NULL);
pushdecl_top_level (decl);
if (is_compiled == 1)
DECL_EXTERNAL (decl) = 1;
}
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment