[Bug c++/84702] [8 Regression] internal compiler error: in tsubst_copy, at cp/pt.c:15082

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 5 18:45:00 GMT 2018


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

--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Mon Mar  5 18:44:24 2018
New Revision: 258258

URL: https://gcc.gnu.org/viewcvs?rev=258258&root=gcc&view=rev
Log:
[PR c++/84702] ICE with default tmpl arg of overload set

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00227.html
        PR c++/84702
        * pt.c (process_template_arg): Mark lookup_keep on a default arg.

        PR c++/84702
        * g++.dg/lookup/pr84702.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/lookup/pr84702.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list