Commit 8be0a930 by Nathan Sidwell Committed by Nathan Sidwell

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

From-SVN: r27510
parent ecad2425
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> 1999-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
* init.c (build_new_1): Look up operator delete even if there was * 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) ...@@ -2655,9 +2655,19 @@ build_new_op (code, flags, arg1, arg2, arg3)
conv = TREE_OPERAND (conv, 0); conv = TREE_OPERAND (conv, 0);
arg1 = convert_like (conv, arg1); arg1 = convert_like (conv, arg1);
if (arg2) 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) 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: builtin:
switch (code) switch (code)
......
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