call.c (call_copy_ctor): New.
authorJason Merrill <jason@redhat.com>
Wed, 8 Oct 2014 14:15:06 +0000 (10:15 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 8 Oct 2014 14:15:06 +0000 (10:15 -0400)
commit9efe5fbde1e89eab9d4f55838c8a641060b97abb
treebb8de79e5cf30cc8a35f32d7f3c8fd2456c4c076
parent19d4baed5721eb7c95e56c2bec68ae7db6308f9e
call.c (call_copy_ctor): New.

* call.c (call_copy_ctor): New.
(build_over_call): Use it to avoid infinite recursion on invalid code.

From-SVN: r216005
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/overload/ellipsis3.C [new file with mode: 0644]