c++/5759: internal compiler error with const static template class attributes
gunnar@haquebright.de
gunnar@haquebright.de
Sat Feb 23 11:10:00 GMT 2002
>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:
More information about the Gcc-bugs
mailing list