c++/3391

Reichelt reichelt@igpm.rwth-aachen.de
Thu Sep 20 08:09:00 GMT 2001


Hi,

I was able to generate a smaller testcase that exhibits the problem
using gcc version 3.0.2 20010917 (prerelease) on mips-sgi-irix6.5
(with gcc 3.0 on i686-pc-linux-gnu there are no problems, however):

template < template <typename T> class A >
class B : virtual A<void>
{
    typedef int INT;
    INT i;
};

Just compile with "g++ -c" to see the compiler crash. :-(

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3391&database=gcc




More information about the Gcc-bugs mailing list