This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/5759: internal compiler error with const static template class attributes
- From: gunnar at haquebright dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 23 Feb 2002 15:48:52 -0000
- Subject: c++/5759: internal compiler error with const static template class attributes
- Reply-to: gunnar at haquebright dot de
>Number: 5759
>Category: c++
>Synopsis: internal compiler error with const static template class attributes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 23 07:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Gunnar Kedenburg
>Release: gcc version 3.0.4, gcc version 2.95.4 20011002 (Debian prerelease)
>Organization:
>Environment:
Linux 2.4.16
>Description:
internal compiler error when parsing:
template<class T> struct foo
{ const static char bar[] = { -1 }; };
commandline:
g++ test.cc
>How-To-Repeat:
compile the code above
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: