call.c (print_error_for_call_failure): Say "no match" rather than "ambiguous" if...
commitc29f393f8326d3e4ec0a7841e8f3c45137f62795
authorJason Merrill <jason@redhat.com>
Tue, 13 May 2014 21:10:03 +0000 (13 17:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 May 2014 21:10:03 +0000 (13 17:10 -0400)
treed616f4cbd879ba88abedb9a0ac923c1b479c2946
parentbd5c3baaa9066243a3eb2e584534277878657b20
call.c (print_error_for_call_failure): Say "no match" rather than "ambiguous" if there were no strict matches.

* call.c (print_error_for_call_failure): Say "no match" rather
than "ambiguous" if there were no strict matches.
(build_new_method_call_1): Likewise.

From-SVN: r210402
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/rv2n.C
gcc/testsuite/g++.dg/cpp0x/rv3n.C