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++/4904: internal compiler error 19990331

[Get raw message]

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


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