call.c (convert_like_real): Give "initializing argument of" information for ambiguous...
commit0842c29f7b4560244ff3038f90896c745a0bb77d
authorJason Merrill <jason@redhat.com>
Tue, 15 Jun 2010 20:10:42 +0000 (15 16:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 15 Jun 2010 20:10:42 +0000 (15 16:10 -0400)
tree5e557130f1af4b6b8661ce657b7dc3339ed7a7f3
parente14eaea4d4c3ce010cb58b428681e7d6723021a2
call.c (convert_like_real): Give "initializing argument of" information for ambiguous conversion.

* call.c (convert_like_real): Give "initializing argument of"
information for ambiguous conversion.  Give source position
of function.

From-SVN: r160809
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/initlist15.C
gcc/testsuite/g++.dg/cpp0x/initlist19.C
gcc/testsuite/g++.dg/expr/cond8.C
gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C
libstdc++-v3/testsuite/ext/ext_pointer/1_neg.cc