* call.c (build_new_op): Remove REF_BIND from all operands.
From-SVN: r27510
This commit is contained in:
parent
ecad242567
commit
8be0a93054
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue