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++/28235] [4.0 Regression] ICE with static const member as default parameter in template



------- Comment #10 from mmitchel at gcc dot gnu dot org  2006-07-19 05:09 -------
Subject: Bug 28235

Author: mmitchel
Date: Wed Jul 19 05:09:00 2006
New Revision: 115577

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115577
Log:
        PR c++/28235
        * pt.c (tsubst_decl): Handling substitutions into a static data
        member from within the scope of the tempalte itself.
        PR c++/28235
        * g++.dg/template/static27.C: New test.

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


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.0/4.1 Regression] ICE    |[4.0 Regression] ICE with
                   |with static const member as |static const member as
                   |default parameter in        |default parameter in
                   |template                    |template


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


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