Fix handling of non-dependent calls with default template args.
authorJason Merrill <jason@redhat.com>
Thu, 19 May 2016 19:20:40 +0000 (15:20 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 May 2016 19:20:40 +0000 (15:20 -0400)
commita7dd5069bb45d94331655a246897fbaeef21ef38
treecc1bd2fb652d644342657a188193b023036e9d6c
parent5e9a538594761b93843b4285c06bcd871fa0335f
Fix handling of non-dependent calls with default template args.

PR c++/10200
* pt.c (fn_type_unification): Add outer template args if needed.
(type_unification_real): Handle getting full args.

From-SVN: r236486
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg6.C [new file with mode: 0644]