egcs-19980914: internal compiler error

John Polstra jdp@polstra.com
Thu Sep 24 17:05:00 GMT 1998


/*
Bug in egcs-19980914 (egcs-2.92.07).  The parameter in the definition
of the destructor (which is not legal) causes the compiler to blow
chunks:

	bug02.cc: In method `C::~C()':
	bug02.cc:22: Internal compiler error.
	bug02.cc:22: Please submit a full bug report to `egcs-bugs@cygnus.com'.
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth
*/

class C {
public:
    ~C();
};

C::~C(int bogus)
{
}



More information about the Gcc-bugs mailing list