Commit 5c824000 by Jason Merrill Committed by Jason Merrill

call.c (add_candidates): Add first_arg and return_type parms.

	* call.c (add_candidates): Add first_arg and return_type parms.
	Add special constructor/conversion op handling.
	(convert_class_to_reference): Use it.
	(build_user_type_conversion_1): Likewise.
	(build_op_call): Likewise.
	(build_new_method_call): Likewise.
	(build_new_op): Adjust.
	(perform_overload_resolution): Adjust.

From-SVN: r159332
parent 1df43907
2010-05-12 Jason Merrill <jason@redhat.com>
* call.c (add_candidates): Add first_arg and return_type parms.
Add special constructor/conversion op handling.
(convert_class_to_reference): Use it.
(build_user_type_conversion_1): Likewise.
(build_op_call): Likewise.
(build_new_method_call): Likewise.
(build_new_op): Adjust.
(perform_overload_resolution): Adjust.
2010-05-11 Paolo Carlini <paolo.carlini@oracle.com> 2010-05-11 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/34272 PR c++/34272
......
2010-05-12 Jason Merrill <jason@redhat.com>
* g++.old-deja/g++.robertl/eb43.C: Prune "candidates" messages.
2010-05-12 H.J. Lu <hongjiu.lu@intel.com> 2010-05-12 H.J. Lu <hongjiu.lu@intel.com>
PR target/44088 PR target/44088
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
// The first one should still fail because it requires an implicit conversion // The first one should still fail because it requires an implicit conversion
// to pointer_to_binary_function, which has an `explicit' constructor. // to pointer_to_binary_function, which has an `explicit' constructor.
// { dg-prune-output "note" }
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
......
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