[Bug c++/82331] [7 Regression] ICE specializing template<auto> for function pointer

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 17 18:08:00 GMT 2018


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


More information about the Gcc-bugs mailing list