This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28235] [4.0 Regression] ICE with static const member as default parameter in template
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2006 05:09:31 -0000
- Subject: [Bug c++/28235] [4.0 Regression] ICE with static const member as default parameter in template
- References: <bug-28235-8311@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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