This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/32674] [4.1/4.2/4.3 regression] ICE in lvalue_p_1 initialising static variable inside template class



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]