🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

g++ 1.27 gets fatal signal on sparc

#1471
From: "Douglas C. Schmidt"
Date: Mon, 03 Oct 1988 22:08
30 lines
1291 bytes
Howdy,


  The following short program kills 1.27 running on Sparc.

----------------------------------------
class String {
public:
   String(char *S) {
      ;
   }   
   friend String& operator &(String& S1,char *S2) {
      ;
   }
};

main() {
   String Foo = "A";
   String Foobar = Foo & "B";
}
----------------------------------------
g++ version 1.27.0
 echo use .cc filename extension!
use .cc filename extension!
 /usr/public/lib/g++/gcc-cpp+ -v -I/cd/ua/schmidt/include/ -undef -D__GNU__ -D__GNUG__ -Dsparc -Dsun -Dunix test.C /tmp/cca19086.cpp
GNU CPP version 1.27.0
 /usr/public/lib/g++/gcc-c++ /tmp/cca19086.cpp -quiet -dumpbase test.C -fchar-charconst -noreg -version -o /tmp/cca19086.s
GNU C++ version 1.27.0 (sparc) compiled by GNU C version 1.28.
/usr/public/g++: Program c++ got fatal signal 6.
Technical Details
Message-ID: <8810031508.aa06721@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%crimee.ics.uci.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!osu-cis!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%crimee.ics.uci.edu
From: schmidt%crimee.ics.uci.edu@ORION.CF.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.g++.bug
Subject: g++ 1.27 gets fatal signal on sparc
Message-ID: <8810031508.aa06721@PARIS.ICS.UCI.EDU>
Date: 3 Oct 88 22:08:19 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 29