fix last change

From-SVN: r33274
This commit is contained in:
Jason Merrill 2000-04-20 02:50:57 -04:00
parent 6e9dcc25c1
commit 9fc51663be
1 changed files with 2 additions and 1 deletions

View File

@ -2574,7 +2574,8 @@ build_x_function_call (function, params, decl)
TYPE_BINFO (type), LOOKUP_NORMAL);
}
if (TREE_CODE (function) == OFFSET_REF)
if (TREE_CODE (function) == OFFSET_REF
&& TREE_CODE (type) != METHOD_TYPE)
function = resolve_offset_ref (function);
if ((TREE_CODE (function) == FUNCTION_DECL