OSDN Git Service

cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Apr 2003 16:31:31 +0000 (16:31 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Apr 2003 16:31:31 +0000 (16:31 +0000)
commit72ea5dfc190eaf7ea3b04424feb7dbd4a6746fab
tree088ee373a82de7795017a0da0ea79afd28588cd0
parent5e69cae432c7787c9fc61e8b4ac3a04ddbc2b9b9
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66038 138bc75d-0d04-0410-961f-82ee72b054a4
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