PR c++/32019
commit15608833c968ed21eea73c208c2ee7d62d08d693
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 May 2014 18:15:57 +0000 (9 18:15 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 May 2014 18:15:57 +0000 (9 18:15 +0000)
treeab9c517435ddf2b9110bfd116ed64822ab96ee2e
parent70d9340ba82077f55eac2f36e46630f575498ff8
PR c++/32019
* call.c (build_conditional_expr_1): Improve ambiguity diagnostic.

PR c++/54348
* call.c (build_conditional_expr_1): If overload resolution finds
no match, just say "different types".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210282 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/explicit3.C
gcc/testsuite/g++.dg/expr/cond10.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/cond11.C [new file with mode: 0644]
gcc/testsuite/g++.dg/expr/cond13.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/crash41.C