[Bug c++/29733] [4.1/4.2/4.3 regression] ICE on initialization of function type
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 4 18:08:00 GMT 2006
------- Comment #3 from mmitchel at gcc dot gnu dot org 2006-12-04 18:08 -------
Subject: Bug 29733
Author: mmitchel
Date: Mon Dec 4 18:08:11 2006
New Revision: 119500
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119500
Log:
PR c++/29733
* pt.c (tsubst_decl): Disallow variables of function type.
PR c++/29733
* g++.dg/template/crash61.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/crash61.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29733
More information about the Gcc-bugs
mailing list