[gnu.g++.bug] g++ 1.32 gets fatal signal on sparc

schmidt%crimee.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt") (01/14/89)

Hi,

   The following program kills g++ 1.32 on the sun4:

----------------------------------------
enum open_mode { input=0, output=1, append=2 };

class intList {
   private:

      friend void append(intList& a, intList& b);

   public:
      void append(intList& a, intList& b);

};
          
main() {
   append(0,0);
}
----------------------------------------

Here's the diagnostic:

----------------------------------------
g++ version 1.32.0
 /usr/public/lib/g++/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -Dsparc
-Dsun -Dunix foo.c /tmp/cca02551.cpp
GNU CPP version 1.32
 /usr/public/lib/g++/gcc-c++ /tmp/cca02551.cpp -quiet -dumpbase foo.c
-version -o /tmp/cca02551.s
GNU C++ version 1.32.0 (sparc) compiled by GNU C version 1.32.
/usr/public/g++: Program c++ got fatal signal 10.
----------------------------------------

Doug