[Bug c++/32674] [4.1/4.2/4.3 regression] ICE in lvalue_p_1 initialising static variable inside template class
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 6 19:19:00 GMT 2007
------- Comment #4 from paolo at gcc dot gnu dot org 2007-09-06 19:19 -------
Subject: Bug 32674
Author: paolo
Date: Thu Sep 6 19:19:15 2007
New Revision: 128205
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128205
Log:
/cp
2007-09-06 Paolo Carlini <pcarlini@suse.de>
PR c++/32674
* decl.c (cp_finish_decl): When processing_template_decl,
deal correctly with init as TREE_LIST.
/testsuite
2007-09-06 Paolo Carlini <pcarlini@suse.de>
PR c++/32674
* g++.dg/template/static31.C: New.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/static31.C
Modified:
branches/gcc-4_2-branch/gcc/cp/ChangeLog
branches/gcc-4_2-branch/gcc/cp/decl.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32674
More information about the Gcc-bugs
mailing list