🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Bugs in GCC 2.1 (sun4/sunOS4.1.1)

#925
From: Mike Stump
Date: Wed, 09 Sep 1992 01:18
33 lines
1251 bytes
This problem should not exist in the next release of gcc.

> Date: Thu, 2 Apr 92 17:37:05 +0200
> Message-Id: <9204021537.AA00212@larsen.chorus.fr>
> From: ev@chorus.fr (Eric Valette)
> To: bug-g++@prep.ai.mit.edu

> /*
> GCC version: 2.1
> Hardware :  sun4
> OS : sunOS 4.1.1

> this program crash gcc2.1. 
> -------------------------------------------------------------------
> */


> class myClass {
>     unsigned long nbWords;
> public:
> 	myClass(unsigned long = 0);
> 	~myClass();
> };

> inline myClass::myClass(unsigned long val) {nbWords = val;}
> inline myClass::~myClass() {}

> // Ok next line is badly written but the compiler should not crash!!!
> myClass a = myClass(1);

> ---------------------------------------------------------------------
> gcc -v -c ex.cxx
> gcc: Internal compiler error: program cc1plus got fatal signal 11
Technical Details
Message-ID: <9209090118.AA24032@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!mrs

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!mrs
From: mrs@cygnus.com (Mike Stump)
Subject: Re:  Bugs in GCC 2.1 (sun4/sunOS4.1.1)
Message-ID: <9209090118.AA24032@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 9 Sep 1992 01:18:21 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 34