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++/67142] [6 Regression] [C++1z] ICE: tree check: expected template_decl, have field_decl in equal, at cp/pt.c:1665


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Aug  8 22:01:21 2015
New Revision: 226737

URL: https://gcc.gnu.org/viewcvs?rev=226737&root=gcc&view=rev
Log:
        PR c++/67142
        * pt.c (equal): Make sure tmpl is actually a template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/regress2.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]