home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / bug / 2272 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.0 KB  |  42 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!elelab.nsc.co.JP!tatsumi
  3. From: tatsumi@elelab.nsc.co.JP (Tetsu Tatsumi)
  4. Subject: g++ Internal compile error
  5. Message-ID: <tatsumi.flora100251@elelab.nsc.co.jp>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Computer Systems Lab., Electronics Research Labs., Nippon Steel
  8. Distribution: gnu
  9. Date: Mon, 7 Sep 1992 08:47:56 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 29
  12.  
  13.   g++ 2.2.2 on SunOS 4.1.2 sais
  14.  
  15.     /usrx/bin/gcc: Internal compiler error: program cc1plus got fatal signal 6
  16.  
  17. for the file following (g++ -c file.c).
  18. --------------------------------------------------------------------------
  19. class A {
  20.     int    i;    // not necessary
  21.   public:
  22.     static A    a1;
  23.     A();
  24. };
  25.  
  26. class    B {
  27.     A    a2;
  28.   public:
  29.     B();
  30. };
  31.  
  32. B::B()
  33. {
  34.     a2 = A::a1;
  35. }
  36. --------------------------------------------------------------------------
  37.  
  38.      /*------------------------------*--------------------------------/
  39.     /   tatsumi@elelab.nsc.co.jp    /    Nippon Steel Corporation    /
  40.    /-------------------------------*-------------------------------*/
  41.  
  42.