* call.c (add_function_candidate): Also exclude inherited ctors
commitccabf72560e94140a5a3ad75dacd27387868a735
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2016 13:58:32 +0000 (2 13:58 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2016 13:58:32 +0000 (2 13:58 +0000)
tree640a45ccc5f0c33858a9452d87285932880ae033
parentc59a180498178ffcf119b84cfb7fa420d44b1026
* call.c (add_function_candidate): Also exclude inherited ctors
that take a type reference-related to the derived class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243178 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c