OSDN Git Service

Fix PR c++/42766
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 2010 19:11:24 +0000 (19:11 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 2010 19:11:24 +0000 (19:11 +0000)
commitc1ca2f12d48e17441544cf8eaa442e4bd55119c0
tree5679c87e4eb28cec5f1c93cb970dddeb574c4df9
parente4f9d5d8b0c294d45b3a880de69e5b085443f448
Fix PR c++/42766

gcc/cp/ChangeLog:
PR c++/42766
* cvt.c (build_expr_type_conversion): Look through OVERLOAD.

gcc/testsuite/ChangeLog:
PR c++/42766
* g++.dg/conversion/op6.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156020 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/op6.C [new file with mode: 0644]