[Bug c++/40405] [4.6/4.7/4.8 Regression] ICE with invalid initialization of template member

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 22 22:25:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40405

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-22 22:24:52 UTC ---
Author: jason
Date: Fri Feb 22 22:24:40 2013
New Revision: 196231

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196231
Log:
    PR c++/40405
    * pt.c (push_template_decl_real): Set DECL_INTERFACE_KNOWN
    if we got the wrong number of template parms.

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



More information about the Gcc-bugs mailing list