🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1290

2.3.2: Internal compiler error

#1290
From: Klamer Schutte
Date: Thu, 17 Dec 1992 13:28
33 lines
1457 bytes
On the following file:

template<class T>
class C
{
public:
	~C() {}
};

test()
{
	class B : public C<int>
	{ };
}

g++ 2.3.2 crashes, with the diagnostics:

1 klamer@mi7 12:28 35> g++ -v -c qqq.cc
Reading specs from /usr/local/lib/gcc-lib/sun4/2.3.2/specs
gcc version 2.3.2
 /usr/local/lib/gcc-lib/sun4/2.3.2/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix qqq.cc /tmp/cca02264.i
GNU CPP version 2.3.2 (sparc)
 /usr/local/lib/gcc-lib/sun4/2.3.2/cc1plus /tmp/cca02264.i -quiet -dumpbase qqq.cc -version -o /tmp/cca02264.s
GNU C++ version 2.3.2 (sparc) compiled by GNU C version 2.3.2.
qqq.cc: In function `int  test ()':
qqq.cc:11: Internal compiler error.
qqq.cc:11: Please report this to `bug-g++@prep.ai.mit.edu'.

Klamer

Klamer Schutte			Tel: +31-53-892778	Fax: +31-53-340045
Faculty of electrical engineering -- University of Twente, The Netherlands
preferred: klamer@mi.el.utwente.nl     SMTP: klamer@utelmi01.el.utwente.nl
Technical Details
Message-ID: <9212171128.AA21285@mi.el.utwente.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mi.eltn.utwente.NL!klamer

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!mi.eltn.utwente.NL!klamer
From: klamer@mi.eltn.utwente.NL (Klamer Schutte)
Subject: 2.3.2: Internal compiler error
Message-ID: <9212171128.AA21285@mi.el.utwente.nl>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 17 Dec 1992 13:28:24 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 34