This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/85765] [8/9 Regression] Missing SFINAE in default template argument


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]