[Bug c++/67142] [6 Regression] [C++1z] ICE: tree check: expected template_decl, have field_decl in equal, at cp/pt.c:1665

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 8 22:01:00 GMT 2015


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



More information about the Gcc-bugs mailing list