]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/17232 ([DR 1640] classes and class template specializations treated differe...
authorJason Merrill <jason@redhat.com>
Thu, 28 Mar 2013 18:21:06 +0000 (14:21 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 28 Mar 2013 18:21:06 +0000 (14:21 -0400)
commit2b24855e1efd2caad72bf7b6132a3be0981cdfe3
treeb653fabcd551139e4fa8edf62c9316f0ab483238
parentf5e44182eb3a89ef9cf0a51d2898d8f4111252d2
re PR c++/17232 ([DR 1640] classes and class template specializations treated differently w.r.t. core issue #337)

PR c++/17232
PR c++/52748
* typeck2.c (abstract_virtuals_error_sfinae): Don't complete
the type if tf_decltype is set.
* pt.c (fn_type_unification): Add decltype_p parm.
(get_bindings): Adjust.
* cp-tree.h: Adjust.
* class.c (resolve_address_of_overloaded_function): Adjust.
* call.c (add_template_candidate_real, print_z_candidate): Adjust.

From-SVN: r197214
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/decltype-call2.C [new file with mode: 0644]