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]

Bad destructor results in Internal error in snapshot 19980803


The following piece of code was accepted by egcs-1.0.2 though it has an
error in the destructor. The lastest ecgs-snapshot 19980803 (on Alpha)
detects the error but reports an internal error and urges me to send
this to the mailing-list.


class A {
    int Dummy;
public:
    A (int pDummy);
    ~A (void);
};

A::A (int pDummy)
{
    Dummy = pDummy;
};

A::~A (int pDummy)
{
};



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