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++/82331] [7 Regression] ICE specializing template<auto> for function pointer


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 17 18:07:53 2018
New Revision: 256807

URL: https://gcc.gnu.org/viewcvs?rev=256807&root=gcc&view=rev
Log:
        PR c++/82331 - ICE with variadic partial specialization of auto

        * pt.c (unify) [TEMPLATE_PARM_INDEX]: Set processing_template_decl
        around call to tsubst.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/nontype-auto13.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c

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