[Bug c++/85864] [8/9 Regression] template argument string literal operator with default argument doesnt work in templates

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 24 14:29:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85864

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu May 24 14:29:05 2018
New Revision: 260674

URL: https://gcc.gnu.org/viewcvs?rev=260674&root=gcc&view=rev
Log:
        PR c++/85864 - literal template and default template arg.

        * pt.c (instantiation_dependent_r): Handle NONTYPE_ARGUMENT_PACK.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1y/udlit-char-template2.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list