egcs-2.90.27 980315 (1.0.2): Int.comp.err. with Option -g

Torsten Kuepper kuepper2@uni-wuppertal.de
Mon May 11 08:40:00 GMT 1998


/*  Hello!
     This nearly empty (too empty?) source stops the compiler,
if  -g is on:
*/

class Outside
{
  public:
 class B;
 class C;
 class D;
};


class Outside::B
{
public:
    void f(Outside::D *);
};


template <class TYPE>
class Sequence
{

};


class Outside::C : public Sequence<int>
{

};


class Outside::D : public Outside::C
{

};


/*
This is a little mad, but i think it is allowed.      g++ -g  stops with
internal comp. error.

We have egcs-2.90.27 980315 (egcs-1.0.2 release)  on IRIX 6.2

... and thank you for egcs!
*/






More information about the Gcc-bugs mailing list