https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85765
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Jun 4 13:22:52 2018 New Revision: 261146 URL: https://gcc.gnu.org/viewcvs?rev=261146&root=gcc&view=rev Log: PR c++/85765 - SFINAE and non-type default template arg. * pt.c (type_unification_real): Do full semantic processing if substituting a partial args list replaces all template parms. Added: trunk/gcc/testsuite/g++.dg/cpp0x/fntmpdefarg10.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c