/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 14:43:03 +0000 (14:43 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 14:43:03 +0000 (14:43 +0000)
commit71c209820f6749e12b27155ac827adf9944d3941
tree966c87c3a0905c1a73be4ebf2261795115117c51
parente46924ca3e93aa6ecfff11a86f3cb546ffe018bf
/cp
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38174
* call.c (add_builtin_candidate): If two pointers have a composite
pointer type, generate a single candidate with that type.

/testsuite
2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/38174
* g++.dg/overload/operator4.C: New.

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