building class reference to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61292
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-01-14 Tom Tromey <tromey@redhat.com>
+
+ * class.c (make_class_data): Check that super is compiled before
+ building class reference to it.
+
2003-01-14 Andrew Haley <aph@redhat.com>
* decl.c (java_init_decl_processing): _Jv_NewMultiArray is a
super = CLASSTYPE_SUPER (type);
if (super == NULL_TREE)
super = null_pointer_node;
- else if (assume_compiled (IDENTIFIER_POINTER (DECL_NAME (type_decl))))
+ else if (assume_compiled (IDENTIFIER_POINTER (DECL_NAME (type_decl)))
+ && assume_compiled (IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (super)))))
super = build_class_ref (super);
else
{