call.c (build_method_call): Make sure get_type_value returns something before we...
authorJason Merrill <jason@gcc.gnu.org>
Thu, 28 May 1998 00:11:24 +0000 (20:11 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 May 1998 00:11:24 +0000 (20:11 -0400)
commit8c90d6111171ea07b4cbc39789f898f4e304a69f
treeae8d630c5718531e7dff11707940dcb1487e4b65
parentca379c1cd345853542f0198a1518348af403b1b2
call.c (build_method_call): Make sure get_type_value returns something before we try to use its...

* call.c (build_method_call): Make sure get_type_value returns
something before we try to use its TYPE_MAIN_VARIANT.
* typeck2.c (digest_init): Complain about getting a TREE_LIST to
initialize an array.
* search.c (expand_upcast_fixups): Don't set DECL_CONTEXT and
DECL_VIRTUAL_P.

From-SVN: r20110
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/search.c
gcc/cp/typeck2.c