re PR c++/32674 (ICE in lvalue_p_1 initialising static variable inside template class)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 6 Sep 2007 18:38:49 +0000 (18:38 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 6 Sep 2007 18:38:49 +0000 (18:38 +0000)
commita125de0cbf0106312c61b65872eec96a9f28f5d4
tree285b9d3567dee4c834ac3ad4c250a9fe0f90759f
parent566dfd713db9d71de2e1ff4ee176df4aacda7e6f
re PR c++/32674 (ICE in lvalue_p_1 initialising static variable inside template class)

/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.

From-SVN: r128201
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/static31.C [new file with mode: 0644]