c++/4904: internal compiler error 19990331
theverylittleone@hotmail.com
theverylittleone@hotmail.com
Wed Nov 7 21:03:00 GMT 2001
>Number: 4904
>Category: c++
>Synopsis: internal compiler error 19990331
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Nov 19 12:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Dan Marinescu
>Release: 2.95.3-6
>Organization:
>Environment:
irrelevant
>Description:
template <class T>
struct A
{
template <class U>
struct B
{
A<T>::template B<int> foo(void);
};
};
template <class T> template <class U>
A<T>::template B<int> A<T>::B<U>::foo(void)
{
return A<T>::template B<int>();
}
int main()
{
A<int>::template B<char> b;
b.foo();
}
This reports "Internal compiler error 19990331"
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list