c++/5702: 3.0.3 and 3.1 20020209 (experimental) segfaulting

Reichelt reichelt@igpm.rwth-aachen.de
Fri Feb 15 15:06:00 GMT 2002


Hi,

the problem also appears with the following code snippet
which was derived from test.ii:

-----------------snip here---------------------
template <class T> class foo
{
    class bar {};
};

template <class T> class quus
{
    typedef typename foo<T>::bar X;
    X::Y;
};
-----------------snip here---------------------

The error message is:

bug.cc:9: internal error: Segmentation fault
Please submit a full bug report, [etc.]

(I used gcc 3.1 20020211 on a mips-sgi-irix6.5 box.)

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5702




More information about the Gcc-bugs mailing list