Commit d35310e3 by Per Bothner Committed by Per Bothner

* class.c (inherits_from_p): Do load_class if needed.

From-SVN: r100860
parent 16d4ddd1
2005-06-12 Per Bothner <per@bothner.com>
* class.c (inherits_from_p): Do load_class if needed.
2005-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gjavah.c (error): Add ATTRIBUTE_PRINTF_1.
......
......@@ -549,6 +549,8 @@ inherits_from_p (tree type1, tree type2)
{
if (type1 == type2)
return 1;
if (! CLASS_LOADED_P (type1))
load_class (type1, 1);
type1 = CLASSTYPE_SUPER (type1);
}
return 0;
......
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