Commit 346c5b01 by Tom Tromey Committed by Tom Tromey

re PR java/15710 (ICE: tree check: expected class 'E', have 'c' (integer_cst) in make_class_data)

	PR java/15710:
	* class.c (add_miranda_methods): Load superinterface if not
	already loaded.

From-SVN: r88243
parent c3b8e9aa
2004-09-28 Tom Tromey <tromey@redhat.com>
PR java/15710:
* class.c (add_miranda_methods): Load superinterface if not
already loaded.
2004-09-28 Andrew Haley <aph@redhat.com>
PR java/17586
......
......@@ -2124,6 +2124,8 @@ add_miranda_methods (tree base_class, tree search_class)
tree elt = BINFO_TYPE (base_binfo);
/* Ensure that interface methods are seen in declared order. */
if (!CLASS_LOADED_P (elt))
load_class (elt, 1);
layout_class_methods (elt);
/* All base classes will have been laid out at this point, so the order
......
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