home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / bug / 2104 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.6 KB  |  54 lines

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!eng.buffalo.edu!stein-c
  3. From: stein-c@eng.buffalo.edu (Craig Steinberger)
  4. Subject: Possible GCC-2.3.3 bug for SGI IRIS
  5. Message-ID: <9212300819.AA06396@cfd15.eng.buffalo.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Wed, 30 Dec 1992 08:19:01 GMT
  10. Approved: bug-g++@prep.ai.mit.edu
  11. Lines: 41
  12.  
  13. I am trying to use gcc v.2.3.3 on an SGI Iris running IRIX
  14. 4.0.5, and the 3.10 SGI compiler suite. GCC compiled with no problems,
  15. when set up with configure --target iris4d. The problem comes when I try
  16. to compile the libg++-2.3 library. 
  17.  
  18. There is a point in the compilation where the program utils/gen-params
  19. generates a dummy C++ program to test the compiler. For reference, here
  20. is the file dummy.C:
  21.  
  22.   struct filebuf {
  23.       virtual int foo();
  24.   };
  25.   filebuf ff;
  26.   extern "C" int FUNC(int);
  27.   int FUNC(int i) { return i+10; }
  28.  
  29. When the script tries to compile this (or when it is done manually via
  30. g++ dummy.C), the following results:
  31.  
  32. % gcc dummy.C
  33. gcc: Internal compiler error: program cc1plus got fatal signal 11
  34.  
  35. and cc1plus dumps core.
  36.  
  37. Some poking around with a debugger indicates this is a segmentation
  38. fault. The traceback looks like:
  39.  
  40.  0 init_lex() ["cp-lex.c":756, 0x43b16c]
  41.  1 compile_file(name = 0x7fffc840 = "") ["toplev.c":1535, 0x46cae8]
  42.  2 main(argc = 7, argv = 0x7fffc744, envp = 0x65) ["toplev.c":3285, 0x46fcec]
  43.  
  44. In the file cp-lex.c, I think the error corresponds to the line:
  45.  
  46. UNSET_RESERVED_WORD ("exception");
  47.  
  48. At this point I am clueless. Any help, suggestions, or corrections 
  49. would be welcome.
  50.  
  51. Craig Steinberger
  52. stein-c@eng.buffalo.edu
  53.  
  54.