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++/80356] [7 Regression] ICE in convert_nontype_argument, at cp/pt.c:6827


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Apr  9 05:38:40 2017
New Revision: 246794

URL: https://gcc.gnu.org/viewcvs?rev=246794&root=gcc&view=rev
Log:
        PR c++/80356 - ICE with reference to function template argument.

        PR c++/79294
        * pt.c (convert_nontype_argument_function): Adjust type even with a
        value-dependent argument.

Added:
    trunk/gcc/testsuite/g++.dg/template/fn-ref1.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]