* call.c (build_new_op): Remove REF_BIND from all operands.

From-SVN: r27510
This commit is contained in:
Nathan Sidwell 1999-06-14 02:44:17 +00:00 committed by Nathan Sidwell
parent ecad242567
commit 8be0a93054
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,7 @@
1999-06-14 Nathan Sidwell <nathan@acm.org>
* call.c (build_new_op): Remove REF_BIND from all operands.
1999-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
* init.c (build_new_1): Look up operator delete even if there was

View File

@ -2655,9 +2655,19 @@ build_new_op (code, flags, arg1, arg2, arg3)
conv = TREE_OPERAND (conv, 0);
arg1 = convert_like (conv, arg1);
if (arg2)
arg2 = convert_like (TREE_VEC_ELT (cand->convs, 1), arg2);
{
conv = TREE_VEC_ELT (cand->convs, 1);
if (TREE_CODE (conv) == REF_BIND)
conv = TREE_OPERAND (conv, 0);
arg2 = convert_like (conv, arg2);
}
if (arg3)
arg3 = convert_like (TREE_VEC_ELT (cand->convs, 2), arg3);
{
conv = TREE_VEC_ELT (cand->convs, 2);
if (TREE_CODE (conv) == REF_BIND)
conv = TREE_OPERAND (conv, 0);
arg3 = convert_like (conv, arg3);
}
builtin:
switch (code)