This is the mail archive of the gcc-prs@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++/8778: g++ 2.95/3.0.4/3.2/3.2.1 dies during template processing


>Number:         8778
>Category:       c++
>Synopsis:       g++ 2.95/3.0.4/3.2/3.2.1 dies during template processing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 01 17:16:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     sgunderson@bigfoot.com
>Release:        gcc-2.95/gcc-3.0.4/gcc-3.2/gcc-3.2.1 (ie. multiple)
>Organization:
>Environment:
Debian GNU/Linux, sid (unstable)
>Description:
template<int n>
class mylist
{
public:
        const static int result[] = { mylist<n-1>::result };
};

This file causes g++ to segfault during compilation.
>How-To-Repeat:
g++ -c file.cpp  (file.cpp is the included file, of course)
>Fix:
Unknown.
>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]