Commit 9fc51663 by Jason Merrill

fix last change

From-SVN: r33274
parent 6e9dcc25
......@@ -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
......
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