🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

g++-2.2.2 - internal compiler error 116 on SUN4

#1062
From: Thomas Sudbrak
Date: Wed, 14 Oct 1992 13:50
23 lines
924 bytes
// The attempt to compile the following C++-program with g++-2.2.2
// on a SUN4 (SPARCstation IPX) running SunOS 4.1.2 produces an
// internal compiler error 116:

class A {
public:
  void func1 ();
};

typedef void (A::*funcPtr) ();

void A::func1 () {
  funcPtr ptr;
  *ptr ();	// <---- here the error occurs!
}

main () {}

// Replacing the above marked line by
//
//	(*ptr) ()
//
// lets the g++ compile without errors.
Technical Details
Message-ID: <sudbrak.719070640@betty>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!betty.gmd.de!sudbrak

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!betty.gmd.de!sudbrak
From: sudbrak@betty.gmd.de (Thomas Sudbrak)
Newsgroups: gnu.g++.bug
Subject: g++-2.2.2 - internal compiler error 116 on SUN4
Message-ID: <sudbrak.719070640@betty>
Date: 14 Oct 92 13:50:40 GMT
Article-I.D.: betty.sudbrak.719070640
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GMD, Sankt Augustin, Germany
Lines: 23
Approved: bug-g++@prep.ai.mit.edu