re PR c++/10337 ("ambiguous overload"-error for non-ambiguous situation)
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 24 Apr 2003 16:31:31 +0000 (16:31 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 24 Apr 2003 16:31:31 +0000 (16:31 +0000)
commitf89862751006da3e7b6acebfab32c9f21d8ee41f
tree088ee373a82de7795017a0da0ea79afd28588cd0
parent26f74aa3f74d5efd8cd37bfe3700f16f400189c1
re PR c++/10337 ("ambiguous overload"-error for non-ambiguous situation)

cp:
PR c++/10337
* call.c (joust): Don't warn about conversion ops that are exact
or cv-conversions. Rearrange to avoid multiple type comparisons.
testsuite:
PR c++/10337
* g++.dg/warn/conv1.C: New test.
* g++.old-deja/g++.other/conv7.C: Adjust.
* g++.old-deja/g++.other/overload14.C: Adjust.

From-SVN: r66038
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/conv1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/conv7.C
gcc/testsuite/g++.old-deja/g++.other/overload14.C