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]

c++/5759: internal compiler error with const static template class attributes



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


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