home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / bug / 2180 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.6 KB  |  37 lines

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!efd.lth.se!f88ho
  3. From: f88ho@efd.lth.se (Hans Olsson)
  4. Subject: program cc1plus got fatal signal 11
  5. Message-ID: <m0nAPAJ-000ZAIC@jupiter-5.efd.lth.se>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 8 Jan 1993 19:14:00 GMT
  10. Approved: bug-g++@prep.ai.mit.edu
  11. Lines: 23
  12.  
  13. This little program:
  14.  
  15. int main() {
  16.   return operator+(4,5);
  17. }
  18.  
  19. crashes the compiler:
  20.  /tmp @jupiter-5 gcc -v test.cc
  21. Reading specs from /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/specs
  22. gcc version 2.3.1
  23.  /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__ANSI_COMPAT -DMIPSEL -DR3000 -DSYSTYPE_BSD -D_SYSTYPE_BSD -Dbsd4_2 -Dhost_mips -Dmips -Dultrix -Dunix -D__ANSI_COMPAT -D__MIPSEL__ -D__R3000__ -D__SYSTYPE_BSD__ -D___SYSTYPE_BSD__ -D__bsd4_2__ -D__host_mips__ -D__mips__ -D__ultrix__ -D__unix__ -D__ANSI_COMPAT -D__MIPSEL -D__R3000 -D__SYSTYPE_BSD -D___SYSTYPE_BSD -D__bsd4_2 -D__host_mips -D__mips -D__ultrix -D__unix -D__LANGUAGE_C_PLUS_PLUS__
  24.  -D__LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C__ -D__LANGUAGE_C -DLANGUAGE_C test.cc /usr/tmp/cca00537.i
  25. GNU CPP version 2.3.1 [AL 1.1, MM 28] DECstation running ultrix
  26.  /usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.3.1/cc1plus /usr/tmp/cca00537.i -quiet -dumpbase test.cc -version -o /usr/tmp/cca00537.s
  27. GNU C++ version 2.3.1 [AL 1.1, MM 28] DECstation running ultrix compiled by GNU C version 2.3.1.
  28. test.cc: In function `int  main ()':
  29. test.cc:2: operator + not defined
  30. gcc: Internal compiler error: program cc1plus got fatal signal 11
  31.  
  32.  
  33. -- 
  34. ----------
  35. Hans Olsson   Email: f88ho@efd.lth.se   
  36.  
  37.