re PR c++/8700 (unhelpful error message for binding temp to reference)
authorMark Mitchell <mark@codesourcery.com>
Tue, 11 Mar 2003 15:43:14 +0000 (15:43 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 11 Mar 2003 15:43:14 +0000 (15:43 +0000)
commit436f8a4ce077dc372f70d1b57ab693c4aa0c6c6d
tree06a7a25a0f012883df97a7adf593d48822400080
parent1be4def3c6aa88e74c2a74a445405191706e323e
re PR c++/8700 (unhelpful error message for binding temp to reference)

PR c++/8700
* call.c (convert_class_to_reference): Adjust usage of
splice_viable.
(any_viable): Remove.
(splice_viable): Combine with any_viable.
(print_z_candidates): Avoid printing duplicates.
(build_user_type_conversion_1): Adjust usage of splice_viable.
(build_new_function_call): Likewise.
(build_operator_new_call): Likewise.
(build_object_call): Likewise.
(build_conditional_expr): Likewise.
(build_new_op): Likewise.
(build_new_method_call): Likewise.
(joust): Remove spurious comment.
* cp-tree.h (DECL_FRIENDLIST): Correct documentation.
* decl2.c (arg_assoc_class): Simplify.
* friend.c (add_friend): Likewise.

From-SVN: r64173
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/friend.c