Internal compiler error 388 (C++)

Matthias Urlichs smurf@noris.de
Fri May 15 14:35:00 GMT 1998


The following test case causes an internal error 388.

#################
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.28/specs
gcc version egcs-2.91.28 19980508 (gcc2 ss-980502 experimental)
#################
gcc -c /tmp/qsp.cpp
#################
class One
{
public:
    virtual int x();
};

template<class FOO>
class Two : public One
{
public:
    virtual int x();
};

template <class FOO>
class Three : public Two<FOO> {
public:
    void fubar(void) { x(); }
};
#################
-- 
Matthias Urlichs
noris network GmbH



More information about the Gcc-bugs mailing list