[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:27:00 GMT 2013


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

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-22 22:26:38 UTC ---
Author: jason
Date: Fri Feb 22 22:26:20 2013
New Revision: 196233

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

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/error49.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/pt.c



More information about the Gcc-bugs mailing list