class.c (make_class_data): Check that super is compiled before building class reference to it.
* class.c (make_class_data): Check that super is compiled before building class reference to it. From-SVN: r61292
This commit is contained in:
parent
45ba15f410
commit
d9bbf3f743
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -1497,7 +1497,8 @@ make_class_data (tree type)
|
|||
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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue